OSPF Authentication
Lab Objectives
- Configure OSPF to route for the networks shown, use the most specific wildcard mask you can for each subnet.
- Configure routers 1, 2, and 3 with MD5 authentication.
- Configure routers 1 and 4 with a different MD5 authentication.
- Configure routers 4, 5, and 6 with a MD5 authentication different from router 1 and 4.
Completed Router Configurations
The following are the completed router configurations for this lab.
Router 1 Config
Router 2 Config
Router 3 Config
Router 4 Config
Router 5 Config
Router 6 Config
Changes Made
- OSPF was configured to route for apropriate networks by entering the 'network IPmask SubnetMask area 0' command.
- Routers 1, 2, and 3 were configured with authentication by issuing the 'ip ospf message-digest-key key# md5 keystring' command in interface configuration mode and then the 'area 0 authentication message-digest' command was entered in OSPF config to enable authentication in area 0.
- Step 2 is repeated by with a different key# and keystring for authentication between routers 1 and 4.
- Step 2 is then repeated with the same key# and keystring for authentication between routers 4, 5, and 6.
Testing and Verifying
- The 'show ip protocols' command will display the networks we are routing for. We should check the wildcard masks here to ensure we have the most specific mask possible.
2. Verify authentication is configured with the 'show ip ospf interface int' command. Verify that routers are still exchanging updates by
viewing the neighbor table in OSPF.
viewing the neighbor table in OSPF.