實驗要求:
R1連接配接主機端口配置被動端口,抑制Hello封包
R1R2單點傳播建鄰居 R2R3多點傳播建鄰居
實驗目的:了解EIGRP協定的基本配置
PC配置
ip 192.168.1.1 24 192.168.1.1254
R1配置
hostname R1
interface Loopback0
ip address 1.1.1.1 255.255.255.255
interface Ethernet0/0
ip address 12.0.0.1 255.255.255.252
no shut
interface Ethernet0/1
ip address 192.168.1.254 255.255.255.0
no shut
router eigrp 100
network 1.1.1.1 0.0.0.0
network 12.0.0.1 0.0.0.0
//精确宣告
network 192.168.1.0
//宣告網段
neighbor 12.0.0.2 Ethernet0/0
//單點傳播建鄰居
passive-interface Ethernet0/1
//配置被動端口
eigrp router-id 1.1.1.1
R2配置
hostname R2
interface Loopback0
ip address 2.2.2.2 255.255.255.255
interface Ethernet0/0
ip address 12.0.0.2 255.255.255.252
no shut
interface Ethernet0/1
ip address 23.0.0.2 255.255.255.0
no shut
router eigrp 100
network 2.2.2.2 0.0.0.0
network 12.0.0.2 0.0.0.0
network 23.0.0.2 0.0.0.0
//與R3多點傳播建立鄰居
neighbor 12.0.0.1 Ethernet0/0
eigrp router-id 2.2.2.2
R3配置
hostname R3
interface Loopback0
ip address 3.3.3.3 255.255.255.255
interface Ethernet0/0
ip address 23.0.0.3 255.255.255.0
no shut
router eigrp 100
network 3.3.3.3 0.0.0.0
network 23.0.0.3 0.0.0.0
eigrp router-id 3.3.3.3
配置完成後在各路由器上檢查
R1 上show ip protocols
看到eigrp 協定相關資訊,注意被動端口的資訊
在R2上檢視eigrp鄰居、拓撲、路由資訊
全網PING測試正常互通,配置正确。