实验拓扑如下:
R1:interface Serial1/1
ip address 12.1.1.1 255.255.255.0
router eigrp 1
network 12.1.1.0 0.0.0.255
no auto-summary
R2:interface Serial1/0
ip address 12.1.1.2 255.255.255.0 secondary
ip address 123.1.1.1 255.255.255.0
router eigrp 1
network 12.1.1.0 0.0.0.255
network 123.1.1.0 0.0.0.255
no auto-summary
R1的邻居关系:
R1#sh ip ei nei
IP-EIGRP neighbors for process 1
R2的邻居关系:
R2#sh ip ei nei
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 12.1.1.1 Se1/0 11 00:00:35 1 5000 2 0
即R1看不到R2,R2可以看到R1。
结论:在EIGRP中,接口使用第二地址,会形成单边邻居关系。
注意:R1的S1/0接口的第二地址需要是与R1的IP在同一网段的IP。
转载于:https://blog.51cto.com/starmagic/383677