OSPF route authentication (neighbor, region, and virtual link)

Source: Internet
Author: User

A simple record is nothing special.

OSPF Authentication experiment solution:

1. R1 and R2 perform neighbor md5 authentication

2. Perform Regional md5 authentication in area 2

3. Create a virtual link based on area1 between R1 and R2 for md5 authentication.

R1 main configuration information:

!
Interface Loopback0
Ip address 1.1.1.1 255.255.255.255
Ip ospf 1 area 0
!
Interface FastEthernet0/0
Ip address 192.168.1.1 255.255.255.0
Ip ospf authentication message-digest // enable OSPF neighbor md5 authentication on the Interface
Ip ospf message-digest-key 1 md5 cisco // configure the OSPF neighbor authentication key on the Interface
Ip ospf 1 area 1
!
Router ospf 1
Router-id 1.1.1.1
Log-adjacency-changes
Area 1 virtual-link 2.2.2.2 authentication message-digest // enable md5 authentication on the virtual link
Area 1 virtual-link 2.2.2.2 message-digest-key 1 md5 vlink // create a virtual link and configure the OSPF virtual link Authentication key
!

R2 main configuration information:

!
Interface FastEthernet0/0
Ip address 192.168.1.2 255.255.255.0
Ip ospf authentication message-digest // enable OSPF neighbor md5 authentication on the Interface
Ip ospf message-digest-key 1 md5 cisco // configure the OSPF neighbor authentication key on the Interface
Ip ospf 1 area 1
!
Interface FastEthernet1/0
Ip address 192.168.2.1 255.255.255.0
Ip ospf message-digest-key 1 md5 area // configure the regional authentication key on the interface of the Region
Ip ospf 1 area 2
!
Router ospf 1
Router-id 2.2.2.2
Log-adjacency-changes
Area 1 virtual-link 1.1.1.1 authentication message-digest // enable md5 authentication on the virtual link
Area 1 virtual-link 1.1.1.1 message-digest-key 1 md5 vlink // create a virtual link and configure the OSPF virtual link Authentication key
Area 2 authentication message-digest // configure md5 authentication in the OSPF region on area2
!

R3 configuration information:

!
Interface FastEthernet0/0
Ip address 192.168.2.2 255.255.255.0
Ip ospf message-digest-key 1 md5 area // configure the regional authentication key on the interface of the Region
Ip ospf 1 area 2
!
Router ospf 1
Router-id 3.3.3.3
Log-adjacency-changes
Area 2 authentication message-digest // configure md5 authentication in the OSPF region on area2
!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.