用!
关闭了水平分割
<R1>debugging rip 1 packet
*Dec 2 16:26:49:844 2010 R1 RM/6/RMDEBUG: RIP 1 : Receive response from 192.168.1.2
on Serial0/2/0
*Dec 2 16:26:49:844 2010 R1 RM/6/RMDEBUG: Packet : vers 1, cmd response, length 84
*Dec 2 16:26:49:844 2010 R1 RM/6/RMDEBUG: AFI 2, dest 2.0.0.0, cost 1
*Dec 2 16:26:49:844 2010 R1 RM/6/RMDEBUG: AFI 2, dest 3.0.0.0, cost 1
*Dec 2 16:26:49:844 2010 R1 RM/6/RMDEBUG: AFI 2, dest 4.0.0.0, cost 2
*Dec 2 16:26:49:844 2010 R1 RM/6/RMDEBUG: AFI 2, dest 192.168.2.0, cost 1
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: RIP 1 : Sending response on interface
Serial0/2/0 from 192.168.1.1 to 255.255.255.255
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: Packet : vers 1, cmd response, length 124
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: AFI 2, dest 1.0.0.0, cost 1
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: AFI 2, dest 2.0.0.0, cost 2
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: AFI 2, dest 3.0.0.0, cost 2
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: AFI 2, dest 4.0.0.0, cost 3
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: AFI 2, dest 192.168.1.0, cost 1
*Dec 2 16:26:56:125 2010 R1 RM/6/RMDEBUG: AFI 2, dest 192.168.2.0, cost 2
*Dec 2 16:27:11:437 2010 R1 RM/6/RMDEBUG: RIP 1 : Receive response from 192.168.1.2
on Serial0/2/0
*Dec 2 16:27:11:437 2010 R1 RM/6/RMDEBUG: Packet : vers 1, cmd response, length 84
*Dec 2 16:27:11:437 2010 R1 RM/6/RMDEBUG: AFI 2, dest 2.0.0.0, cost 1
*Dec 2 16:27:11:437 2010 R1 RM/6/RMDEBUG: AFI 2, dest 3.0.0.0, cost 1
*Dec 2 16:27:11:437 2010 R1 RM/6/RMDEBUG: AFI 2, dest 4.0.0.0, cost 2
*Dec 2 16:27:11:437 2010 R1 RM/6/RMDEBUG: AFI 2, dest 192.168.2.0, cost 1
从上面我们可以看出,在关闭水平分割后 RIP 包会想自己发送自己宣告的网络,从而产生
了路由环路。
三.毒化逆转
在接口下面开启毒化逆转功能
[R1]int s0/2/0
[R1-Serial0/2/0]rip poison-reverse
<R1>debugging rip 1 packet
*Dec 2 16:31:15:937 2010 R1 RM/6/RMDEBUG: RIP 1 : Sending response on interface
Serial0/2/0 from 192.168.1.1 to 255.255.255.255
*Dec 2 16:31:15:937 2010 R1 RM/6/RMDEBUG: Packet : vers 1, cmd response, length 104
*Dec 2 16:31:15:937 2010 R1 RM/6/RMDEBUG: AFI 2, dest 1.0.0.0, cost 1
*Dec 2 16:31:15:937 2010 R1 RM/6/RMDEBUG: AFI 2, dest 192.168.2.0, cost 16