OSPF over Frame-Relay, configure OSPF over Frame-Relay point-to-point PVC

# OSPF over Frame-Relay, http://gns3vault.com/Frame-Relay/ospf-over-frame-relay.html
# TOPOLOGY
# There’re three routers connected to Frame-Relay cloud
# R14 is HUB, R15 and R16 are SPOKEN

# Objectives
# Configure OSPF over Frame-Relay point-to-point PVC

1. Create loopbacks on all routers:
R14: 172.28.0.14/32
R15: 172.28.0.15/32
R16: 172.28.0.16/32
2. Configure OSPF on all routers (172.28.64.32/29 subnet).
3. Advertise all loopbacks in OSPF.
4. R1 should be the OSPF designated router.

# r14
configure terminal
interface Loopback0
ip address 172.28.0.14 255.255.255.255
interface Serial1/0
encapsulation frame-relay
no arp frame-relay
no frame-relay inverse-arp
interface Serial1/0.514 point-to-point
ip address 172.28.64.33 255.255.255.252
frame-relay interface-dlci 514
interface Serial1/0.614 point-to-point
ip address 172.28.64.37 255.255.255.252
frame-relay interface-dlci 614
end

configure terminal
router ospf 100
router-id 172.28.0.14
log-adjacency-changes detail
network 172.28.0.14 0.0.0.0 area 0
network 172.28.64.33 0.0.0.0 area 0
network 172.28.64.37 0.0.0.0 area 0
end

# r15
configure terminal
interface Loopback0
ip address 172.28.0.15 255.255.255.255
interface Serial1/0
encapsulation frame-relay
no arp frame-relay
no frame-relay inverse-arp
interface Serial1/0.415 point-to-point
ip address 172.28.64.34 255.255.255.252
frame-relay interface-dlci 415
end

configure terminal
router ospf 100
router-id 172.28.0.15
log-adjacency-changes detail
network 172.28.0.15 0.0.0.0 area 0
network 172.28.64.34 0.0.0.0 area 0
end

# r16
configure terminal
interface Loopback0
ip address 172.28.0.16 255.255.255.255
interface Serial1/0
encapsulation frame-relay
no arp frame-relay
no frame-relay inverse-arp
interface Serial1/0.416 point-to-point
ip address 172.28.64.38 255.255.255.252
frame-relay interface-dlci 416
end

configure terminal
router ospf 100
router-id 172.28.0.16
log-adjacency-changes detail
network 172.28.0.16 0.0.0.0 area 0
network 172.28.64.32 0.0.0.7 area 0
end

# Verify if you have full connectivity.
#
show frame-relay map

show frame-relay pvc 514

show frame-relay pvc 614

show frame-relay pvc 415

show frame-relay pvc 416

show ip ospf neighbor

show ip route
# RESULT on R14
#
r14#show frame-relay map
Serial1/0.514 (up): point-to-point dlci, dlci 514(0x202,0x8020), broadcast
status defined, active
Serial1/0.614 (up): point-to-point dlci, dlci 614(0x266,0x9860), broadcast
status defined, active
r14#
r14#show frame-relay pvc 514

PVC Statistics for interface Serial1/0 (Frame Relay DTE)

DLCI = 514, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/0.514

input pkts 27 output pkts 33 in bytes 3135
out bytes 3779 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 33 out bcast bytes 3779
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:02:56, last time pvc status changed 00:02:56
r14#
r14#show frame-relay pvc 614

PVC Statistics for interface Serial1/0 (Frame Relay DTE)

DLCI = 614, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/0.614

input pkts 16 output pkts 29 in bytes 1982
out bytes 3407 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 29 out bcast bytes 3407
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:02:56, last time pvc status changed 00:02:56
r14#
r14#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
172.28.0.16 0 FULL/ – 00:00:39 172.28.64.38 Serial1/0.614
172.28.0.15 0 FULL/ – 00:00:32 172.28.64.34 Serial1/0.514
r14#
r14#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
+ – replicated route, % – next hop override

Gateway of last resort is not set

172.28.0.0/16 is variably subnetted, 7 subnets, 2 masks
C 172.28.0.14/32 is directly connected, Loopback0
O 172.28.0.15/32 [110/65] via 172.28.64.34, 00:02:14, Serial1/0.514
O 172.28.0.16/32 [110/65] via 172.28.64.38, 00:01:08, Serial1/0.614
C 172.28.64.32/30 is directly connected, Serial1/0.514
L 172.28.64.33/32 is directly connected, Serial1/0.514
C 172.28.64.36/30 is directly connected, Serial1/0.614
L 172.28.64.37/32 is directly connected, Serial1/0.614
r14#

# RESULT on R15
#
r15#show frame-relay map
Serial1/0.415 (up): point-to-point dlci, dlci 415(0x19F,0x64F0), broadcast
status defined, active
r15#
r15#show frame-relay pvc 415

PVC Statistics for interface Serial1/0 (Frame Relay DTE)

DLCI = 415, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/0.415

input pkts 38 output pkts 33 in bytes 4500
out bytes 3936 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 33 out bcast bytes 3936
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:03:34, last time pvc status changed 00:03:34
r15#
r15#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
172.28.0.14 0 FULL/ – 00:00:32 172.28.64.33 Serial1/0.415
r15#
r15#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
+ – replicated route, % – next hop override

Gateway of last resort is not set

172.28.0.0/16 is variably subnetted, 6 subnets, 2 masks
O 172.28.0.14/32 [110/65] via 172.28.64.33, 00:03:11, Serial1/0.415
C 172.28.0.15/32 is directly connected, Loopback0
O 172.28.0.16/32 [110/129] via 172.28.64.33, 00:01:55, Serial1/0.415
C 172.28.64.32/30 is directly connected, Serial1/0.415
L 172.28.64.34/32 is directly connected, Serial1/0.415
O 172.28.64.36/30 [110/128] via 172.28.64.33, 00:03:11, Serial1/0.415
r15#

# RESULT on R16
#
r16#show frame-relay map
Serial1/0.416 (up): point-to-point dlci, dlci 416(0x1A0,0x6800), broadcast
status defined, active
r16#
r16#show frame-relay pvc 416

PVC Statistics for interface Serial1/0 (Frame Relay DTE)

DLCI = 416, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1/0.416

input pkts 34 output pkts 23 in bytes 3831
out bytes 2867 dropped pkts 0 in pkts dropped 0
out pkts dropped 0 out bytes dropped 0
in FECN pkts 0 in BECN pkts 0 out FECN pkts 0
out BECN pkts 0 in DE pkts 0 out DE pkts 0
out bcast pkts 23 out bcast bytes 2867
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
pvc create time 00:03:32, last time pvc status changed 00:03:32
r16#
r16#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
172.28.0.14 0 FULL/ – 00:00:32 172.28.64.37 Serial1/0.416
r16#
r16#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
+ – replicated route, % – next hop override

Gateway of last resort is not set

172.28.0.0/16 is variably subnetted, 6 subnets, 2 masks
O 172.28.0.14/32 [110/65] via 172.28.64.37, 00:02:06, Serial1/0.416
O 172.28.0.15/32 [110/129] via 172.28.64.37, 00:02:06, Serial1/0.416
C 172.28.0.16/32 is directly connected, Loopback0
O 172.28.64.32/30 [110/128] via 172.28.64.37, 00:02:06, Serial1/0.416
C 172.28.64.36/30 is directly connected, Serial1/0.416
L 172.28.64.38/32 is directly connected, Serial1/0.416
r16#

Advertisements
This entry was posted in Routing and Switching. Bookmark the permalink.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s