linux 创建lo子接口,CCNA实验:配置帧中继Hub and spoke 多点子接口

e3d5a2bd1a814475cbcf0f4b8c049a35.png

第一步:配置R1的帧中继多点子接口

R1(config)#

R1(config)#int s3/0

R1(config-if)#en fr

R1(config-if)#no sh

R1(config-if)#exit

R1(config)#int s3/0.1 multipoint

R1(config-subif)#ip add 172.16.0.1 255.255.255.0

R1(config-subif)#exit

R1(config)#^Z

第二步:配置R2的帧中继多点子接口

R2(config)#int s3/0

R2(config-if)#en fr

R2(config-if)#no sh

R2(config-if)#ip add 172.16.0.2 255.255.255.0

R2(config-if)#no fr inve

R2(config-if)#fr map ip 172.16.0.1 201 b

R2(config-if)#fr map ip 172.16.0.3 201 b

R2(config-if)#exit

第三步:查看R2的帧中继映射

R2#sh fr map

Serial3/0 (up): ip 172.16.0.1 dlci 201(0xC9,0x3090), static,

broadcast,

CISCO, status defined, active

Serial3/0 (up): ip 172.16.0.3 dlci 201(0xC9,0x3090), static,

broadcast,

CISCO, status defined, active

第四步:在R3上进行帧中继接口配置

R3(config)#

R3(config)#int s3/0

R3(config-if)#en fr

R3(config-if)#no sh

R3(config-if)#no fr inv

R3(config-if)#fr map ip

R3(config-if)#fr map ip 172.16.0.1 301 b

R3(config-if)#fr map ip 172.16.0.2 201 b

R3(config-if)#ip add

R3(config-if)#ip add 172.16.0.3 255.255.255.0

R3(config-if)#exit

R3(config)#^Z

R3#

第五步:在R1上查看映射

R1#sh fr map

(为什么没有通过动态arp学习到呢?手动添加)

R1(config)#int s3/0.1

R1(config-subif)#fr map ip 172.16.0.2 102 b

R1(config-subif)#fr map ip 172.16.0.3 103 b

(在多点子接口下添加手动dlci与ip地址的映射)

R1(config-subif)#exit

R1(config)#exit

R1#

R1#sh fr map

Serial3/0.1 (up): ip 172.16.0.2 dlci 102(0x66,0x1860), static,

broadcast,

CISCO, status defined, active

Serial3/0.1 (up): ip 172.16.0.3 dlci 103(0x67,0x1870), static,

broadcast,

CISCO, status defined, active(现在查看已经加入成功了)

第六步:在R1上测试ping

R1#ping 172.16.0.2

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 8/21/36 ms

R1#ping 172.16.0.3

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 8/20/44 ms

R1#

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值