LAB 8-CONFIGURING DYNAMIC ROUTING - OSPF
BACKGROUND
OSPF is a link state dynamic routing protocol. In this activity, the IP addressing is already
configured. You are responsible for configuring the three routers topology with basic single area
OSPFv2 and then verifying connectivity between end devices.
Use the following requirements to configure OSPF routing on all three routers:
- Process ID 10
- Area Number: 0
Use the wildcard mask in the network statement. For /24 ([Link]) subnet mask, the wild
card mask is calculated as follows:
255.255 .255.255
-
255.255 .255. 0
0 . 0 . 0 .255
LAB OBJECTIVES
Configure OSPF
Verify Configurations, Test Connectivity & Investigate Convergence
LAB TOOLS
Packet tracer 8.1
Packet tracer Activity: LAB8-PT-Configuring Dynamic -[Link]
LAB STEPS
Topology
1
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
G0/0/0 [Link] [Link] N/A
R1
S0/1/0 [Link] [Link] N/A
G0/0/0 [Link] [Link] N/A
S0/1/0 [Link] [Link] N/A
R2
S0/1/1 [Link] [Link] N/A
G0/0/1 [Link] [Link] N/A
G0/0/0 [Link] [Link] N/A
R3
S0/1/0 [Link] [Link] N/A
G0/0/0 [Link] [Link] N/A
Internet
Router G0/0/1 [Link] [Link] N/A
PC1 Fa0 [Link] [Link] [Link]
PC2 Fa0 [Link] [Link] [Link]
Webserver Fa0 [Link] [Link] [Link]
server Fa0 [Link] [Link] [Link]
SET UP THE ROUTERS
1. OPEN EACH ROUTER BY DOUBLE-CLICKING ON IT.
2. GO TO THE "PHYSICAL" TAB.
3. POWER OFF THE ROUTER USING THE POWER BUTTON.
4. INSTALL THE NIM-2T MODULE INTO THE FIRST SLOT ON THE
LEFT TO ENABLE SERIAL CONNECTIONS.
5. POWER THE ROUTER BACK ON.
PART 1: CONFIGURE OSPF
STEP 1: CONFIGURE OSPF ON R1.
a. Enter OSPF protocol configuration mode.
R1>en
R1#conf t
R1(config)# router ospf 10
b. Configure OSPF for the networks that connect to R1.
R1(config-router)# network [Link] [Link] area 0
R1(config-router)# network [Link] [Link] area 0
R1(config-router)#end
2
R1# wr
STEP 2: CONFIGURE OSPF ON R2.
a. Enter OSPF protocol configuration mode.
R2>en
R2#conf t
R2(config)# router ospf 10
b. Configure OSPF for the networks directly connected to R2.
R2(config-router)# network [Link] [Link] area 0
R2(config-router)# network [Link] [Link] area 0
R2(config-router)# network [Link] [Link] area 0
R2(config-router)# network [Link] [Link] area 0
R2(config-router)# end
R2# wr
STEP 3: CONFIGURE OSPF ON R3
Repeat Step 2 on R3.
R3>en
R3#conf t
R3(config)# router ospf 10
R3(config-router)# network [Link] [Link] area 0
R3(config-router)# network [Link] [Link] area 0
R3(config-router)# end
R3# wr
STEP 4: CONFIGURE OSPF ON INTERNET ROUTER
Repeat Step 2 on Internet Router.
Internet>en
Internet #conf t
Internet (config)# router ospf 10
Internet (config-router)# network [Link] 0.0.0.3area 0
Internet (config-router)# network [Link] [Link] area 0
Internet (config-router)# end
Internet # wr
PART 2: A. CONFIGURE THE DNS SERVER
1. OPEN THE WEBSERVER SETTINGS:
o Double-click on the webserver to access its settings.
3
2. SET UP DNS SERVICES ON THE SERVER:
o Navigate to the "Services" tab and select "DNS."
o In the DNS configuration section, add the following:
Name: [Link]
IP Address: [Link]
o Click "Add" to save the entry.
o Ensure the DNS service is switched "On."
3. CONFIGURE THE SERVER’S IP ADDRESS:
o Go to the "Config" tab, select "Interface," and assign the appropriate IP address to
the DNS server.
B. TEST THE SERVER SETUP
1. OPEN THE WEB BROWSER ON THE SERVER:
o Go to the "Desktop" tab, select the "Web Browser," and type [Link] into
the address bar to verify the DNS is working correctly.
2. CONFIGURE CLIENT PCS (PC1 AND PC2)
1. Setup IP Configuration:
o Double-click on PC0 and PC1 to access their settings.
o Go to the "Config" tab, select "Interface," and assign the IP address of the DNS
server to each PC.
2. Test from Client PCs:
o On each PC, go to the "Desktop" tab, open the "Web Browser," and enter
[Link] to confirm that the DNS resolution works correctly.
LAB RESULTS & VERIFICATION
STEP 1: VIEW ROUTING TABLES OF R1, R2, AND R3.
a. Click Fast Forward several times to speed-up convergence time. Use the appropriate
command to show the routing table of R1.
R1# show ip route
b. Verify that all networks now have an entry in the routing table. OSPF (O) now appears with
connected (C) and local (L) routes in the routing table.
c. Repeat the above steps on routers R2 and R3. Notice that each router has a full listing of all
the 192.168.x.0 networks.
STEP 2: VERIFY FULL CONNECTIVITY TO ALL DESTINATIONS.
Every device should now be able to ping every other device inside the network. In addition, all devices should be
able to ping, tracert the Web Server or browse it on [Link]
4
LAB CONCLUSION
To reach network convergence or full connectivity using dynamic OSPF:
To configure OSPF on each router with appropriate directly connected network
statements with wildcard subnet masks and setting the same area 0 on all.
To verify all subnets are present in all routers ’routing tables after the network
converges
To verify connectivity using ping, tracert or browsing