40 likes | 50 Views
Learn how to set up OSPF quickly and efficiently with minimal configuration. Follow step-by-step instructions to work with OSPF in a safe environment. Do not attempt on a production network. Steps include setting a static default route on your PC, deleting static routes on the Cisco Router, and performing the magic OSPF configuration.
E N D
OSPF “Magic” Exercise • We will use a “quick and dirty” setup to make OSPF work with minimal configuration. • WARNING • DO NOT do this on your production network. • Production networks should use slightly more complex, but safer, techniques.
Step 1: • Ensure that your PC has a static default route to the router. Check with: • $ netstat -rn -f inet • If there is no static route entry, add it with: • $ route add default routerEth1IP
Step 2: • Delete all static routes (including default) on the Cisco Router # sh ip route For all static routes displayed above … # conf t # no ip route x.x.x.x y.y.y.y z.z.z.z # end # sh ip route
Step 3: • Perform the MAGIC # conf t # router ospf 1 # network 0.0.0.0 255.255.255.255 area 0 # redistribute connected subnets # end # sh ip route