0
点赞
收藏
分享

微信扫一扫

eigrp重分布实验


eigrp重分布实验_路由交换实验

要求:

1、配置R1、R2为边界路由,其中R1/R3/R2跑在eigrp 100中,R1/R2/R4跑在eigrp 10中

2、在R1、R2上进行重分布,使得R3可以访问R4

 

步骤:

1、配置各个路由器的端口ip地址:

R1

int lo 0 

ip add 1.1.1.1 255.255.255.0

no shu

 

int g1/0

ip add 13.0.0.1 255.255.255.0

no shu

 

int g0/0

ip add 12.0.0.1 255.255.255.0

no shu

 

int g2/0

ip add 14.0.0.1 255.255.255.0

no shu 

 

R2 

int lo 0 

ip add 2.2.2.2 255.255.255.0

no shu 

 

int g1/0

ip add 12.0.0.2 255.255.255.0

no shu 

 

int g2/0

ip add 23.0.0.2 255.255.255.0

no shu

 

int g3/0 

ip add 24.0.0.2 255.255.255.0

no shu

 

R3 

int lo 0 

ip add 3.3.3.3 255.255.255.0

no shu

 

int g1/0

ip add 13.0.0.3 255.255.255.0

no shu

 

int g2/0

ip add 23.0.0.3 255.255.255.0

no shu

 

R4

int lo 0 

ip add 4.4.4.4 255.255.255.0

no shu

 

int g1/0

ip add 14.0.0.4 255.255.255.0

no shu

 

int g2/0

ip add 24.0.0.4 255.255.255.0

no shu

 

2、运行eigrp

R1

router eigrp 100

net 12.0.0.0 0.0.0.255

net 13.0.0.0 0.0.0.255

net 1.1.1.0 0.0.0.255

 

router eigrp 10

net 14.0.0.0 0.0.0.255

 

R2

router eigrp 100

net 12.0.0.0 0.0.0.255

net 23.0.0.0 0.0.0.255

net 2.2.2.0 0.0.0.255

 

router eigrp 10

net 24.0.0.0 0.0.0.255

 

R3

router eigrp 100

net 13.0.0.0 0.0.0.255

net 23.0.0.0 0.0.0.255

net 3.3.3.3.0 0.0.0.255

 

3、在R1/R2上设置重分布

R1

router eigrp 100

redistribute eigrp 10

 

router eigrp 10 

redistribute eigrp 100

 

R2

router eigrp 100

redistribute eigrp 10

 

router eigrp 10 

redistribute eigrp 100

 

4、在R3上查询路由表

R3#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

 

Gateway of last resort is not set

 

D    1.0.0.0/8 [90/130816] via 13.0.0.1, 01:24:09, GigabitEthernet1/0

D    2.0.0.0/8 [90/130816] via 23.0.0.2, 01:24:01, GigabitEthernet2/0

     3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C       3.3.3.0/24 is directly connected, Loopback3

D       3.0.0.0/8 is a summary, 01:23:47, Null0

D EX 4.0.0.0/8 [170/131072] via 23.0.0.2, 00:50:08, GigabitEthernet2/0

     23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C       23.0.0.0/24 is directly connected, GigabitEthernet2/0

D       23.0.0.0/8 is a summary, 01:24:44, Null0

     24.0.0.0/24 is subnetted, 1 subnets

D EX    24.0.0.0 [170/3072] via 23.0.0.2, 00:50:08, GigabitEthernet2/0

D    12.0.0.0/8 [90/3072] via 23.0.0.2, 01:24:42, GigabitEthernet2/0

                [90/3072] via 13.0.0.1, 01:24:42, GigabitEthernet1/0

     13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C       13.0.0.0/24 is directly connected, GigabitEthernet1/0

D       13.0.0.0/8 is a summary, 01:24:46, Null0

     14.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

D EX    14.0.0.0/24 [170/3072] via 13.0.0.1, 00:50:40, GigabitEthernet1/0

D EX    14.0.0.0/8 [170/3328] via 23.0.0.2, 00:50:10, GigabitEthernet2/0

R3#

 

5、R3 ping R4

R3#ping 4.4.4.4

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:

!!!.!

Success rate is 80 percent (4/5), round-trip min/avg/max = 16/39/80 ms

R3#

 

 


举报

相关推荐

0 条评论