Saturday, 4 May 2013

FR Dynamic dan Static Mapping - Main Interface

Main interface pada frame-relay defaultnya adalah Multipoint, artinya Router membutuhkan mapping L3 ke L2. mappingnya bebas menggunakan dynamic mapping / InverseARP maupun Static Mapping.

Dynamic Mapping                                                                                                     


R1(config)#int s0/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
cukup dikonfigurasikan enkapsulasinya saja, karena menggunakan inverseARP yang otomatis akan aktif. InARP menggunakan LMI Status Message sebagai trigernya jadi jangan konfigurasikan "no keepalive"
R1(config-if)#encapsulation frame-relay
R1(config-if)#no shutdown
R3(config)#int s0/0
R3(config-if)#ip add 12.12.12.2 255.255.255.0
R3(config-if)#encapsulation frame-relay
R3(config-if)#no shut
untuk menjadikan ruter sebagai frame-relay switch gunakan "frame-relay switching".
R2(config)#frame-relay switching
R2(config)#int s0/0
R2(config-if)#frame-relay intf-type dce
R2(config-if)#frame-relay lmi-type cisco
R2(config-if)#frame-relay route 102 interface s0/1 201
R2(config-if)#no shutdown
R2(config)#int s0/1
R2(config-if)#encapsulation frame-relay 
R2(config-if)#frame-relay lmi-type cisco
R2(config-if)#frame-relay intf-type dce
R2(config-if)#frame-relay route 201 interface s0/0 102
R1(config-if)#do ping 12.12.12.2
Sending 5, 100-byte ICMP Echos to 12.12.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms
R1#show frame-relay map
Serial0/0 (up): ip 12.12.12.2 dlci 102(0x66,0x1860), dynamic,
              broadcast,, status defined, active
R3(config-if)#do sh frame-relay map
Serial0/0 (up): ip 12.12.12.1 dlci 201(0xC9,0x3090), dynamic,
              broadcast,, status defined, active

Static Mapping                                                                                                          


command broadcast harus dilakukan agar routing bisa berjalan melewati frame-relay
R1(config-if)#int s0/0
R1(config-if)#frame-relay map ip 12.12.12.2 102 broadcast
R3(config)#int s0/0
R3(config-if)#frame-relay map ip 12.12.12.1 201 broadcast

R1#show frame-relay map
Serial0/0 (up): ip 12.12.12.2 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
R2#show frame-relay map
Serial0/0 (up): ip 12.12.12.1 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active