|
|
一台服务器上 配置了双网卡
eth0 网卡 连接内网
eth1 连接 外网
路由如下
[root@Svr log]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
172.17.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.254 0.0.0.0 UG 0 0 0 eth0 |
|