R1:
int Loopback0
ip address 1.1.1.1 255.255.255.0
no shut
int G0/0
ip address 12.1.1.1 255.255.255.0
no shut
int G0/1
ip address 13.1.1.1 255.255.255.0
no shut
router eigrp 90
network 12.1.1.0 0.0.0.255
network 1.1.1.0 0.0.0.255
network 13.1.1.0 0.0.0.255
R2:
int Loopback0
ip address 2.2.2.2 255.255.255.0
no shut
int G0/0
ip address 12.1.1.2 255.255.255.0
no shut
router eigrp 90
network 12.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
R3:
int Loopback0
ip address 3.3.3.3 255.255.255.0
no shut
int G0/0
ip address 13.1.1.3 255.255.255.0
no shut
router eigrp 90
network 13.1.1.0 0.0.0.255
network 3.3.3.0 0.0.0.255
实验结果:
R1#sh ip route
Codes: L - local, C - connected, D - EIGRP, EX - EIGRP external,
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/24 is directly connected, Loopback0
L 1.1.1.1/32 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0/24 [90/130816] via 12.1.1.2, 00:05:47, GigabitEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0/24 [90/2560128256] via 13.1.1.3, 00:05:47, GigabitEthernet0/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, GigabitEthernet0/0
L 12.1.1.1/32 is directly connected, GigabitEthernet0/0
13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 13.1.1.0/24 is directly connected, GigabitEthernet0/1
L 13.1.1.1/32 is directly connected, GigabitEthernet0/1