|

楼主 |
发表于 2007-4-23 16:02:09
|
显示全部楼层
Post by springwind426
route add -net 192.168.2.0 netmask 255.255.255.0 gw 172.24.16.1 metric 10 dev 网卡接口名称
route add default gw 172.24.16.1 metric 20 dev 网卡接口名称
其中的 网卡接口名称分别是你需要添加路由的网络接口名 比如eth0,eth1等。
按照你的要求,应该填写两个不同的名称。
谢谢 但是现在有个问题我两个网卡现在不能同时有效,我用的自动获取IP的方式可是始终有张网卡分不到IP,单独的时候又是正常的。怎样才能让两张网卡同时有效。
PS:我系统是Ubuntu. |
|