• ベストアンサー
※ ChatGPTを利用し、要約された質問です(原文:Fedoraでvlanを設定するには)

Fedoraでvlanを設定するには

このQ&Aのポイント
  • Fedoraでvlanを設定する方法についてご質問いただきました。
  • vconfigコマンドを使用してvlanを設定しようとした際にエラーが発生しているようです。
  • 設定方法についてアドバイスをお願いしたいとのことです。

質問者が選んだベストアンサー

  • ベストアンサー
  • f_attck
  • ベストアンサー率33% (40/118)
回答No.1

手元にLinuxが無いんで、昔の記憶を頼りに書くと まず、カーネルは802.1Qに対応した設定になっていますか? なっていたとすれば・・・・ ・eth0をupのままvconfigしていませんよね? ・warningが出た後にifconfig -aをするとどうなっていますか? ・/procに当該ファイルをtachしても現象かわりませんか?

全文を見る
すると、全ての回答が全文表示されます。

関連するQ&A

  • NICのIRQの設定に関して

    Windows98とLinuxMLDをディアルで使用しております。 PCI接続のネットワークカードを使用しておりますが、ネットワークに接続できません。 ifconfig -a ならeth0は確認できますが、ifconfigだけではloしか表示されません。 proc/ioportsには「eth0」は表示されております。 proc/interruptsには「eth0」は表示されておりません。 恐らくIRQが競合しているようなのですが、 とりあえずNICの差込口を変えてみましたが同じ状況です。 プラグ&プレイはonのままなのですが、これをoffにするとその後どういう設定がいるのでしょうか? また別の方法で改善する方法ないでしょうか?

  • fedora7

    fedora7にVM-Workstation5.5をインストールしましたが、vmware-config.plの設定が失敗します。 どなたか知っていたら教えてください。 カーネルバージョン(2.6.22.1-41.fc7) 以下の設定&Installをしました。 /lib/modules/2.6.22.1-41.fc7/build/include yum install kernel-devel yum install gcc-c++ yum install libstdc++ yum install libstdc++-devel vmware-any-any-update109 以下はエラー表示です。 make[1]: ディレクトリ `/usr/src/kernels/2.6.22.1-41.fc7-i686' に入ります CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config3/vmmon-only/common/hash.o CC [M] /tmp/vmware-config3/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config3/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config3/vmmon-only/common/task.o cc1plus: 警告: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ cc1plus: 警告: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++ cc1plus: 警告: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ cc1plus: 警告: command line option "-ffreestanding" is valid for C/ObjC but not for C++ include/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’: include/asm/page.h:112: error: expected primary-expression before ‘)’ token include/asm/page.h:112: error: expected ‘;’ before ‘{’ token include/asm/page.h:112: error: expected primary-expression before ‘.’ token include/asm/page.h:112: error: expected `;' before ‘}’ token make[2]: *** [/tmp/vmware-config3/vmmon-only/common/task.o] エラー 1 make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] エラー 2 make[1]: ディレクトリ `/usr/src/kernels/2.6.22.1-41.fc7-i686' から出ます make: *** [vmmon.ko] エラー 2 make: ディレクトリ `/tmp/vmware-config3/vmmon-only' から出ます Unable to build the vmmon module. よろしくお願いします。

  • Fedora Core6でネットワークにつながらない

    インストールを行った際、ネットワーク設定が無いままインストールが終了してしまいました。 その後、ifconfigを行ってみるとeth0がなく、内外からアクセスすることができません。 vi /etc/sysconfig/network-scripts/ifcfg-eth0 を編集しようとすると、新規ファイル作成になってしまったので、とりあえず DEVICE=eth0 BROADCAST=192.168.1.255 IPADDR=192.168.1.8 NETMASK=255.255.255.0 NETWORK=192.168.1.0 ONBOOT=yes TYPE=Ethernet GATEWAY=192.168.1.1 を記述して保存しました。 /etc/sysconfig/networkの内容は NETWORKING=yes HOSTNAME=dqpo-s.ddo.jp /etc/resolv.confの内容は(コレも新規ファイルでした) nameserver=192.168.1.1 としています。 これらを保存した後にNetworkを再起動させたのですが、以下のエラーが発生し、ifconfigを行ってもeth0を認識しませんでした。 [root@localhost ~]# service network restart Shutting down loopback interface: [OK] Bringing up loopback interface: [OK] Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization. [FAILD] と、eth0が起動できませんでした。 ルータへのping結果です。 [root@dqpo-s ~]# ping 192.168.1.1 connect: Network is unreachable また、system-config-networkを行ってみましたが、どうやらeth0自体は認識しているようです(選択肢に有ります。) その内容も確認しましたが、 DHCP [ ] Static IP 192.168.1.8 Netmask 255.255.255.0 Default gateway IP 192.168.1.1 と、問題ないようです。 解決策をご教授いただければ幸いです。 他に必要な情報が有れば、提示いたしますので、補足などで要求してください。 よろしくお願いします。

  • aptがどうしてもインストールできないです

    皆さんこんにちわ。 本日は、「apt-get」に関して分からない事がありまして、 アドバイスをいただきたく 質問させていただきました。 とあるインストール作業の途中でエラーがでて、 エラー文に表示されていた不足分のツールを、 「apt-get」でダウンロードしようとしました。 すると、 「-bash: apt-get: command not found」と表示されました。 「apt」が入っていないのだと判断し、 googleなどで調べ、 次のようにaptのインストールを試みました。 # yum install apt Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * updates: www.ftp.ne.jp * addons: www.ftp.ne.jp * extras: www.ftp.ne.jp Setting up Install Process Parsing package install arguments No package apt available. Nothing to do しかし、うまく行かないようです。 次にaptの配布サイト(http://ayo.freshrpms.net/)から、 rpmを拾ってきてインストールしようとしたら、 次のように警告は出つつもインストールに成功しますが、 「apt-get」を使おうとするとえらーになってしまいます。 どうしていいかわからないでいます。 「yum install apt」でうまくいかない理由も、 rpmのインストール後に成功しない理由も実は分からないでいます。 周囲にLinuxできる人がいなく、 質問できる人もいなく、 どんな小さなものでも アドバイスなどいただけるようでしたら、とてもありがたいです。 どうぞ宜しくお願い致します。 # rpm -ivh apt-0.5.5cnc6-fr1.src.rpm 1:apt warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root97%) warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root ########################################### [100%] warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root warning: user dude does not exist - using root warning: group dude does not exist - using root # apt-get update -bash: apt-get: command not found

  • MovableTypeがセットアップできません

    かなり緊急です! Movabletype4をインストール後、 こんなメッセージが出てきてしまいました。 Got an error: Missing configuration file. Maybe you forgot to move mt-config.cgi-original to mt-config.cgi? cgiやデータベースには全くの初心者なので、 どうしたらよいのかさっぱりわかりません。。。。 どなたか解決方法をご教授いただけますでしょうか?? 宜しくお願いします!

  • MediaWikiでWikiを構築したいのですが、@PAGESで使えませんか。インストールやFTPの時の設定方法を教えてください。

    MediaWikiでWikiを構築したいのですが、@PAGESでは条件を満たしていると思われますが、 うまく設定のインストーラーが働きません。インストールやFTPの時の設定方法を教えてください。 そもそも、@PAGESでMediaWikiでWikiを構築可能でしょうか。不可能でしたら、無料のレンタルサーバーを 教えてください。基本的に、PHPとDB(MySQL)が必要というのは分かっております(条件は満たしていると思うのですが。) DBの設定は完了していますので、インストーラーが働けば、インストールの途中でDBの情報を入力していくというのは分かります。 FTPで、フォルダWikiを作成して全部mediawikiを入れました。セットアップを開始すると、 MediaWiki 1.15.1 Installation In order to configure the wiki you have to make the config subdirectory writable by the web server. Once configuration is done you'll move the created LocalSettings.php to the parent directory, and for added safety you can then remove the config subdirectory entirely. To make the directory writable on a Unix/Linux system: cd /path/to/wiki chmod a+w config 上記のようになってしまいます。おそらくFTPでPHPの入れ方が悪いのかもしれませんが、 FTPでmediawikiに必要なPHPのインストール方法と、設定などを教えてください。 FTPソフトはFFFTPを使用しております。アップ前に設定や気をつけることを教えてください。

    • 締切済み
    • CSS
  • fedora スクリーンセーバーが起動しない

    fedora core1を、WINDOWS XPと共存させています。 VAIO LX56/BP 問題はたくさんあるのですが,まず1つだけ質問させてください. ##スクリーンセーバーが起動できない. 個人設定からスクリーンセーバーを選択すると,まず以下のような警告が出ます. Warning: The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now? これでOKをクリックすると The xscreensaver daemon did not start up properly.You are running as root. This usually means that xscreensaver was unable to contact your X server because access control is turned on. Try running this command: xhost +localhost and then selecting `File / Restart Daemon'. Note that turning off access control will allow anyone logged on to this machine to access your screen, which might be considered a security problem. Please read the xscreensaver manual and FAQ for more information. You shouldn't run X as root. Instead, you should log in as a normal user, and `su' as necessary. というメッセージがでて,スクリーンセーバーのサンプル画面のところに, no preview available と表示されます. 何がいけないのかよくわかりません.. とりあえず,言われた通り下のようにコマンドすると, [root@localhost root]# xhost +localhost localhost being added to access control list と出て来ます.このさきどうすればいいのでしょうか.. linux初心者です.

  • 翻訳お願いします 英→日

    Once you have all the info added hit save, and then go back to the proxy toggle on the popup window to select the proxy to use. Lastly hit open/close again and hit save. Now you are using the applied proxy.

  • postgresql-7.3.11のconfigre時のエラー

    postgresql-7.3.11を以下の手順で作業実施後ですがエラーが帰ってきますので教えて欲しいのですが。 #tar xfz postgresql-7.3.11.tar.gz #./configure --enable-multibyte=EUC_JP --enabl エラーは以下の通りです。 configure: WARNING: *** Without Bison you will not be able to build PostgreSQL from CVS or *** change any of the parser definition files. You can obtain Bison from *** a GNU mirror site. (If you are using the official distribution of *** PostgreSQL then you do not need to worry about this because the Bison *** output is pre-generated.) To use a different yacc program (possible, *** but not recommended), set the environment variable YACC before running configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. VineLinux3.1です。 宜しくお願いします

  • どうやらフォワーディングされているようです

    お世話になっております LINUXで環境を構築していまして、困ったことがあります。 クライアントからのssh通信をLINUXサーバの2つのinterfaceへと行いたいです。 ロケーションを以下に示します「↓(矢印表記はLANケーブル)」 ------------- |クライアント | ------------- ↓(seg3) ------------- (seg2) |L3スイッチ |→→→→→↓ ------------- ↓ ↓ (seg1)        ↓ ------------- ↓ |サーバ    |←←←←←← ------------- L3SWからのseg1,seg2は各々サーバのeth1,eth2へ接続されています。 要件としましては、クライアントからseg1経由のssh接続、 seg2経由のssh接続を実現したいです。 通信自体はクライアントからサーバのポート(eth1,eth2)へ通信はできたみたいですけど tcpdumpで確認したところ、戻りのルートがサーバでフォワーディングしているようです。 つまり、以下のようになります。 クライアント→サーバeth1→サーバeth2→クライアント クライアント→サーバeth2→サーバeth1→クライアント 条件としては、戻りの通信経路を各々同一にしたいのですが、どのような設定すればよろしいでしょうか 例:つまり、以下のような通信を行いたいです。 クライアント→サーバeth1→サーバeth1→クライアント クライアント→サーバeth2→サーバeth2→クライアント ◆環境 OS:Red Hat Enterprise Linux ver5 ・eth1,eth2にGWを設定  GWはL3SWの接続先ポートを指定する ・L3は各ポートでVLANを切り、VLAN同士でルーティングさせている ・ping クライアント→L3SW(seg2port) OK クライアント→L3SW(seg1port) OK クライアント→サーバ(seg2port) OK クライアント→サーバ(seg1port) OK ・フォワードの設定 /proc/sys/net/ipv4/ip_forward 0 おわかりの方がいらっしゃいましたら、お手数ですがご教授願います。