paul-wang 撰寫於文章 <84f3f9$l4o$1@news.seed.net.tw>...
>請教各位高手,我在Slackware4.0安裝2片網路卡,
>Boot 時已可抓到,但是我要如何分別給這2片網路卡,
>設定IP,因為執行netconfig時,無法指定 eth0 or eth1.
>
您可以用手工設定﹕
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