Pages

Wednesday, January 5, 2011

Frame Relay (Hub & Spoke)

Frame Relay Hub & Spoke

In this article, I will show you how to configure frame relay hub & spoke topology with the static ip map. In this scenario, 
  •  R1 will be a hub. R2 and R3 will be spokes.The PVCs are assigned to each router as shown in the diagram. 
  • We will use point-to-multipoint frame relay type. ( physical/logical interface )
  • statically map ip to DLCI
  • Establish a mesh connection between all of the routers

Hub configuration
Physical interface
I
R1
interface Serial1/0
 ip address 192.168.1.1 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 192.168.1.3 102 broadcast   // statically map ip to DLCI
 frame-relay map ip 192.168.1.2 101 broadcast
 frame-relay interface-dlci 101  
 frame-relay interface-dlci 102
 no frame-relay inverse-arp                                 // disable LMI dynamic DLCI learning 

------------------------------------------
II
Logical interface
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart-delay 0
!
interface Serial1/0.1 multipoint                           // in this scenario, we use point to multipoint
 ip address 192.168.1.1 255.255.255.0
 snmp trap link-status
 frame-relay map ip 192.168.1.3 102
 frame-relay map ip 192.168.1.2 101
 frame-relay interface-dlci 101
 frame-relay interface-dlci 102
 no frame-relay inverse-arp
!


Spokes configuration
R2
interface Serial1/0
 ip address 192.168.1.2 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 192.168.1.3 202 broadcast
 frame-relay map ip 192.168.1.1 202 broadcast
 frame-relay interface-dlci 202
 no frame-relay inverse-arp
end


R3
interface Serial1/0
 ip address 192.168.1.3 255.255.255.0
 encapsulation frame-relay
 serial restart-delay 0
 frame-relay map ip 192.168.1.1 303 broadcast
 frame-relay map ip 192.168.1.2 303 broadcast
 frame-relay interface-dlci 303
 no frame-relay inverse-arp
end

Verify static ip and DLCI mapping

R1#show frame-relay map
Serial1/0 (up): ip 192.168.1.2 dlci 101(0x65,0x1850), static,
              broadcast,
              CISCO, status defined, active
Serial1/0 (up): ip 192.168.1.3 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
R1#

Verify Frame Relay Mesh connectivity 

R2#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/65/132 ms
R2#
R2#ping 192.168.1.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/103/260 ms
R2#

1 comment: