- Implementar una red Frame Relay con 2 routers funcionando como switches y utilizando entre ellos el protocolo estándar de señalización NNI (Network-to-Network Interface).
- Probar la funcionalidad de respaldar la conectividad a través de la nube Frame Relay mediante la implementación de 2 caminos con CVPs permanentes.
Para ello se configuran los routers ‘HUBIBM’ y ‘HUBSAB’ como FRAD (Frame Relay Access Device) proporcionando LMI ccitt y clock (2M) a los CPE (Customer Premise Equipment) ‘IBM’ y ‘SAB’.
La elección del camino ‘preferente’ viene determinada por el peso de las rutas.
El esquema es el siguiente:
Configuración nodos de red:
hostname
HUBIBM
!Habilita el
switching de paquetes Frame Relay
frame-relay
switching
!
interface
Serial0/0
no ip address
encapsulation frame-relay
clockrate 500000
no fair-queue
frame-relay lmi-type q933a
frame-relay intf-type dce
!Especifica una ruta estática para el PVC switching
frame-relay route 100 interface Serial0/2
200
!
interface
Serial0/1
no ip address
encapsulation frame-relay IETF
clockrate 500000
frame-relay lmi-type q933a
frame-relay intf-type dce
frame-relay route 101 interface Serial0/2 201
!
interface
Serial0/2
no ip address
encapsulation frame-relay IETF
clockrate 2000000
frame-relay lmi-type q933a
!Configura el interface para NNI
frame-relay intf-type nni
frame-relay route 200 interface Serial0/0 100
frame-relay route 201 interface Serial0/1 101
------------------------------------------------------------------------------------------------------
hostname
HUBSAB
!Habilita el
switching de paquetes Frame Relay
frame-relay
switching
!
interface
Serial1/0
no ip address
encapsulation frame-relay IETF
no fair-queue
frame-relay lmi-type q933a
!Configura el interface para NNI
frame-relay intf-type nni
!Especifica una ruta estática para el PVC switching
frame-relay route 200 interface Serial1/1
300
frame-relay route 201 interface Serial1/1 301
!
interface
Serial1/1
no ip address
encapsulation frame-relay IETF
clock rate 1000000
frame-relay lmi-type q933a
frame-relay intf-type dce
frame-relay route 300 interface Serial1/0 200
frame-relay route 301 interface Serial1/0 201
Configuración equipos cliente:
hostname
IBM
!
interface
FastEthernet0/0
ip address 40.40.40.1 255.255.255.0
!
interface
Serial0/0
no ip address
encapsulation frame-relay IETF
no ip route-cache cef
no ip route-cache
no fair-queue
frame-relay lmi-type q933a
!
interface
Serial0/0.101 point-to-point
bandwidth 1000000
ip address 20.20.20.1 255.255.255.0
no ip route-cache
no ip mroute-cache
no cdp enable
frame-relay interface-dlci 101
!
interface
Serial0/1
no ip address
encapsulation frame-relay IETF
no ip route-cache cef
no ip route-cache
frame-relay lmi-type q933a
!
interface
Serial0/1.100 point-to-point
bandwidth 1000000
ip address 10.10.10.1 255.255.255.0
no ip route-cache
no ip mroute-cache
no cdp enable
frame-relay interface-dlci 100
!
ip
route 50.50.50.0 255.255.255.0 20.20.20.2
ip
route 50.50.50.0 255.255.255.0 10.10.10.2 100
----------------------------------------------------------------------------------------------------------------
hostname
SAB
!
interface
Ethernet0/0
ip address 50.50.50.1 255.255.255.0
!
interface
Serial0/1
no ip address
encapsulation frame-relay IETF
frame-relay lmi-type q933a
!
interface
Serial0/1.300 point-to-point
ip address 10.10.10.2 255.255.255.0
frame-relay interface-dlci 300
!
interface
Serial0/1.301 point-to-point
ip address 20.20.20.2 255.255.255.0
frame-relay interface-dlci 301
!
ip
route 40.40.40.0 255.255.255.0 20.20.20.1
ip
route 40.40.40.0 255.255.255.0 10.10.10.1 100
Notas sobre las pruebas:
- Rutas Frame Relay y estado:
HUBIBM#sh frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/0 100 Serial0/2 200 active
Serial0/1 101 Serial0/2 201 active
Serial0/2 200 Serial0/0 100 active
Serial0/2 201 Serial0/1 101 active
HUBSAB#sh frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 200 Serial1/1 300 active
Serial1/0 201 Serial1/1 301 active
Serial1/1 300 Serial1/0 200 active
Serial1/1 301 Serial1/0 201 active
- Estado al cortar la ruta 'principal':
HUBIBM#sh frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial0/0 100 Serial0/2 200 active
Serial0/1 101 Serial0/2 201 inactive
Serial0/2 200 Serial0/0 100 active
Serial0/2 201 Serial0/1 101 active
- Traceroute antes y después de cortar el camino principal:
IBM#traceroute 50.50.50.1
Type escape sequence to abort.
Tracing the route to 50.50.50.1
1 20.20.20.2 4 msec * 8 msec
IBM#
*Mar 1 21:32:15.398: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down
*Mar 1 21:32:16.398: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
IBM#traceroute 50.50.50.1
Type escape sequence to abort.
Tracing the route to 50.50.50.1
1 10.10.10.2 8 msec * 8
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.