ospf “magic” exercise we will use a “quick and dirty” configuration to make ospf work with...

4
OSPF “Magic” Exercise We will use a “quick and dirty” configuration to make OSPF work with minimal configuration. DO NOT do this on your production network. Production networks should use slightly more complex, but safer, techniques.

Upload: lilian-barrett

Post on 03-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OSPF “Magic” Exercise We will use a “quick and dirty” configuration to make OSPF work with minimal configuration. DO NOT do this on your production network

OSPF “Magic” Exercise

• We will use a “quick and dirty” configuration to make OSPF work with minimal configuration.

• DO NOT do this on your production network.

• Production networks should use slightly more complex, but safer, techniques.

Page 2: OSPF “Magic” Exercise We will use a “quick and dirty” configuration to make OSPF work with minimal configuration. DO NOT do this on your production network

Step 1:

• Ensure that your PC has a static default route to the router

• $ netstat -rn -f inet

• If there is no static route entry,

• $ route add default routerEth1IP

Page 3: OSPF “Magic” Exercise We will use a “quick and dirty” configuration to make OSPF work with minimal configuration. DO NOT do this on your production network

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

# .

# ^Z

# sh ip route

Page 4: OSPF “Magic” Exercise We will use a “quick and dirty” configuration to make OSPF work with minimal configuration. DO NOT do this on your production network

Step 3:

• Perform the MAGIC

# conf t

# router ospf 1

# network 0.0.0.0 255.255.255.255 area 0

# redistribute connected subnets

# ^Z

# sh ip route