Information Technology Reference
In-Depth Information
Use an area ID of 0 for the OSPF area-id parameter. 0 will be used for the OSPF area ID
in all the network statements in this topology:
R1(config-router)# network 172.16.1.16 0.0.0.15 area 0
R1(config-router)#
Configure the router to advertise the 192.168.10.0/30 network attached to the Serial 0/0/0
interface.
Step 3.
R1(config-router)# network 192.168.10.0 0.0.0.3 area 0
R1(config-router)#
Configure the router to advertise the 192.168.10.4/30 network attached to the Serial 0/0/1
interface.
Step 4.
R1(config-router)# network 192.168.10.4 0.0.0.3 area 0
R1(config-router)#
When you are finished with the OSPF configuration for R1, return to privileged EXEC
mode.
Step 5.
R1(config-router)# end
%SYS-5-CONFIGI: Configured from console by console
R1#
Task 5: Configure OSPF on the R2 and R3 Routers
Enable OSPF routing on the R2 router using the router ospf command and a process ID
of 1.
Step 1.
R2(config)# router ospf 1
R2(config-router)#
Configure the router to advertise the LAN network 10.10.10.0/24 in the OSPF updates.
Step 2.
R2(config-router)# network 10.10.10.0 0.0.0.255 area 0
R2(config-router)#
Configure the router to advertise the 192.168.10.0/30 network attached to the Serial 0/0/0
interface.
Step 3.
R2(config-router)# network 192.168.10.0 0.0.0.3 area 0
R2(config-router)#
00:07:27: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.10.5 on Serial0/0/0 from
EXCHANGE to FULL, Exchange Done
Notice that when the network for the serial link from R1 to R2 is added to the OSPF con-
figuration, the router sends a notification message to the console stating that a neighbor
relationship with another OSPF router has been established.
Search WWH ::




Custom Search