|
CertExams.com Simulator Lab Exercises Answers
|
OSPF configuration in single area
|
Description:
In OSPF single area, you configure OSPF network with an area ID. The
configuration example uses four routers working in area 200.
IP
Address Assignment Table
| R1-s0 |
192.168.1.1 |
255.255.255.0 |
| R2-w0/s0 |
192.168.1.2 |
255.255.255.0
|
| R2-w0/s1 |
192.168.2.1 |
255.255.255.0 |
| R2-w1/s0 |
192.168.3.1 |
255.255.255.0 |
| R3-s0 |
192.168.2.2 |
255.255.255.0 |
| R4-s0 |
192.168.3.2 |
255.255.255.0 |
Instructions:
1.
Based on the given network configuration, use appropriate commands to
configure OSPF in networks 192.168.1.0, 192.168.2.0, 192.168.3.0 within
area 200
2.
Ping R3 and R4 from R1 and verify connectivity
3.
Ping R1 and R3 from R4 and verify connectivity
Note
: You need to assign the IP addresses and make the interfaces up (by
issuing no shutdown commands at appropriate interfaces) for all the
devices before proceeding with the following commands
On R1:
R1(config)#router ospf 1
R1(config-router)#network 192.168.1.0 0.0.0.255 area 200
R1(config-router)#exit
R1(config)#exit
R1#
On R2:
R2(config)#router ospf 1
R2(config-router)#network 192.168.1.0 0.0.0.255 area 200
R2(config-router)#network 192.168.2.0 0.0.0.255 area 200
R2(config-router)#network 192.168.3.0 0.0.0.255 area 200
R2(config-router)#exit
R2(config)#exit
R2#
On R3:
R3(config)#router ospf 1
R3(config-router)#network 192.168.2.0 0.0.0.255 area 200
R3(config-router)#exit
R3(config)#exit
R3#
On R4:
R4(config)#router ospf 1
R4(config-router)#network 192.168.3.0 0.0.0.255 area 200
R4(config-router)#exit
R4(config)#exit
R4#
On R1:
R1#ping R3
R1#ping R4
On R4:
R4#ping R1
R4#ping R3
|