0% found this document useful (0 votes)
25 views4 pages

OSPF Step 1

Four routers were configured with loopback interfaces and OSPF routing. Router 1 has loopback interface 11.11.11.11/32, Router 2 has 22.22.22.22/32, Router 3 has 33.33.33.33/32, and Router 4 has 44.44.44.44/32. Each router was also configured with IP address 192.168.1.x on their FastEthernet0/0 interface and added to OSPF area 0. This established an OSPF neighbor relationship between the routers.

Uploaded by

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

OSPF Step 1

Four routers were configured with loopback interfaces and OSPF routing. Router 1 has loopback interface 11.11.11.11/32, Router 2 has 22.22.22.22/32, Router 3 has 33.33.33.33/32, and Router 4 has 44.44.44.44/32. Each router was also configured with IP address 192.168.1.x on their FastEthernet0/0 interface and added to OSPF area 0. This established an OSPF neighbor relationship between the routers.

Uploaded by

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

Loopback 1

Loopback 1

11.11.11.11/32

22.22.22.22/32

192.168.1.1/2
4

192.168.1.4/2
4

192.168.1.2/2
4

192.168.1.3/2
4

Loopback 1

Loopback 1

33.33.33.33/32

44.44.44.44/32

STEP 1
Router 1:
R1>
R1>Enable
R1#Configure Terminal
R1(Config)#Interface F0/0
R1(Config-if)#ip address 192.168.1.1 255.255.255.0
R1(Config-if)#No shutdown
R1(Config-if)#Exit
R1(Config)#Interface loopback 1

R1(Config-if)#ip address 11.11.11.11 255.255.255.255


R1(Config-if)#Exit
R1(Config)#Router ospf 1
R1(Config-Router)#Network 192.168.1.0 0.0.0.255 area 0
R1(Config-Router)#Network 11.11.11.11 0.0.0.0 area 0
R1(Config-Router)#End
R1#
R1#show ip ospf neighbor

Neighbor ID

Pri

State

Dead Time

22.22.22.22
1
FastEthernet0/0

FULL/DR

00:00:32

33.33.33.33
1
FastEthernet0/0

2WAY/DROTHER

44.44.44.44
1
FastEthernet0/0

FULL/BDR

Address
192.168.1.2

00:00:36

00:00:31

Interface

192.168.1.3

192.168.1.4

R1#show ip protocols
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 11.11.11.11
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
11.11.11.11 0.0.0.0 area 0
192.168.1.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps
Routing Information Sources:
Gateway
44.44.44.44

Distance
110

Last Update
00:01:09

33.33.33.33

110

00:01:09

22.22.22.22

110

00:01:09

Distance: (default is 110)

R1Show ip ospf

Router 2:
R2>
R2>Enable
R2#Configure Terminal
R2(Config)#Interface F0/0
R2(Config-if)#ip address 192.168.1.2 255.255.255.0
R2(Config-if)#No shutdown
R2(Config-if)#Exit
R2(Config)#Interface loopback 1
R2(Config-if)#ip address 22.22.22.22 255.255.255.255
R2(Config-if)#Exit
R2(Config)#Router ospf 1
R2(Config-Router)#Network 192.168.1.0 0.0.0.255 area 0
R2(Config-Router)#Network 22.22.22.22 0.0.0.0 area 0
R2(Config-Router)#End
R2#

Router 3:
R3>
R3>Enable
R3#Configure Terminal
R3(Config)#Interface F0/0
R3(Config-if)#ip address 192.168.1.3 255.255.255.0

R3(Config-if)#No shutdown
R3(Config-if)#Exit
R3(Config)#Interface loopback 1
R3(Config-if)#ip address 33.33.33.33 255.255.255.255
R3(Config-if)#Exit
R3(Config)#Router ospf 1
R3(Config-Router)#Network 192.168.1.0 0.0.0.255 area 0
R3(Config-Router)#Network 33.33.33.33 0.0.0.0 area 0
R3(Config-Router)#End
R3#

Router 4:
R4>
R4>Enable
R4#Configure Terminal
R4(Config)#Interface F0/0
R4(Config-if)#ip address 192.168.1.4 255.255.255.0
R4(Config-if)#No shutdown
R4(Config-if)#Exit
R4(Config)#Interface loopback 1
R4(Config-if)#ip address 44.44.44.44 255.255.255.255
R4(Config-if)#Exit
R4(Config)#Router ospf 1
R4(Config-Router)#Network 192.168.1.0 0.0.0.255 area 0
R4(Config-Router)#Network 44.44.44.44 0.0.0.0 area 0
R4(Config-Router)#End
R4#

You might also like