为了防止环路,BIP引入了水平分割机制,即从一个接口收到得路由更新,不会在从这个接口发出去,水平分割默认开启
首先配置R1
system view
[Huawei]sysname R1
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 12.0.0.1 30
[R1-GigabitEthernet0/0/0]un sh
[R1-GigabitEthernet0/0/0]ip loo 0
[R1-LoopBack0]ip add 1.1.1.1 24
[R1]rip 1
[R1-rip-1]version 1
[R1-rip-1]network 12.0.0.0
[R1-rip-1]network 1.0.0.0
配置路由器R2
system view
[Huawei]sysname R2
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 12.0.0.2 30
[R1-GigabitEthernet0/0/0]un sh
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 23.0.0.1 30
[R1-GigabitEthernet0/0/0]ip loo 0
[R1-LoopBack0]ip add 2.2.2.2 24
[R1-rip-1]network 2.0.0.0
[R1-rip-1]network 12.0.0.0
[R1-rip-1]network 23.0.0.0
配置路由器R3
system view
[Huawei]sysname R3
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 23.0.0.2 30
[R1-GigabitEthernet0/0/0]ip loo 0
[R1-LoopBack0]ip add 3.3.3.3 24
[R1-rip-1]version 2
[R1-rip-1]network 23.0.0.0
[R1-rip-1]network 3.0.0.0
查看路由表
命令dis ip rou b
在R1到R2的G0口抓包
在抓一下R2到R3的G口,没有学到R1 R2的地址
解决学习R3学不到地址
本次实验结束感谢观看