问:大家给我出招看这个静态路由怎么配置啊?

由 txkss 在 07-31-2004 14:44 发表:

问:大家给我出招看这个静态路由怎么配置啊?

前题:三台主机分别位于三个不同的网段上

其中一台计算机上安装了两个网卡分别位于这三个网段上

要求:实现这三台计算机之间自由通信访问

客户机A: 192.168.11.1 255.255.255.0 MS_2000_OS

客户机B: 192.168.111.1 255.255.255.0 RedHat linux AS3

路由机 :

eth0 Link encap:Ethernet HWaddr 00:0C:29:9A:71:F5

inet addr:192.168.11.2 Bcast:192.168.11.255 Mask:255.255.255.0

eth1 Link encap:Ethernet HWaddr 00:0C:29:9A:71:FF

inet addr:192.168.111.2 Bcast:192.168.111.255 Mask:255.255.255.0

eth2 Link encap:Ethernet HWaddr 00:0C:29:9A:71:09

inet addr:192.168.100.2 Bcast:192.168.100.255 Mask:255.255.255.0


由 txkss 在 07-31-2004 15:04 发表:

默认的路由表

[root@localhost root]# route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.100.0 * 255.255.255.0 U 0 0 0 eth2

192.168.111.0 * 255.255.255.0 U 0 0 0 eth1

192.168.11.0 * 255.255.255.0 U 0 0 0 eth0

169.254.0.0 * 255.255.0.0 U 0 0 0 eth2

127.0.0.0 * 255.0.0.0 U 0 0 0 lo


由 txkss 在 07-31-2004 15:19 发表

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus