现在的一台机器有3个网络接口
eth0 以太网接口
eth1 以太网接口
eth2 光纤接口
现在想设置et.h2为默认网关的出口.
eth0的设置里面.没有设置网关,eth2里.面设置了。.
但是用 route 查看路.由表如下:虚拟主机
[.root@scm1 ~]# route.
Kernel IP rou.ting table 杀毒
Destination . Gateway Genmask Flags Metric Re.f .Use Iface 建材
132.194.64.0 * 255.255.255.0 U 0 0 . . . 0 eth0 美容
132.194.6.4.0. * . 255.255.255.0 U 0 0 0 eth2电影
192.168.200.0 * 255.2.55.255.0 U 0 . .0 0 eth1虚拟主机
169.254.0.0 .* . . 255.255.0.0 U 0 0 0 eth2 外汇
default . 132.194.64..71 0.0.0..0 UG 0 0 0 eth0.
默认还是采用e.th0为网络网关的接口地址 女人
现在使用 route add defa.ult gw 132.194.64.71. eth2 新加一个接口地址.
现在情况如下:
K.ernel IP routing table服务器
Destination Gateway Genmask . Flags Met.ri.c Ref Use Iface.
132.1.94.64.0 * 255.255.255.0 U . 0 0 0 e.th0 杀毒
132.194.64.0 * 255...255.255.0 U 0 0. 0 eth2虚拟主机
192.168.20.0.0 * 255.255.255..0 . U 0 0 0 eth1.
169.254.0.0 * . 255.255.0.0 U 0 . . 0 0 eth2.
default . 132.1.94.64.71 0.0.0.0 UG . 0 0 0 eth2[成人用品]
default . 132.194.64.71 0.0..0.0 U.G 0 0 0 eth0[成人用品]
我想知道这样设置是否正确,两个接口.的想法能否成立。(广告)
在其中一个eth0 或e..th2 出错的情况下,系统能否正常运行。<性病>
现在我的环境不允许我测试。