侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CCNP(BSCI)实验:配置EIGRP帧中继Hub and Spoke物理接口

2023-04-05 星期三 / 0 评论 / 0 点赞 / 69 阅读 / 3690 字

在各路由器上进行预配置第一步:R1上的配置R1(config)#int lo0R1(config-if)#ip add 1.1.1.1 255.255.255.0R1(config-if)#int s

.


在各路由器上进行预配置
第一步:R1上的配置
R1(config)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#int s3/0
R1(config-if)#ip add 123.1.1.1 255.255.255.0
R1(config-if)#en fr
R1(config-if)#no fr inv
R1(config-if)#fr map ip 123.1.1.2 102 b
R1(config-if)#fr map ip 123.1.1.3 103 b
R1(config-if)#no sh
R1(config-if)#
第二步:R2上的配置
R2(config)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.0
R2(config-if)#int s3/0
R2(config-if)#ip add 123.1.1.2 255.255.255.0
R2(config-if)#en fr
R2(config-if)#no fr inv
R2(config-if)#fr map ip 123.1.1.1 201 b
R2(config-if)#fr map ip 123.1.1.3 201 b
R2(config-if)#no sh
R2(config-if)#

第三步:R3上的配置
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#int s3/0
R3(config-if)#ip add 123.1.1.3 255.255.255.0
R3(config-if)#en fr
R3(config-if)#no fr
R3(config-if)#no fr inv
R3(config-if)#fr map ip 123.1.1.1 301 b
R3(config-if)#fr map ip 123.1.1.2 301 b
实验过程:
第一步:在R1上运行eigrp
R1(config)#router eigrp 11
R1(config-router)#net 1.1.1.1
R1(config-router)#net 123.1.1.1
R1(config-router)#exit
R1(config)#exit
第二步:在R2上运行eigrp
R2(config)#router ei 11
R2(config-router)#net 2.2.2.2
R2(config-router)#net 123.1.1.2
R2(config-router)#end
第三步:在R3上运行eigrp
R3(config)#router ei 11
R3(config-router)#net 3.3.3.3
R3(config-router)#net 123.1.1.3
R3(config-router)#end
第四步:查看路由表
R1#sh ip rou
…………
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/24 is directly connected, Loopback0
D 1.0.0.0/8 is a summary, 00:32:40, Null0
D 2.0.0.0/8 [90/2297856] via 123.1.1.2, 00:31:48, Serial3/0
D 3.0.0.0/8 [90/2297856] via 123.1.1.3, 00:30:57, Serial3/0
123.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 123.1.1.0/24 is directly connected, Serial3/0
D 123.0.0.0/8 is a summary, 00:32:40, Null0

R2#sh ip rou
……………………
D 1.0.0.0/8 [90/2297856] via 123.1.1.1, 00:32:44, Serial3/0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 2.2.2.0/24 is directly connected, Loopback0
D 2.0.0.0/8 is a summary, 00:33:14, Null0
123.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 123.1.1.0/24 is directly connected, Serial3/0
D 123.0.0.0/8 is a summary, 00:33:14, Null0
//这里没有去R3的回环接口1.1.1.1的路由

R3#sh ip rou
………………

D 1.0.0.0/8 [90/2297856] via 123.1.1.1, 00:32:21, Serial3/0
3.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 3.3.3.0/24 is directly connected, Loopback0
D 3.0.0.0/8 is a summary, 00:33:06, Null0
123.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 123.1.1.0/24 is directly connected, Serial3/0
D 123.0.0.0/8 is a summary, 00:33:06, Null0
//这里没有去R2回环接口2.2.2.2的路由
第五步:在R1的S3/0接口下关闭水平分割
R1(config-if)#int s3/0
R1(config-subif)#no ip sp ei 11
//非常重要的一句,ospf则不需要

第五步:小小测试
R2#ping 3.3.3.3 so 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 2.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/42/88 ms
R2#

.

广告 广告

评论区