Lab8:1OSPFClassHardwareLab - echadbourne/NET-330 GitHub Wiki
Network diagram and assignments:
East/west router config
The instructions here are from the east router config, but the same process was used for the west router
Configure Interfaces
I configured them as follows:
- Fa0/0 - East Network
- Fa0/1 East Router to Data Center Network
Configure OSPF
The command for starting the configuration of ospf is Router(config)#router ospf [instance number]
- This is because you can set up different instances for a router serving two different ospf networks
- Then set up the networks for ospf discovery with this command: `Router(config-router)# network [net addres] [wildcard subnet mask] area [area number]
- For networks where all routers are serving the same area, this will be the same number, usually 0
- This is common in smaller ospf networks
Debugging
One issue we ran into was that we accidently assigned the same address to two different router interfaces. OSPF really doesn't like that, so we had to reset the OSPF to make it work again:
clear ip ospf process
Side note, in the cisco packet tracer lab I could not get this to work. Luckily I didn't need to, but I'm not sure why it didn't work
Also, there were some old interfaces set up on the router that would not clear with a reset. In order to clear that out, you can run this:
no int [interface name, like: fa0/0.10]
Data Center config
If the data center is a router, the same process used for the east router can be used for the data center and the border. If it is a multilayer switch, see the following:
Create the following VLAN database:
Set up the various interfaces to work with the vlans
Set up ospf
I also assume they enabled ip routing somewhere in there, since this is something you often have to do with multilayer switches