Pic. 1 - Topology Diagram.
Task 1
Enable OSPF area 0 between R1 and R2 on their FastEthernet interfaces (refer to pic.1).
Task 2
Enable OSPF Simple Password authentication in area 0. Configure R1 to use this authentication methods in the 'router ospf' context. R2, R3, and R4 should have their authentication enabled on their respective interfaces. Use the password 'G33K' on all routers.
Questions
Task 2
Enable OSPF Simple Password authentication in area 0. Configure R1 to use this authentication methods in the 'router ospf' context. R2, R3, and R4 should have their authentication enabled on their respective interfaces. Use the password 'G33K' on all routers.
Questions
- What is the purpose of authenticating routing packets?
- What are the OSPF authentication methods?
- What are the differences between them?
- What are the methods of implementing OSPF authentication?
Lab Solution
Solution configuration below:
https://docs.google.com/file/d/0BwE5C95tpjZOZWZIX1NjLXlRcDQ/edit?usp=sharing
R1 Config:
!
interface FastEthernet0/0
ip ospf 1 area 0
!
R2 Config:
!
interface FastEthernet0/0
ip ospf 1 area 0
!
What You Should See
Task 2
Enable OSPF Simple Password authentication in area 0. Configure R1 to use this authentication methods in the 'router ospf' context. R2, R3, and R4 should have their authentication enabled on their respective interfaces. Use the password 'G33K' on all routers.
Solution configuration below:
https://docs.google.com/file/d/0BwE5C95tpjZOZWZIX1NjLXlRcDQ/edit?usp=sharing
Task 1
Enable OSPF area 0 between R1 and R2 on their FastEthernet interfaces (refer to pic.1).R1 Config:
!
interface FastEthernet0/0
ip ospf 1 area 0
!
R2 Config:
!
interface FastEthernet0/0
ip ospf 1 area 0
!
What You Should See
Pic. 2.
Pic. 3.
Enable OSPF Simple Password authentication in area 0. Configure R1 to use this authentication methods in the 'router ospf' context. R2, R3, and R4 should have their authentication enabled on their respective interfaces. Use the password 'G33K' on all routers.
R1 Config:
!
router ospf 1
area 0 authentication
!
interface FastEthernet0/0
ip ospf authentication-key G33K
!
interface Serial0/0
ip ospf authentication-key G33K
!
R2 Config:
!
interface FastEthernet0/0
ip ospf authentication
ip ospf authentication-key G33K
!
R3 Config:
!
interface Serial0/0
ip ospf authentication
ip ospf authentication-key G33K!
R4 Config:
interface Serial0/0
ip ospf authentication
ip ospf authentication-key G33KAll R1's neighbors are back.
Study Drill
OSPF (like any other routing protocol) uses authentication to prevent rogue routers from joining the routing domain. OSPF has two major methods of authenticating its packets:
OSPF (like any other routing protocol) uses authentication to prevent rogue routers from joining the routing domain. OSPF has two major methods of authenticating its packets:
- Simple Password (clear text).
- MD5
Both authentication methods can be enabled in router context or on an interface.