0% found this document useful (0 votes)
193 views11 pages

OSPF - Single Area - Serial Link: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)

The document discusses configuring OSPF on point-to-point serial links in a single area. It describes enabling OSPF on routers R2, R4 and R5, assigning each a router ID, and configuring their loopback interfaces and serial links in area 0. It also provides verification commands to check the OSPF neighbor status and routes learned.

Uploaded by

Avishkar Gote
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
193 views11 pages

OSPF - Single Area - Serial Link: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)

The document discusses configuring OSPF on point-to-point serial links in a single area. It describes enabling OSPF on routers R2, R4 and R5, assigning each a router ID, and configuring their loopback interfaces and serial links in area 0. It also provides verification commands to check the OSPF neighbor status and routes learned.

Uploaded by

Avishkar Gote
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

OSPF – Single Area

– Serial Link
KHAWAR BUTT
CCIE # 12353 [R/S, SECURITY, SP, DC, VOICE, STORAGE & CCDE]
Overview
 Overview of Basic OSPF Configuration
 Configuring OSPF on a Point – To – Point Serial Link
 Lab Configuration c
Lab Diagram
Loopback0
1.0.0.0/8

Loopback0 Loopback0
2.0.0.0/8 3.0.0.0/8
R1

E 0/0
Loopback0
c 6.0.0.0/8

R2 R3
E 0/0 E 0/0
S 1/0 192.168.100.0/24 E 0/1

R6
192.168.101.0/24 192.168.103.0/24 E 0/0

S 1/0
E 0/0
R5
S 1/1 R4
S 1/0
192.168.102.0/24

Loopback0
5.0.0.0/8 Loopback0
4.0.0.0/8
Basic OSPF Configuration
All Routing Protocols are enabled by using the “Router” command.

In order to enable OSPF, you use the “Router OSPF” command followed by a
process ID. c

The Process is locally significant. It does not need to match the neighboring router.

To enable OSPF, you type

R1(config)#Router ospf 1
R1(config-router)#
Basic OSPF Configuration
 OSPF Routers requires a unique identifier. This ID is known as the Router
ID.
 It can be set either of the 3 ways and in that order.
1. Manually under the Router ospf processc using the “router-id” command.
2. If the command is missing under the process, OSPF tries to pick the router-id
based on the Highest IP address on a Loopback.
3. If you don't have a loopback interface, it will use the highest IP address on any
Physical Interface.

R1(config)#Router ospf 1
R1(config-router)#router-id 0.0.0.1
Network Command
 Just like the other Routing protocols, the “Network” Command is used by the Routing
Protocols on the specified Interface.
 By Enabling the routing protocol under the interface, it will take the following 2 actions:
• 1. It will allow the router to send and receive OSPF updates on that interface.
c
• 2. It will send/advertise this interface network on other OSPF enabled interfaces.
 In OSPF, the network command allows you the ability to enable OSPF on a Major network or
subnets. The subnets can be specified using a Inverse Mask.
 The Area that the interface belongs to is also specified in the Network Command.
 You enable OSPF on all the directly connected interfaces.
R1(config)#Router OSPF 1
R1(config-router)#Network 10.1.1.0 0.0.0.255 area 0
R1(config-router)#Network 11.0.0.0 0.255.255.255 area 0
R1(config-router)#Network 192.1.13.0 0.0.0.255 area 0
Configuring OSPF on a Point –
To – Point Serial Interface
 OSPF detects a Point-to-Point Interface by looking at the Encapsulation of
the Interface. When it sees either HDLC or PPP as the encapsulation, it
knows it is a Point-to-point segment.
c

 A P2P segment will only have 1 neighbor hence does not require a DR or
BDR.

 There is no DR or BDR on a Point – To – Point Segment.


Lab Configuration
 Configure OSPF in Area 0 on the Point – To – Point Serial Links. The Point –
To – Point Links are connected to R2, R4 & R5. Also enable OSPF on the
Loopback Interfaces on these routers.
c

 Assign each router a Router ID manually using the 0.0.0.X format, where X
is the router #.

 R2, R4 & R5 loopbacks should be reachable to each other.


Lab Configuring
R2

R2(config)#Router OSPF 1
R2(config-router)#router-id 0.0.0.2
R2(config-router)#network 192.168.101.0 0.0.0.255 area 0
R2(config-router)#network 2.0.0.0 0.255.255.255 area 0
c
R4

R4(config)#Router OSPF 1
R4(config-router)#router-id 0.0.0.4
R4(config-router)#network 192.168.102.0 0.0.0.255 area 0
R4(config-router)#network 4.0.0.0 0.255.255.255 area 0
R5

R5(config)#Router OSPF 1
R5(config-router)#router-id 0.0.0.5
R5(config-router)#network 192.168.101.0 0.0.0.255 area 0
R5(config-router)#network 192.168.102.0 0.0.0.255 area 0
R5(config-router)#network 4.0.0.0 0.255.255.255 area 0
Verifications
 Type Show IP OSPF Neighbors on R5. You should see 2 Neighbors listed.

 Type Show IP route OSPF on R2. You should see the Loopback Interfaces of
R4 & R5. They will be listed as a Hostcrouter “/32”. This is due to the fact that
OSPF treats a Loopback as a Host and advertises it with a /32 mask.

 Type Show IP OSPF Interface S 1/0 on R4. The Link will have a Network
Type of Loopback.

 Type Show IP OSPF Interface S 1/0 on R2. The Link will have a Network
Type of Point-to-point.
Whiteboard

You might also like