自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

實例講解RIP的認證

網(wǎng)絡(luò) 路由交換
Cisco支持使RIP認證有效的兩種接口認證模式:純文本認證 和MD5認證。RIP包的缺省認證模式為純文本認證。因為每一個RIP包發(fā)送的是未加密的認證值,為安全起見,RIP包不要使用純文本認證。當(dāng)安全不成為問題時,例如確保設(shè)置的主機不參加路由選擇,可使用純文本認證。

RIP版本1不支持認證。如果接收和發(fā)送的是版本2包,接口能進行RIP認證。密鑰鏈路決定了能用于接口的一連串密鑰。如果不配設(shè)置密鑰鏈路,接口就不能進行認證,甚至不能進行缺省認證。下面就讓我們看一下配置RIP認證的步驟:

一、實驗拓撲如圖:

 

實例講解RIP的認證

二、明文驗證

1、明文認證時,被認證方發(fā)送key chian時,發(fā)送最低ID值的key,并且不攜帶ID;認證方接收到key后,和自己key chain的全部key進行比較,只要有一個key匹配就通過對被認證方的認證。

2、驗證

R1上配置為:

  1. key chain rip-key  
  2. key 1  
  3. key-string ccxx02  
  4. !  
  5. interface FastEthernet0/0  
  6. ip address 192.168.12.1 255.255.255.0  
  7. ip rip authentication key-chain rip-key 

R2上配置為:

  1. key chain rip-key  
  2. key 1  
  3. key-string ccxx01  
  4. key 2  
  5. key-string ccxx02  
  6. !  
  7. interface FastEthernet0/0  
  8. ip address 192.168.12.2 255.255.255.0  
  9. ip rip authentication key-chain rip-key 

3、路由器的路由表結(jié)果

  1. R1#show ip route  
  2. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  3. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  4. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  5. E1 - OSPF external type 1, E2 - OSPF external type 2  
  6. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  7. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  8. o - ODR, P - periodic downloaded static route  
  9.  
  10. Gateway of last resort is not set  
  11.  
  12. C    192.168.12.0/24 is directly connected, FastEthernet0/0  
  13. C    192.168.1.0/24 is directly connected, Loopback0  
  14.  
  15. R2#show ip route  
  16. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  17. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  18. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  19. E1 - OSPF external type 1, E2 - OSPF external type 2  
  20. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  21. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  22. o - ODR, P - periodic downloaded static route  
  23.  
  24. Gateway of last resort is not set  
  25.  
  26. C    192.168.12.0/24 is directly connected, FastEthernet0/0  
  27. R    192.168.1.0/24 [120/1] via 192.168.12.1, 00:00:15, FastEthernet0/0  
  28. C    192.168.2.0/24 is directly connected, Loopback0 

4、結(jié)論

 
實例講解RIP的認證
 

三、密文認證

1、被認證方發(fā)送key時,發(fā)送最低ID值的key,并且攜帶了ID;認證方接收到key后,首先在自己key chain中查找是否具有相同ID的key,如果有相同ID的key并且key相同就通過認證,key值不同就不通過認證。如果沒有相同ID的key,就查找該ID往后的最近ID的key;如果沒有往后的ID,認證失敗。

2、驗證

R1上配置為:

  1. key chain rip-key  
  2. key 1  
  3. key-string ccxx02  
  4. !  
  5. interface FastEthernet0/0  
  6. ip address 192.168.12.1 255.255.255.0  
  7. ip rip authentication mode md5  
  8. ip rip authentication key-chain rip-key 

R2上配置為:

  1. key chain rip-key  
  2. key 1  
  3. key-string ccxx01  
  4. key 2  
  5. key-string ccxx02  
  6. !  
  7. interface FastEthernet0/0  
  8. ip address 192.168.12.2 255.255.255.0  
  9. ip rip authentication mode md5  
  10. ip rip authentication key-chain rip-key 

3、路由表的輸出結(jié)果為:

  1. R1#show ip route  
  2. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  3. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  4. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  5. E1 - OSPF external type 1, E2 - OSPF external type 2  
  6. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  7. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  8. o - ODR, P - periodic downloaded static route  
  9.  
  10. Gateway of last resort is not set  
  11.  
  12. C    192.168.12.0/24 is directly connected, FastEthernet0/0  
  13. C    192.168.1.0/24 is directly connected, Loopback0  
  14.  
  15. R2#show ip route  
  16. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  17. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  18. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  19. E1 - OSPF external type 1, E2 - OSPF external type 2  
  20. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  21. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  22. o - ODR, P - periodic downloaded static route  
  23.  
  24. Gateway of last resort is not set  
  25.  
  26. C    192.168.12.0/24 is directly connected, FastEthernet0/0  
  27. R    192.168.1.0/24 [120/1] via 192.168.12.1, 00:00:15, FastEthernet0/0  
  28. C    192.168.2.0/24 is directly connected, Loopback0 

4、結(jié)論  

 
實例講解RIP的認證

RIP認證的實驗就為大家介紹完了,希望大家已經(jīng)掌握!

【編輯推薦】

  1. 路由器基礎(chǔ)知識之路由器的配置過程
  2. 路由故障:VRRP備份組的狀態(tài)不停切換
  3. 路由故障:BFD for VPN-BFD會話無法建立
  4. 路由故障:ACL未指定VPN實例導(dǎo)致網(wǎng)管失效 
責(zé)任編輯:佚名 來源: Cisco技術(shù)網(wǎng)
相關(guān)推薦

2011-04-07 13:09:03

明文驗證

2010-08-06 09:38:58

RIP報文

2009-06-09 11:23:23

思科ripsecondary 地

2010-06-10 15:46:07

RIP路由協(xié)議

2010-08-06 09:47:36

RIP路由協(xié)議

2009-12-15 14:29:52

RIP路由協(xié)議

2011-05-23 13:24:01

2013-01-10 14:54:48

Android開發(fā)組件Intent

2009-11-23 20:16:17

PHP接口特性

2009-11-23 17:31:49

PHP時間戳

2010-06-03 18:22:38

Hadoop

2010-09-14 17:20:57

2011-04-02 16:37:26

PAT

2009-11-23 14:44:22

PHP 5.0構(gòu)造函數(shù)

2010-05-11 20:17:23

NTLM認證協(xié)議

2009-11-23 15:32:13

PHP獲取遠程URL

2010-04-20 16:34:31

2009-08-28 16:37:32

C# for循環(huán)

2010-11-22 16:22:39

MySQL連接查詢

2010-03-03 14:05:36

Python實例應(yīng)用
點贊
收藏

51CTO技術(shù)棧公眾號