网卡已经装上去了,并且都已经激活,Ip,mask,gateway都分别设置好了,
网卡1:IP-133.42.9.79
255.255.255.128
133.42.9.1
网卡2:IP-133.42.5.99
255.255.255.0
133.42.5.1
现在我想要通过网卡1访问一下IP:133.42.7.×
要通过网卡2访问以下IP:133.42.39.×
133.42.40.×
133.42.41.×
该如何设置啊,是不是要设置路由啊,
急啊,拜托了,各位大哥。
route add -net 133.42.7.0 netmask 255.255.255.0 gw 133.42.9.1
route add -net 133.42.39.0 netmask 255.255.255.0 gw 133.42.5.1
route add -net 133.42.40.0 netmask 255.255.255.0 gw 133.42.5.1
route add -net 133.42.42.0 netmask 255.255.255.0 gw 133.42.5.1