由 wallace888 在 08-08-2003 11:34 发表:
linux路由的问题!
目标:实现单位两个网段:192.168.1.0/24和192.168.2.0/24两个网段互相访问。安装一台双网卡的机器
将eth0的地址设置为192.160.1.33,eth1的地址设置为192.168.2.33
#ifconfig eth0 192.168.1.33 broadcast 192.168.1.255 netmask 255.255.255.0
#ifconfig eth0 192.168.2.33 broadcast 192.168.1.255 netmask 255.255.255.0
#route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
返回
SIOCADDRT: File exists
出错不知为什么!请高手指教!!!不知道错在哪里,请高手说得详细些.
由 nobody_am 在 08-13-2003 04:19 发表:
顶一下.
解放思想,实事求是!!
由 jacky9906014 在 08-13-2003 22:26 发表:
怎么是一块网卡呀
我怎么发现你两块网卡都是eth0呀!注:下面括号
将eth0的地址设置为192.160.1.33,eth1的地址设置为192.168.2.33
#ifconfig (eth0) 192.168.1.33 broadcast 192.168.1.255 netmask 255.255.255.0
#ifconfig (eth0)192.168.2.33 broadcast 192.168.1.255 netmask 255.255.255.0
由 oyzjin 在 08-15-2003 21:53 发表:
<