Michael Chao 撰寫於文章 <4iFsOCSY3IANrVwx+JCVCsR1M8Yu@4ax.com>...
>On Fri, 31 Dec 1999 13:09:38 +1100, "網中人"
><netman2000@crosswinds.net> wrote:
>
>>您可以用手工設定﹕
>>
>>ifconfig eth0 <ip_for_eht0> netmask <mask_for_eth0>
>>ifconfig eth1 <ip_for_eht1> netmask <mask_for_eth1>
>>
>>route add -net <net_id_for_eth0> gw <gw_for_eth0> netmask <mask_for_eth0>
>>dev eth0
>>route add -net <net_id_for_eth1> gw <gw_for_eth1> netmask <mask_for_eth1>
>>dev eth1
>
>我可以手動把兩塊網路卡設定成功
>但是在route的地方
>如果加入gw選項
>就會出現unreachable的錯誤

gw 和 interface 一定要在同一個 subnet 之內﹗


>如果沒有加入gw選項就可以設定
>不過就只能ping到網卡本身
>而無法ping到其他的ip address
>可是我確定網路線是好的
>網路通訊也都正常...

把您的 eth0、eth1 、 和各自的 gw 的 IP 和 mask 列出來看看﹖