Gentoo 固定ip連上網路 - Linux
By Necoo
at 2010-04-01T12:53
at 2010-04-01T12:53
Table of Contents
Gentoo 的網路設定教學中
使用net-setup eth0 這指令有時候會不成功
照它的手動安裝方式安裝也會失敗:
ifconfig eth0 ${IP} broadcast ${BROADCAST} netmask ${NETMASK}
route add default gw ${GATEWAY}
會顯示network unreachable
但在gateway內的網路ip又連得到
只有通過gateway連外的不行
解決辦法是:
route add ${GATEWAY} eth0
route add default gw ${GATEWAY}
這樣就會成功了!
--
使用net-setup eth0 這指令有時候會不成功
照它的手動安裝方式安裝也會失敗:
ifconfig eth0 ${IP} broadcast ${BROADCAST} netmask ${NETMASK}
route add default gw ${GATEWAY}
會顯示network unreachable
但在gateway內的網路ip又連得到
只有通過gateway連外的不行
解決辦法是:
route add ${GATEWAY} eth0
route add default gw ${GATEWAY}
這樣就會成功了!
--
Tags:
Linux
All Comments
By Robert
at 2010-04-04T11:56
at 2010-04-04T11:56
By Catherine
at 2010-04-09T06:28
at 2010-04-09T06:28
By Enid
at 2010-04-13T07:54
at 2010-04-13T07:54
By Jacob
at 2010-04-17T12:54
at 2010-04-17T12:54
By Andrew
at 2010-04-19T15:59
at 2010-04-19T15:59
Related Posts
有人試過 wayland 嗎?
By Ula
at 2010-04-01T05:18
at 2010-04-01T05:18
執行網頁出現 Warning: You are not root
By Catherine
at 2010-03-31T22:27
at 2010-03-31T22:27
Mandriva安裝檔的問題
By Quintina
at 2010-03-31T21:30
at 2010-03-31T21:30
安裝ChromePlus要怎麼裝?
By Leila
at 2010-03-31T18:47
at 2010-03-31T18:47
VMware的share folder功能
By Una
at 2010-03-31T18:30
at 2010-03-31T18:30