NA笔记-帧中继2-P to P_EIGRP

                                                                                      NA笔记-帧中继-P to P_EIGRP


实验拓扑:

image.png


需求:

        使用P to P 帧中继子接口配置在路由器上运行 EIGRP协议


  1. IOU1的配置:

Frame_sw(config)#hostname Frame_sw

Frame_sw(config)#frame-relay switching                          #模拟帧中继交换机

Frame_sw(config)#int s2/0

Frame_sw(config-if)#no sh

Frame_sw(config-if)#encapsulation frame-relay            #启用帧中继

Frame_sw(config-if)#clock rate threshold 64000             #设置dce时钟频率

Frame_sw(config-if)#frame-relay intf-type dce               #设置为dce

Frame_sw(config-if)#frame-relay route 102 interface s2/1 201     #设置IOU2IOU3的映射链路

Frame_sw(config-if)#frame-relay route 103 int s2/2 301                 #设置IOU2IOU4的映射链路

 

Frame_sw(config)#int s2/1

Frame_sw(config-if)#encapsulation frame-relay

Frame_sw(config-if)#no sh

Frame_sw(config-if)#clock rate threshold 64000

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

Frame_sw(config-if)#frame-relay route 201 interface serial 2/0 102

 

Frame_sw(config)#int s2/2

Frame_sw(config-if)#encapsulation frame-relay

Frame_sw(config-if)#no sh

Frame_sw(config-if)#clock rate threshold 64000

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

Frame_sw(config-if)#frame-relay route 301 interface serial 2/0 103



2. IOU2的配置:

IOU2(config)#int s2/0

IOU2(config-if)#no sh

IOU2(config-if)#encapsulation frame-relay                             # 运行帧中继协议


IOU2(config)#int serial 2/0.12 point-to-point                         #创建子接口

IOU2(config-subif)#ip add 10.1.10.1 255.255.255.0

IOU2(config-subif)#no sh

IOU2(config-subif)#frame-relay interface-dlci 102                #给子接口一个dlci号

IOU2(config-fr-dlci)#exit


IOU2(config)#int s2/0.13 point-to-point                                  #创建子接口

IOU2(config-subif)#no sh

IOU2(config-subif)#ip add 10.1.20.1 255.255.255.0

IOU2(config-subif)#frame-relay interface-dlci 103                #给子接口一个dlci号


IOU2(config)#int l 1                                                                #配置 回环接口

IOU2(config-if)#ip add 2.2.2.2 255.255.255.255

IOU2(config)#router eigrp 100                                              #运行EIGRP协议,宣告网络 

IOU2(config-router)#network 10.0.0.0

IOU2(config-router)#network 2.2.2.2

IOU2(config-router)#ex


3. IOU3的配置:

IOU3(config)#int s2/1

IOU3(config-if)#no sh

IOU3(config-if)#encapsulation frame-relay 


IOU3(config)#int s 2/1.12 point-to-point 

IOU3(config-subif)#no sh

IOU3(config-subif)#ip add 10.1.10.2 255.255.255.0

IOU3(config-subif)#frame-relay interface-dlci 201

IOU3(config-subif)#end


IOU3(config)#int l 1                                                                #配置 回环接口

IOU3(config-if)#ip add 3.3.3.3 255.255.255.255

IOU3(config)#router eigrp 100                                              #运行EIGRP协议,宣告网络 

IOU3(config-router)#network 10.0.0.0

IOU3(config-router)#network 3.3.3.3

IOU3(config-router)#ex


4. IOU4的配置:

IOU4(config)#int s2/2

IOU4(config-if)#no sh

IOU4(config-if)#encapsulation frame-relay 


IOU4(config)#int serial 2/2.13 point-to-point 

IOU4(config-subif)#no sh

IOU4(config-subif)#ip add 10.1.20.2 255.255.255.0

IOU4(config-subif)#frame-relay interface-dlci 301


IOU4(config)#int l 1                                                            #配置 回环接口

IOU4(config-if)#ip add 4.4.4.4 255.255.255.255

IOU4(config)#router eigrp 100                                          #运行EIGRP协议,宣告网络 

IOU4(config-router)#network 10.0.0.0

IOU4(config-router)#network 4.4.4.4

IOU4(config-router)#ex



test结果:

IOU4#show ip route

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP

       a - application route

       + - replicated route, % - next hop override


Gateway of last resort is not set


      2.0.0.0/32 is subnetted, 1 subnets

D        2.2.2.2 [90/2297856] via 10.1.20.1, 00:55:46, Serial2/2.13

      3.0.0.0/32 is subnetted, 1 subnets

D        3.3.3.3 [90/2809856] via 10.1.20.1, 00:55:46, Serial2/2.13

      4.0.0.0/32 is subnetted, 1 subnets

C        4.4.4.4 is directly connected, Loopback1

      10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

D        10.1.10.0/24 [90/2681856] via 10.1.20.1, 00:55:46, Serial2/2.13

C        10.1.20.0/24 is directly connected, Serial2/2.13

L        10.1.20.2/32 is directly connected, Serial2/2.13


IOU4#ping 10.1.10.1

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 14/19/24 ms

IOU4#ping 10.1.10.2

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 40/40/41 ms

IOU4#ping 10.1.20.1

Type escape sequence to abort.

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

!!!!!

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

IOU4#ping 10.1.20.2

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 39/43/52 ms

IOU4#ping 2.2.2.2

Type escape sequence to abort.

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

!!!!!

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

IOU4#ping 3.3.3.3

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 43/45/49 ms

IOU4#ping 4.4.4.4

Type escape sequence to abort.

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

!!!!!

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





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章