重新分配OSPF直连networking的RIP

我正在学习RIP和OSPF之间的重新分配。 我正在使用包示踪器。 我有一个configuration了RIP v2路由器BRANCH。 在fa0 / 0上有networking172.16.56.0/25 ,在fa0 / 1上有networking172.16.54.0/23 。 BRANCH通过串行链路连接到HM路由器(networking172.16.56.128/30 )。 HM路由器必须照顾重新分配。 ON HM,通过fa0 / 1直接相连,在OSPF区域内有一个networking( 172.16.53.0/25 ),但BRANCH通过RIP了解该networking。 我怎样才能避免这一点? 我认为这可能与汇总有关,因为在HM上我有另一个连接到Fa0 / 0的networking( 192.168.8.192/28 ),通过OSPF学习。 我已经在两台路由器上发布了“无自动总结”,但是我仍然有这个问题。 任何人都可以帮助我? 谢谢

这里BRANCH路由表

  172.16.0.0/16 is variably subnetted, 8 subnets, 5 masks R 172.16.48.1/32 [120/14] via 172.16.56.129, 00:00:08, Serial0/0/1 R 172.16.52.0/24 [120/14] via 172.16.56.129, 00:00:08, Serial0/0/1 R 172.16.53.0/25 [120/1] via 172.16.56.129, 00:00:08, Serial0/0/1 //PROBLEM R 172.16.53.128/30 [120/14] via 172.16.56.129, 00:00:08, Serial0/0/1 R 172.16.53.132/30 [120/1] via 172.16.56.129, 00:00:08, Serial0/0/1 C 172.16.54.0/23 is directly connected, FastEthernet0/0 C 172.16.56.0/25 is directly connected, FastEthernet0/1 C 172.16.56.128/30 is directly connected, Serial0/0/1 192.168.8.0/24 is variably subnetted, 2 subnets, 2 masks R 192.168.8.0/24 is possibly down, routing via 172.16.56.129, Serial0/0/1 R 192.168.8.192/28 [120/14] via 172.16.56.129, 00:00:08, Serial0/0/1 R* 0.0.0.0/0 [120/14] via 172.16.56.129, 00:00:08, Serial0/0/1 

度量值为14的路由是重新分配的路由。 HM:

  172.16.0.0/16 is variably subnetted, 8 subnets, 5 masks O 172.16.48.1/32 [110/129] via 172.16.53.133, 01:25:54, Serial0/0/0 O 172.16.52.0/24 [110/129] via 172.16.53.133, 01:25:54, Serial0/0/0 C 172.16.53.0/25 is directly connected, FastEthernet0/1 O 172.16.53.128/30 [110/128] via 172.16.53.133, 01:26:04, Serial0/0/0 C 172.16.53.132/30 is directly connected, Serial0/0/0 R 172.16.54.0/23 [120/1] via 172.16.56.130, 00:00:09, Serial0/0/1 R 172.16.56.0/25 [120/1] via 172.16.56.130, 00:00:09, Serial0/0/1 C 172.16.56.128/30 is directly connected, Serial0/0/1 192.168.8.0/28 is subnetted, 1 subnets C 192.168.8.192 is directly connected, FastEthernet0/0 O*E2 0.0.0.0/0 [110/1] via 172.16.53.133, 01:25:54, Serial0/0/0 

拓扑
先谢谢你!

您必须使用分发列表来执行此操作。 在路由器BRANCH上,执行以下操作:

首先,创build访问列表

 access-list 101 permit <Network You permit here> access-list 101 deny 172.16.53.0 0.0.0.128 

然后configurationRIP分发列表

 router rip distribute-list 101 in Serial0/0/1