[問題] ubuntu 9.04 bridge的設定

看板Linux作者 (henry)時間16年前 (2009/05/19 17:34), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/2 (看更多)
由於軟體的需要 我需要將ubuntu的primary interface改為bridge 參考的設定如此網頁:https://help.ubuntu.com/community/Eucalyptus%2Bbridge 我原本的interfaces內容如下 ---------------------- auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp ---------------------- 參照以上網頁改為 設定2 ------------------------ auto lo iface lo inet loopback auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off ------------------------ 此時如果重新啟動network 網路可以通 但是重開機以後 瀏覽器便找不到網頁 用sudo apt-get也連不到 似乎是連接不到DNS ping DNS 會說destination unreachable 但假如修改為以下 設定3 ------------------------- auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off -------------------------- 則重開機以後依然可以上網 但是無法由別的主機 ping到這台機器了 非常詭異 我想問的是 設定2跟設定3的差別是什麼? 既然網頁上教使用設定2的方法 但為什麼我設定了之後重開機會無法上網 請大家幫忙看一下 謝謝囉 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.175.115

05/19 19:05, , 1F
我覺得你設成2的時候應該把ifconfig的br0值show一下
05/19 19:05, 1F

05/19 19:05, , 2F
還有你的routing table
05/19 19:05, 2F
文章代碼(AID): #1A4dqWRj (Linux)
文章代碼(AID): #1A4dqWRj (Linux)