Linux BRIDGED 模式下的Determining IP information for eth0...failed

xunmingxxx發表於2012-11-06

如果安裝的時候選擇了預設的網路配置,那麼eth0應該是DHCP分配地址,建議不用管它,進入系統後手動配置: <wbr><wbr>

取地址失敗,你應該配置的是自動獲得地址,如果沒有DHCP伺服器為你分配地址,自然就會失敗。自己手工配置一下地址就可以了,執行命令: ifconfig eth0 你的IP地址
敲命令設定IP地址時出現:
>>ifconfig eth0 <wbr>172.16.5.143 netmask 255.255.255.0 >>/etc/init.d/nfs restart <wbr>
Shutting down interface eth0: <wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>[ <wbr>OK <wbr>]
Shutting down loopback interface: <wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>[ <wbr>OK <wbr>]
Bringing up loopback interface: <wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>[ <wbr>OK <wbr>]
Bringing up interface eth0: <wbr>
Determining IP information for eth0... failed. <wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>[FAILED]
半天找不出問題。只好直接修改配置檔案: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none <wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>//原來為 hdcp
HWADDR=00:0c:29:2b:c7:e5
BROADCAST=172.16.5.255
IPADDR=172.16.5.142
NETMASK=255.255.255.0
NETWORK=172.16.5.0
TYPE=Ethernet
儲存後
>>service network restart

這樣就可以手工配置BRIDGED模式下的IP了。

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24829399/viewspace-1059721/,如需轉載,請註明出處,否則將追究法律責任。

相關文章