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

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

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

目 录CONTENT

文章目录

CCNP(BSCI)实验:配置EIGRP的帧中继Hub and Spoke多点子接口

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

在路由器R1、R2、R3上的预配置R1(config)#int lo0R1(config-if)#ip add 1.1.1.1 255.255.255.0R1(config-if)#int s3/0R

.


在路由器R1、R2、R3上的预配置
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)#no sh
R1(config-if)#en fr
R1(config-if)#no fr inv
R1(config-if)#int s3/0.1 m
//多点子接口
R1(config-subif)#ip add 123.1.1.1 255.255.255.0
R1(config-subif)#fr map ip 123.1.1.2 102 b
R1(config-subif)#fr map ip 123.1.1.3 103 b
R1(config-subif)#end

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)#end

R3(config)#int lo0
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 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
R3(config-if)#no sh
R3(config-if)#end
实验过程:
第一步:在各个路由器上配置eigp
R1(config)#router ei 11
R1(config-router)#net 1.1.1.1
R1(config-router)#net 123.1.1.1

R2(config)#router eigrp 11
R2(config-router)#net 2.2.2.2
R2(config-router)#net 123.1.1.2

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:10:51, Null0
D 2.0.0.0/8 [90/2297856] via 123.1.1.2, 00:10:39, Serial3/0
D 3.0.0.0/8 [90/2297856] via 123.1.1.3, 00:10:39, 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:10:51, Null0

R2#sh ip rou
……………………
D 1.0.0.0/8 [90/2297856] via 123.1.1.1, 00:11:41, 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:28:11, 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:28:11, Null0
//这里没有去R3回环接口3.3.3.3的路由

R3#sh ip rou
………………
D 1.0.0.0/8 [90/2297856] via 123.1.1.1, 00:12:14, 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:28:24, 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:28:24, Null0
//这里没有去R2回环接口的路由
第三步:在R1的子接口s3/0.1上关闭水平分割并查看路由表
**R1(config-if)#int s3/0.1
R1(config-subif)#no ip sp ei 11
//重要的一步***
R2#sh ip rou
………………
D 1.0.0.0/8 [90/2297856] via 123.1.1.1, 00:04:00, 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:03:59, Null0
D 3.0.0.0/8 [90/2809856] via 123.1.1.1, 00:03:59, 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:28:20, Null0
//这里有了去3.3.3.3的路由了
R3#sh ip rou
……………………
D 1.0.0.0/8 [90/2297856] via 123.1.1.1, 00:04:45, Serial3/0
D 2.0.0.0/8 [90/2809856] via 123.1.1.1, 00:04:45, 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:04:45, 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:28:41, Null0
//这里有去R2的路由了
第四步:小小测试
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/38/60 ms
R2#

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

.

广告 广告

评论区