从网络10.0.0/23我制作了10个子网。但是,当我尝试向RIP添加任何网络地址时,它总是添加10.0.0.0。
路由器配置:
Router(config-router)#router rip
Router(config-router)#version 2
Router(config-router)#network 10.10.1.0
Router(config-router)#network 10.10.1.216
Router(config-router)#network 10.10.1.208
Router(config-router)#no auto-summary
Router(config-router)#exit配置后的Ip路由表:
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.10.1.0/25 is directly connected, FastEthernet0/0
C 10.10.1.208/30 is directly connected, Serial2/0
C 10.10.1.216/30 is directly connected, FastEthernet1/0拓扑结构:

发布于 2020-05-05 20:33:54
RIP总是将典型的主网络添加到路由表中。所以如果你要:
Router(config-router)#network 192.168.25.64它最终将出现在路由表中,如下所示:
192.168.25.0/24 is variably subnetted, x subnets, x masks所以,按计划工作。请记住,您只需要将这个经典的主要网络放在RIP配置中。并确保no auto-summary在那里,以便它注册子网。
https://networkengineering.stackexchange.com/questions/67715
复制相似问题