我闲着没事坐了个实验:R1配置如下:R1(config-if)#do show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 192.168.12.1 YES manual up up
Serial0/1 unassigned YES unset administratively down down
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
Loopback0 1.1.1.1 YES manual up up
Loopback1 2.2.2.2 YES manual up up
R1(config-if)#do show run | sec router
router eigrp 100
network 192.168.12.1 0.0.0.0
R1(config-if)#
R2配置如下:
R2(config-if)#do show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 192.168.23.2 YES manual up up
Serial0/1 192.168.12.2 YES manual up up
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
Loopback0 unassigned YES unset up up
R2(config-if)#do show run | sec router
router eigrp 100
network 192.168.12.2 0.0.0.0
network 192.168.23.2 0.0.0.0
R2(config-if)#
R3配置如下:
R3(config-if)#do show ip int bri
Interface IP-Address OK? Method Status Protocol
Serial0/0 unassigned YES unset administratively down down
Serial0/1 192.168.23.3 YES manual up up
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
Loopback0 3.3.3.3 YES manual up up
R3(config-if)#do show run | sec router
router eigrp 100
network 3.3.3.3 0.0.0.0
network 192.168.23.3 0.0.0.0
R3(config-if)#