帧中继的配置

Posted ljq123

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了帧中继的配置相关的知识,希望对你有一定的参考价值。

拓扑如下: 

 

 

技术图片

 

 

 

 

 

 

 

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的配置中配完

以上是关于帧中继的配置的主要内容,如果未能解决你的问题,请参考以下文章

ipv4 帧中继配置(GNS3)

帧中继的配置

帧中继配置路由器子接口配置不上去

思科DHCP如何配置中继

三层交换机DHCP中继配置

DHCP中继代理配置