码迷,mamicode.com
首页 > 其他好文 > 详细

帧中继的配置

时间:2019-05-28 18:40:48      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:sub   cap   ethernet   规划   routing   idt   tip   nic   lock   

拓扑如下: 

 

 

技术图片

 

 

 

 

 

 

 

IPV6和IPV4的地址规划

设备名称

接口

地址

R1

Loopback 0

2011:041::1/128

Loopback 1

2111:041::1/128

FastEthernet 1/0

2123:041::1/64

192.41.123.1/24(ipv4)

FastEthernet 2/0

2019:041::1/64

192.41.17.1/24(ipv4)

R2

Loopback 0

2022:041::1/128

FastEthernet 1/0

2123:041::2/64

192.41.123.2/24(ipv4)

Serial 0/0

2048:041::2/64

192.41.27.2/24(ipv4)

R3

Loopback 0

2033:041::1/128

Serial 0/0.1

2356:041::3/64

192.41.4.3/24(ipv4)

FastEthernet   1/0

2123:041::3/64

2188:041::3/64

192.41.123.3/24(ipv4)

R5

Loopback 0

2055:041::1/128

Serial 0/0.1

2356:041::5/64

192.41.4.5/24(ipv4)

R6

Loopback 0

2066:041::1/128

Serial 0/1.1

2356:041::6/64

192.41.4.6/24(ipv4)

R7

Loopback 0

2077:041::1/128

Serial 0/0

2048:041::7/64

192.41.27.7/24(ipv4)

FastEthernet 1/0

2027:041::7/64

192.41.78.7/24(ipv4)

FastEthernet 2/0

2019:041::7/64

192.41.17.7/24(ipv4)

R8

Loopback 0

2088:041::1/128

FastEthernet 1/0

2027:041::8/64

192.41.78.8/24(ipv4)

 

 

 

 

 

 

 

 

 

帧中继的配置

将R4当成帧中继交换机

R4的配置如下:

R4(config)#frame-relay switching

R4(config)#int s0/0

R4(config-if)#no shutdown

R4(config-if)#clock rate 128000

R4(config-if)#encapsulation frame-relay

R4(config-if)#frame-relay lmi-type cisco

R4(config-if)#frame-relay intf-type dce

R4(config-if)#frame-relay route 305 interface s0/1 503

R4(config-if)#frame-relay route 306 interface s0/2 603

R4(config)#int s0/1

R4(config-if)#no shu

R4(config-if)#clock rate 128000

R4(config-if)#encapsulation frame-relay

R4(config-if)#frame-relay lmi-type cisco

R4(config-if)#frame-relay intf-type dce

R4(config-if)#frame-relay route 503 interface s0/0 305

R4(config)#int s0/2

R4(config-if)#encapsulation frame-relay

R4(config-if)#no shu

R4(config-if)#clock rate 128000

R4(config-if)#encapsulation frame-relay

R4(config-if)#frame-relay lmi-type cisco

R4(config-if)#frame-relay intf-type dce

R4(config-if)#frame-relay route 603 interface s0/0 306

 

R5的配置如下:

R5(config)#ipv6 unicast-routing

R5(config)#int s0/0

R5(config-if)#encapsulation frame-relay

R5(config-if)#no shu

R5(config)#int s0/0.1 multipoint

R5(config-subif)#no shu

R5(config-subif)#frame-relay map ipv6 2356:041::3 503 broadcast

R5(config-subif)#frame-relay map ipv6 2356:041::6 503 broadcast

R5(config-subif)#frame-relay map ipv6 FE80::CE03:19FF:FEE0:10 503 broadcast

R5(config-subif)#frame-relay map ipv6 FE80::CE06:6FF:FE98:10 503 broadcast

 

R6的配置如下:

R6(config)#int s0/1

R6(config-if)#encap frame-relay

R6(config-if)#no shutdown

R6(config)#int s0/1.1 multipoint

R6(config-subif)#no shu

R6(config-subif)#frame-relay map ipv6 2356:041::3 603 broadcast

R6(config-subif)#frame-relay map ipv6 2356:041::5 603 broadcast

R6(config-subif)#frame-relay map ipv6 2356:041::6 603 broadcast

R6(config-subif)#frame-relay map ipv6 FE80::CE05:6FF:FE4C:10 603 broadcast

R6(config-subif)#frame-relay map ipv6 FE80::CE03:19FF:FEE0:10 603 broadcast

R6(config-subif)#exit

 

ipv6帧中继配置完成

 

ipv4帧中继配置如下

R5的ipv4配置

R5(config)#int s0/0.1 multipoint

R5(config-subif)#frame-relay map ip 192.41.4.3 503 broadcast

R5(config-subif)#frame-relay map ip 192.41.4.6 503 broadcast

R5(config-subif)#frame-relay map ip 192.41.4.5 503 broadcast

 

 

R6的ipv4配置

R6(config)#int s0/1.1 multipoint

R6(config-subif)#frame-relay map ip 192.41.4.3 603 broadcast

R6(config-subif)#frame-relay map ip 192.41.4.5 603 broadcast

R6(config-subif)#frame-relay map ip 192.41.4.6 603 broadcast

 

R3的ipv4配置

R3(config)#int s0/0.1 multipoint

R3(config-subif)#frame-relay map ip 192.41.4.6 306 broadcast

R3(config-subif)#frame-relay map ip 192.41.4.5 305 broadcast

R3(config-subif)#frame-relay map ip 192.41.4.3 305 broadcast

 

R4的ipv4配置已经在ipv6的配置中配完

帧中继的配置

标签:sub   cap   ethernet   规划   routing   idt   tip   nic   lock   

原文地址:https://www.cnblogs.com/ljq123/p/10939397.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!