拓扑图
R1:
int s0/0
ip add 12.1.1.1 255.255.255.0
no shut
router eigrp 100
no auto-summary
network 12.1.1.1 0.0.0.0
R2:
int s0/0
ip add 12.1.1.2 255.255.255.0
no shut
int lo0
ip add 2.2.2.2 255.255.255.0
router eigrp 100
no auto-summary
network 12.1.1.2 0.0.0.0
network 2.2.2.2 0.0.0.0
R1的s0/0设置为被动接口后邻居down掉
即使用neighbor指定邻居也不行,这一点和rip不同,而且语法也不同
EIGRP:neighbor 12.1.1.1 s0/0
RIP:neighbor 12.1.1.1
只要不指定passive-interface,两边可以用单播
Network通告的目的:1发送hello 2通告网络
EIGRP 的passive-interface主要用在连接LAN(为了不想这个口发送组播hello包,以免占用不必要的带宽),不能用在两个需要建立邻居的路由器之间,否则将导致无法建立邻居,
不再向Lo0发送hello
EIGRP一边单播(通过neighbor指定)一边组播无法建立邻居关系,RIP可以
转载于:https://blog.51cto.com/heisebeileimao/659258