ASNT Lab Work


OSPF Routing
Introduction
OSPF Routing Lab Part 1
OSPF Routing Lab Part 2
OSPF Routing Lab Part 3
OSPF Routing Lab Part 4
OSPF Routing Lab Part 5
OSPF Routing Lab Part 6
Reflection
Further work


For ALL lab work in this course, you are expected to keep notes of the labs/workshops in a Log Book.
Your Log Books will be assessed during this course and will be handed in at the end of the course.
They may be analogue or digital in nature.

Introduction

Today's work is to use OSPF to route between two networks that have VLANs already enabled.

You will need to reuse the file 
vlan-lab-04.pkt that you created in the Inter VLAN Routing lab work last week.

This will be important to allow you to design your own OSPF routed VLAN network when required.


OSPF Routing Lab Part 1

Open Packet Tracer 5.0

Open your copy of
vlan-lab-04.pkt



Save your network as vlan-lab-06.pkt


Single Area OSPF

Here we will migrate our network to OSPF by ADDING OSPF routing to the existing RIP v2 configuration, testing the OSPF then DELETING the RIP routing configs.

Firstly we will use one single area which we will name AREA 0.

1.  Check that RIP V2 is still working by checking the routing tables and pinging distant hosts. Troubleshoot as necessary.

2.  Enter each router's CLI then type: enable, then configure terminal.

3.  router ospf 100 (this lets the router know that you want OSPF to use process 100)

4. 
Add all connected networks for each of the three routers using the following syntax:

network 192.168.1.x 0.0.0.y area 0 (note that x will be the specific network number and y will be the specific wild card bits for that network - this is the binary inverse of the subnet mask!).

5. 
Don't forget to add the serial links.

6.  Save all router configurations on the routers themselves..

7.  Check that you can see all networks in the routing table.

8. Use the command show ip protocols - you should receive output similar to that shown below:

Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 4 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0.1     2     2    
  FastEthernet0/0.2     2     2    
  FastEthernet0/0.3     2     2    
  Serial0/0             2     2    
  Serial0/2             2     2    
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
    172.16.0.0
    192.168.1.0
Passive Interface(s):
Routing Information Sources:
    Gateway         Distance      Last Update
    172.16.0.9           120      00:00:22
    172.16.0.1           120      00:00:01
Distance: (default is 120)

Routing Protocol is "ospf 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 192.168.1.97
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    192.168.1.32 0.0.0.31 area 0
    192.168.1.64 0.0.0.31 area 0
    192.168.1.96 0.0.0.31 area 0
    172.16.0.0 0.0.0.3 area 0
    172.16.0.8 0.0.0.3 area 0
  Routing Information Sources: 
    Gateway         Distance      Last Update
    172.16.0.1           110      00:08:17
    172.16.0.9           110      00:08:19
  Distance: (default is 110)


9. If you do not receive similar output, troubleshoot as necessary.

10. Make notes as to the 'Distance' of each of the two routing protocols. This is known as the Administrative Distance. What is the numerical difference between the distances?

11. What is the importance of the
Administrative Distance? Use a search engine if you are not sure.

Make notes in your Log Book

Save your network!


When you have finished this part, you may proceed.

OSPF Routing Lab Part 2

Tidying up the Routing

Now you will remove RIP v2 from each router

1.  Enter each router's CLI tean type: enable, then configure terminal.
 
2. 
Type no router rip.

3. 
Enter the command do show ip protocols

4. 
Which routing protocols are now in use? Why do you think this has happened? Make notes.

5.  What is the router's current command prompt? What command mode are you in? How did you manage to get the output from a priv exec command?


Discuss with your colleagues possible reasons for your results above.

6.  Type do show ip route. How many networks are being reported by OSPF?


Make notes in your Log Book

When you have finished this part, you may proceed.



Save your network again!

OSPF Routing Lab Part 3

More Routing Tidying

Whenever a routing update or Hello message is sent, it is multicast to all other routers via every router interface. How many routers are there connected via the Fast Ethernet interfaces of the routers (except for the directly attached routers themselves)?

1. 
What are the consequences (if any) of sending routing information via an interface that does not lead to another router?

2. 
Enter each router's CLI then type: enable, then configure terminal.

3.  Enter the ospf routing process.

4. 
Type passive-interface FastEthernet 0/0 

5. 
Do you think that this is good or bad for the network?

Discuss with your colleagues.

Make notes in your Log Book

When you have finished this part, you may proceed.

Save your network again!

OSPF Routing Lab Part 4

Add the Kings Hill Campus

Kings Hill is another part of the University. It is used for administration and has no VLANs. Its IP range is 193.60.64.0 /24. It has a low-end router that can only support RIP Version 2. Connect this to the Medway Router. Use the RFC 1918 address range 172.16. /12 for the serial link.

1.  Add an 1841 router to the network and a suitable switch.

2.  Rename the new Router as Kings-Hill, label the switch as Wantsum. Use the lowest address from
193.60.64.0 /24 for the Fast Ethernet interface of the Kings Hill router.

3.  Use the Medway router to supply internetworking and a suitable clockrate. Add only one PC to the Kings Hill network. give it the lowest available IP address from the IP range supplied.

4. 
Add  /30 addressing to the serial interfaces of the Kings Hill router . Do the same with the Medway router.

5.
For both the Medway and Kings Hill routers, add RIP version 2. Add all connected interfaces to each of these two routers' RIP configuration.

6. Save the configs on both routers.

7.  Check the routers' routing tables. Is there anything wrong?

8. Check for full connectivity.

Make notes in your Log Book

When you have finished this part, you may proceed.

Save your network again!

OSPF Routing Lab Part 5

OSPF and dealing with routes learned from RIP

Open the CLI of the Avery Hill router. Examine the routing table.

1.  What is the network  number for the Kings Hill LAN?

2.  Can you see this in the Avery Hill routing table? Can the VLANs attached to the Avery Hill router contact the Kings Hill pc?

3.  Make a copy of the Avery Hill routing table.

4.  Is this the same situation for Greenwich?

5.  Look at the routing table for Medway. Can you see the Kings Hill LAN?

6.  Which routing protocol has supplied the Medway router with the King's Hill LAN address?

7.  Why has the information not reached the rest of the network?

Discuss with your colleagues. you may need to use a search engine to answer this.

Make notes in your Log Book

When you have finished this part, you may proceed.

Save your network again!

OSPF Routing Lab Part 6

Forcing OSPF to include RIP learned routes

OSPF will not by default propagate routes learned from other routing protocols. to accomplish this we need to inform the router that is running both RIP and OSPF that we would like it to share the RIP routes with OSPF so that all other campuses are ware of the Kings Hill network.

1. Enter the OSPF routing process of the Medway router.

2. Type ? followed by Return (Enter)

Medway(config-router)#?
  area                   OSPF area parameters
  default-information    Control distribution of default information
  exit                   Exit from routing protocol configuration mode
  log-adjacency-changes  Log changes in adjacency state
  network                Enable routing on an IP network
  no                     Negate a command or set its defaults
  passive-interface      Suppress routing updates on an interface
  redistribute           Redistribute information from another routing protocol
  router-id              router-id for this OSPF process

3.  We need to use the
redistribute command here. What options  are available in the redistribute sub-menu?

4.  Type
redistribute rip 

5.  Save your configuration on the Medway router.

6.  Revisit the routing table of the Avery Hill router and look for the Kings Hill network. It should now be present.

7.  The code before the IP range of Avery Hill indicates the method by which the router has learnt about Kings Hill.

8.  What is the code and what does this mean? The codes are shown above the routing table.

9.  Now try to ping the Kings Hill PC from Avery Hill. If you do not have success - troubleshoot as necessary.



Reflection

Now that you have created a fully operational OSPF routed VLANned network with four campuses, you should be able to describe the necessary components of a more complex VLAN that uses OSPF.
 
Discuss this with a lab partner so that you are fully aware of the necessary hardware and logical information that would be required to set-up a VLAN with multiple campuses.

Make brief notes in your Log Book concerning the necessary hardware and any logical settings that will be required to set-up this OSPF routed VLANned network.


Further Work (optional)

Now that you have a fully operational OSPF routed VLAN, save your network with a different name.

Save your network as vlan-lab-07.pkt

Add DHCP servers to all routers
Adjust the PCs to accept DHCP data
Make sure that the DHCP pools for each VLAN are correctly named
Give descriptions to all interfaces
Add passwords to each router.
Add ACLs to prevent students from accessing either Staff or Admin VLANs from any location.
Check for full connectivity when you have finished
Check your routing tables.

Remember to SAVE your work regularly.





© 2008 Mark Clements