PDA

View Full Version : Config Authen trong OSPF



quang.bk2906
18-10-2009, 02:46 AM
Em đang băn khoăn không biết cấu hình authentication trong ospf gồm những gì?
NÓ có gì khác so với cấu hình authen trong eigrp

convoi
18-10-2009, 09:12 AM
In this example, Router A and Router B are connected with a WAN link. The WAN is addressed as 192.168.0.0/30, Router A has 10.1.1.0/24 and Router B has 10.2.2.0/24 on their respective FastEthernet interfaces.

Configure OSPF for basic routing:
Router A:
router ospf 100
network 10.1.1.0 0.0.0.255 area 10.1.1.0
network 192.168.0.0 0.0.0.3 area 0.0.0.0 Router B:
router ospf 100
network 10.2.2.0 0.0.0.255 area 10.2.2.0
network 192.168.0.0 0.0.0.3 area 0.0.0.0 Now, the routing table in both routers should show OSPF routes.
Configure OSPF for authentication:
Router A:
interface serial 0/0
ip ospf message-digest-key 10 md5 PASSWORD
router ospf 100
area 0 authentication message-digest Router B:
interface serial 0/0
ip ospf message-digest-key 10 md5 PASSWORD
router ospf 100
area 0 authentication message-digest Now, the two routers should be authenticating updates.

Bạn có thể tham khảo thêm: http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080094069 .shtml