FR-ATM interworking issue with solution lab2.

Objetivo: dar una solución al problema existente en redes WAN con interworking frame-relay/atm mencionado en el Lab1.

Topología:

Solución: Multilink PPP over FrameRelay.

(puede haber otras variantes, cómo class-based shaping)
Nueva configuración de FrrouterMain:

hostname FrrouterMain
!
ip dhcp pool test
   network 10.1.2.0 255.255.255.0
   default-router 10.1.2.1
   domain-name cisco.com
   dns-server 10.1.2.254
   lease 7
!
no ip domain lookup
!
class-map match-all test
 match access-group 101
class-map match-all test-ch
 match ip dscp af31
!
policy-map output
 class test-ch
    bandwidth 60
 class class-default
    bandwidth 30
policy-map input
 class test
  set ip dscp af31
 class class-default
  set ip dscp default
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 bandwidth 128
 no ip address
 encapsulation frame-relay IETF
 serial restart-delay 0
 clock rate 128000
 frame-relay traffic-shaping (tiene que estar habilitado)
!
interface Serial1/0.1 point-to-point
 bandwidth 128
 frame-relay interface-dlci 102 ppp Virtual-Template60 (enable ppp over frame-relay)
  class MAP-FR-128
!
interface FastEthernet2/0
 ip address 10.1.2.1 255.255.255.0
 duplex auto
 speed auto
 service-policy input input
!
interface Virtual-Template60
 bandwidth 128
 ip address 10.1.1.1 255.255.255.0
 load-interval 30
 ppp multilink
 ppp multilink interleave
 ppp multilink fragment delay 10
 service-policy output output
!
router eigrp 1
 network 10.0.0.0
 no auto-summary
!
map-class frame-relay MAP-FR-128 (shaping, que se puede hacer de otra manera)
 frame-relay cir 121600
 frame-relay bc 1216
 frame-relay be 0
 frame-relay fair-queue
access-list 101 permit icmp any any
!
line con 0
 logging synchronous

Nueva configuración de FrrouterBranch:

hostname FrrouterBranch
!
ip dhcp pool test
   network 10.1.3.0 255.255.255.0
   default-router 10.1.3.1
   domain-name cisco.com
   dns-server 10.1.3.254
   lease 7
!
no ip domain lookup
!
class-map match-all test
 match access-group 101
class-map match-all test-ch
 match ip dscp af31
!
policy-map output
 class test-ch
    bandwidth 60
 class class-default
    bandwidth 30
policy-map input
 class test
  set ip dscp af31
 class class-default
  set ip dscp default
!
interface Serial1/0
 bandwidth 128
 no ip address
 encapsulation frame-relay IETF
 serial restart-delay 0
 clock rate 128000
 frame-relay traffic-shaping
!
interface Serial1/0.1 point-to-point
 bandwidth 128
 frame-relay interface-dlci 101 ppp Virtual-Template60
  class MAP-FR-128
!
interface FastEthernet2/0
 ip address 10.1.3.1 255.255.255.0
 duplex auto
 speed auto
!
interface Virtual-Template60
 bandwidth 128
 ip address 10.1.1.2 255.255.255.0
 load-interval 30
 ppp multilink
 ppp multilink interleave
 ppp multilink fragment delay 10
 service-policy output output
!
router eigrp 1
 network 10.0.0.0
 no auto-summary
!
map-class frame-relay MAP-FR-128
 frame-relay cir 121600
 frame-relay bc 1216
 frame-relay be 0
 frame-relay fair-queue
access-list 101 permit icmp any any
!
line con 0
 logging synchronous

Comprobación:

Two virtual-access interfaces have been cloned. First for the member link:

-FrrouterMain# sh inter virtual-access 2
Virtual-Access2 is up, line protocol is up
  Hardware is Virtual Access interface
  Internet address is 10.1.1.1/24
  MTU 1500 bytes, BW 128 Kbit/sec, DLY 100000 usec,
     reliability 255/255, txload 17/255, rxload 17/255
  Encapsulation PPP, LCP Open, multilink Open
  Link is a member of Multilink bundle Virtual-Access3
  PPPoFR vaccess, cloned from Virtual-Template60
  Vaccess status 0x44
  Bound to Serial1/0.1 DLCI 102, Cloned from Virtual-Template60, loopback not set
  Keepalive set (10 sec)
  DTR is pulsed for 5 seconds on reset
  Last input 00:00:01, output never, output hang never
  Last clearing of "show interface" counters 00:33:17
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  30 second input rate 9000 bits/sec, 8 packets/sec
  30 second output rate 9000 bits/sec, 8 packets/sec
     7574 packets input, 1077599 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     7687 packets output, 1080309 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions

Second for the MLPPP bundle itself:

-FrrouterMain# sh inter virtual-access 3
Virtual-Access3 is up, line protocol is up
  Hardware is Virtual Access interface
  Internet address is 10.1.1.1/24
  MTU 1500 bytes, BW 128 Kbit/sec, DLY 100000 usec,
     reliability 255/255, txload 17/255, rxload 17/255
  Encapsulation PPP, LCP Open, multilink Open
  Open: IPCP
  MLP Bundle vaccess, cloned from Virtual-Template60
  Vaccess status 0x40, loopback not set
  Keepalive set (10 sec)
  DTR is pulsed for 5 seconds on reset
  Last input 00:00:02, output never, output hang never
  Last clearing of "show interface" counters 00:25:01
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: Class-based queueing
  Output queue: 0/1000/0 (size/max total/drops)
  30 second input rate 9000 bits/sec, 1 packets/sec
  30 second output rate 9000 bits/sec, 1 packets/sec
     1096 packets input, 1107051 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     1095 packets output, 1183882 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions

Verify the CBWFQ policy-map:

-FrrouterMain#sh policy-map inter virtual-access 3
 Virtual-Access3

  Service-policy output: output

    Class-map: test-ch (match-all)
      820 packets, 1172600 bytes
      30 second offered rate 8000 bps, drop rate 0 bps
      Match: ip dscp af31 (26)
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 820/1172600
      bandwidth 60 kbps

    Class-map: class-default (match-any)
      354 packets, 20470 bytes
      30 second offered rate 0 bps, drop rate 0 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 354/21826
      bandwidth 30 kbps

Check PPP multilink status:

-FrrouterMain#ping 10.1.3.1 source fastEthernet 2/0 size 1500
Type escape sequence to abort.
Sending 5, 1500-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds:
Packet sent with a source address of 10.1.2.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 256/268/288 ms

-FrrouterMain#sh ppp multilink
Virtual-Access3
  Bundle name: FrrouterBranch
  Remote Endpoint Discriminator: [1] FrrouterBranch
  Local Endpoint Discriminator: [1] FrrouterMain
  Bundle up for 00:27:57, total bandwidth 128, load 1/255
  Receive buffer limit 12192 bytes, frag timeout 1000 ms
  Interleaving enabled
    0/0 fragments/bytes in reassembly list
    0 lost fragments, 0 reordered
    0/0 discarded fragments/bytes, 0 lost received
    0x22D4 received sequence, 0x22D3 sent sequence
  Member links: 1 (max not set, min not set)
    Vi2, since 00:27:57, 160 weight, 150 frag size (fragment size = delay * (bandwidth/8 - en este caso fs=10ms * 128000/8=160 bytes)
)

No inactive multilink interfaces

Y para comprobar que realmente este realizando la fragmentación (y alcanzar el objetivo final del lab) pusimos a traficar icmp en la dos máquinas del lab

Utilizamos el siguiente comando en el Main router:

(Por lo que queda demostrada la solución!)
-FrrouterMain#debug ppp multilink fragments
Multilink fragments debugging is on
FrrouterMain#
*Aug 17 15:51:11.791: Vi2 MLP: I frag 0000240A size 158 encsize 4
*Aug 17 15:51:11.839: Vi2 MLP: I frag 0000240B size 158 encsize 4
*Aug 17 15:51:11.839: Vi2 MLP: I frag 0000240C size 158 encsize 4
*Aug 17 15:51:11.851: Vi2 MLP: I frag 0000240D size 158 encsize 4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.