Difference between revisions of "Quagga: OSPF Authentication"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13697-25.html These are the three different types of authentication supported by OSPF. *...")
 
 
Line 1: Line 1:
Sumber: https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13697-25.html
+
Sumber: https://www.nongnu.org/quagga/docs/docs-multi/OSPF-Configuration-Examples.html
  
 
These are the three different types of authentication supported by OSPF.
 
These are the three different types of authentication supported by OSPF.
Line 37: Line 37:
 
==Referensi==
 
==Referensi==
  
* https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/13697-25.html
+
* https://www.nongnu.org/quagga/docs/docs-multi/OSPF-Configuration-Examples.html
  
==Pranala Menarik==
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Latest revision as of 04:52, 1 January 2019

Sumber: https://www.nongnu.org/quagga/docs/docs-multi/OSPF-Configuration-Examples.html

These are the three different types of authentication supported by OSPF.

  • Null Authentication—This is also called Type 0 and it means no authentication information is included in the packet header. It is the default.
  • Plain Text Authentication—This is also called Type 1 and it uses simple clear-text passwords.
  • MD5 Authentication—This is also called Type 2 and it uses MD5 cryptographic passwords.


Plan Text Authentication

interface eth0
 ip address 192.16.64.2/24
 ip ospf authentication-key AUTH_KEY
 ip ospf authentication-key $AP7i1 
!--- The Key value is set as "$AP7i1". !--- It is the password that is sent across the network.
router ospf 10
 log-adjacency-changes
 network 70.0.0.0/8 area 0
 network 192.16.64.0/24 area 0
area 0 authentication

MD5 Authentication

interface eth0
 ip address 192.16.64.2/24
 ip ospf message-digest-key KEYID md5 KEY
 ip ospf message-digest-key 1 md5 $AP7i1
!--- Message digest key with ID "1" and !--- Key value (password) is set as "$AP7i1".
router ospf 10
 network 192.16.64.0/24 area 0
area 0 authentication message-digest
!--- MD5 authentication is enabled for !--- all interfaces in Area 0.

Referensi


Pranala Menarik