- 积分
- 484
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2011-3-21
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
|
如拓扑所示:
RTA-------RTB
RTA:的Fa0/0以太网接口:192.168.20.33/27 还有2个接口地址:192.168.20.129/27 和 192.168.20.65/27
RTB:的Fa0/0以太网口:192.168.20.34/29 以及2个接口地址:192.168.20.49/29 和 192.168.20.41/29
RTA和RTB都运行RIPv1协议:
router rip
network 192.168.20.0
按照RIP的原理,RTA的路由表中应该没有标识为R的RIP路由条目的,而RTB路由表中有该网络的全部路由条目。但是我分别用
Cisco Packet Tracer和GNS3做了一遍,发现Cisco Packet Tracer中RTA是没有标识为R的RIP路由条目的,RTB路由表中有该网络的全部路由条目。但是同一个实验在GNS3中,RTA跟RTB都有R类的路由,而且RTA的R类路由是32位的,这是为什么?
附:
GNS3中RTA和RTB的路由表(RTA和RTB直连的2个网络我都用环回口表示了):
RTA#show ip route
192.168.20.0/24 is variably subnetted, 5 subnets, 2 masks
C 192.168.20.64/27 is directly connected, Loopback1
R 192.168.20.48/32 [120/1] via 192.168.20.34, 00:00:07, FastEthernet0/0
R 192.168.20.40/32 [120/1] via 192.168.20.34, 00:00:07, FastEthernet0/0
C 192.168.20.32/27 is directly connected, FastEthernet0/0
C 192.168.20.128/27 is directly connected, Loopback0
RTB#show ip route
192.168.20.0/29 is subnetted, 5 subnets
R 192.168.20.64 [120/1] via 192.168.20.33, 00:00:21, FastEthernet0/0
C 192.168.20.48 is directly connected, Loopback0
C 192.168.20.40 is directly connected, Loopback1
C 192.168.20.32 is directly connected, FastEthernet0/0
R 192.168.20.128 [120/1] via 192.168.20.33, 00:00:21, FastEthernet0/0
|
|