ubuntu 9.04 bridge的設定 - Linux

By Sandy
at 2009-05-19T17:34
at 2009-05-19T17:34
Table of Contents
由於軟體的需要 我需要將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的方法
但為什麼我設定了之後重開機會無法上網
請大家幫忙看一下 謝謝囉
--
參考的設定如此網頁: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的方法
但為什麼我設定了之後重開機會無法上網
請大家幫忙看一下 謝謝囉
--
Tags:
Linux
All Comments

By Lauren
at 2009-05-21T16:46
at 2009-05-21T16:46
Related Posts
ubuntu9.04多重開機問題

By Dinah
at 2009-05-19T13:50
at 2009-05-19T13:50
man不到c的函式?

By Mason
at 2009-05-19T12:12
at 2009-05-19T12:12
如何在終端機看自己ip

By Eden
at 2009-05-19T09:26
at 2009-05-19T09:26
ubuntu 硬碟的掛載 & fstab

By Sarah
at 2009-05-19T06:24
at 2009-05-19T06:24
ubuntu 硬碟的掛載 & fstab

By Charlie
at 2009-05-19T03:42
at 2009-05-19T03:42