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

水平分割之eigrp split horizon

網(wǎng)絡 網(wǎng)絡管理
本文通過一個實例介紹了水平分割中eigrp split horizon的內容,希望大家能夠掌握。

eigrp split horizon實驗拓撲圖

 

水平分割之eigrp split horizon

 

我們測試的網(wǎng)絡類型是幀中繼(HUB-SPOKE),R1分別與R2和R3建立frame映射,R1為 hub端,2,3 分別為spoke 端 。R2只與 R1建立映射,R3也只與R1建立映射。

配置幀中繼:

R1配置:

  1. R1#conf t  
  2. R1(config)#int lo 0  
  3. R1(config-if)#ip add 1.1.1.1 255.255.255.0  
  4. R1(config-if)#no sh  
  5. R1(config-if)#int s0/0  
  6. R1(config-if)#ip add 11.1.1.1 255.255.255.0  
  7. R1(config-if)#encapsulation frame-relay  
  8. R1(config-if)#no arp frame-relay  
  9. R1(config-if)#no frame inverse-arp  
  10. R1(config-if)#frame map ip 11.1.1.2 102 broadcast  
  11. R1(config-if)#frame map ip 11.1.1.3 103 broadcast (幀中繼的標準配置)  
  12. R1(config-if)#no sh 

 

R2配置:

  1. R2(config-if)#int s0/0  
  2. R2(config-if)#ip add 11.1.1.2 255.255.255.0  
  3. R2(config-if)#no sh  
  4. R2(config-if)#encapsulation frame-relay  
  5. R2(config-if)#no arp frame-relay  
  6. R2(config-if)#no frame inverse-arp  
  7. R2(config-if)#frame map ip 11.1.1.1 201 broadcast  
  8. R2(config-if)#no sh 

 

R3配置:

  1. R3(config-if)#int s0/0  
  2. R3(config-if)#ip add 11.1.1.3 255.255.255.0  
  3. R3(config-if)#encapsulation frame-relay  
  4. R3(config-if)#no arp frame-relay  
  5. R3(config-if)#no frame inverse-arp  
  6. R3(config-if)#frame map ip 11.1.1.1 301 broadcast  
  7. R3(config-if)#no sh 

 

#p#

查看幀中繼建立情況

  1. R1#sh frame map  
  2. Serial0/0 (up): ip 11.1.1.2 dlci 102(0x66,0x1860), static,  
  3. broadcast,  
  4. CISCO, status defined, active  
  5. Serial0/0 (up): ip 11.1.1.3 dlci 103(0x67,0x1870), static,  
  6. broadcast,  
  7. CISCO, status defined, active  
  8. R2#sh frame map  
  9. Serial0/0 (up): ip 11.1.1.1 dlci 201(0xC9,0x3090), static,  
  10. broadcast,  
  11. CISCO, status defined, active  
  12. R3#sh frame map  
  13. Serial0/0 (up): ip 11.1.1.1 dlci 301(0x12D,0x48D0), static,  
  14. broadcast,  
  15. CISCO, status defined, active 

 

已經(jīng)建立完畢

測試連通性:

  1. R3#ping 11.1.1.1  
  2. Type escape sequence to abort.  
  3. Sending 5, 100-byte ICMP Echos to 11.1.1.1, timeout is 2 seconds:  
  4. Success rate is 100 percent (5/5), round-trip min/avg/max = 48/77/96 ms 

 

幀中繼有水平分割,在rip協(xié)議中,幀中繼的水平分割默認是被關閉的,在eigrp協(xié)議中 幀中繼的水平分割默認是被打開的 可查看R1的S0/0接口

  1. R1#sh ip int s0/0  
  2. Serial0/0 is up, line protocol is up  
  3. Internet address is 11.1.1.1/24  
  4. Broadcast address is 255.255.255.255  
  5. Address determined by setup command  
  6. MTU is 1500 bytes  
  7. Helper address is not set  
  8. Directed broadcast forwarding is disabled  
  9. Multicast reserved groups joined: 224.0.0.9  
  10. Outgoing access list is not set  
  11. Inbound  access list is not set  
  12. Proxy ARP is enabled  
  13. Local Proxy ARP is disabled  
  14. Security level is default  
  15. Split horizon is disabled  
  16. ICMP redirects are always sent  
  17. ICMP unreachables are always sent  
  18. ICMP mask replies are never sent  
  19. IP fast switching is enabled  
  20. IP fast switching on the same interface is enabled  
  21. IP Flow switching is disabled 

 

我們分別用 rip 和 eigrp做同樣的實驗,首先每臺路由器啟動RIP,通過查看路由表可以發(fā)現(xiàn),R2 R3會學到對方的路由。

  1. R2#sh ip route  
  2. 1.0.0.0/24 is subnetted, 1 subnets  
  3. R       1.1.1.0 [120/1] via 11.1.1.1, 00:00:04, Serial0/0  
  4. 2.0.0.0/24 is subnetted, 1 subnets  
  5. C       2.2.2.0 is directly connected, Loopback0  
  6. 3.0.0.0/24 is subnetted, 1 subnets  
  7. R       3.3.3.0 [120/2] via 11.1.1.3, 00:00:04, Serial0/0  
  8. 11.0.0.0/24 is subnetted, 1 subnets  
  9. C       11.1.1.0 is directly connected, Serial0/0 

可以看到3.3.3.0的路由

  1. R3#sh ip route  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. R       1.1.1.0 [120/1] via 11.1.1.1, 00:00:06, Serial0/0  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. R       2.2.2.0 [120/2] via 11.1.1.2, 00:00:06, Serial0/0  
  7. 3.0.0.0/24 is subnetted, 1 subnets  
  8. C       3.3.3.0 is directly connected, Loopback0  
  9. 11.0.0.0/24 is subnetted, 1 subnets  
  10. C       11.1.1.0 is directly connected, Serial0/0 

 


可以看到有2.2.2.0 的路由

#p#

現(xiàn)在去掉RIP啟動EIGRP再查看結果:

  1. R1(config)#no router rip  
  2. R1(config)#router ei 100  
  3. R1(config-router)#no au  
  4. R1(config-router)#net 1.1.1.0 0.0.0.255  
  5. R1(config-router)#net 11.1.1.0 0.0.0.255 

 

 

  1. R2(config)#no router rip  
  2. R2(config)#router ei 100  
  3. R2(config-router)#no au  
  4. R2(config-router)#net 2.2.2.0 0.0.0.255  
  5. R2(config-router)#net 11.1.1.0 0.0.0.255 

 

 

  1. R3(config)#no router rip  
  2. R3(config)#router ei 100  
  3. R3(config-router)#no au  
  4. R3(config-router)#net 3.3.3.0 0.0.0.255  
  5. R3(config-router)#net 11.1.1.0 0.0.0.255 

 

查看R2 R3路由表

  1. R2#sh 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 

 

 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:01:33, Serial0/0  (此時只有R1的路由沒有R3的了)  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. C       2.2.2.0 is directly connected, Loopback0  
  7. 11.0.0.0/24 is subnetted, 1 subnets  
  8. C       11.1.1.0 is directly connected, Serial0/0 

 

 

  1. R3#sh 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 

 

 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:05:01, Serial0/0(同樣也是只有R1的路由沒R2的)  
  5. 3.0.0.0/24 is subnetted, 1 subnets  
  6. C       3.3.3.0 is directly connected, Loopback0  
  7. 11.0.0.0/24 is subnetted, 1 subnets  
  8. C       11.1.1.0 is directly connected, Serial0/0 

 

這是我們在接口下關閉EIGRP的水平分割再看

  1. R1(config)#int s0/0  
  2. R1(config-if)#no ip split-horizon eigrp 100 

 

查看路由表

  1. R2#sh 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 

 

 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:00:25, Serial0/0  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. C       2.2.2.0 is directly connected, Loopback0  
  7. 3.0.0.0/24 is subnetted, 1 subnets  
  8. D       3.3.3.0 [90/2809856] via 11.1.1.1, 00:00:25, Serial0/0(這時,我們看到了R3的路由)  
  9. 11.0.0.0/24 is subnetted, 1 subnets  
  10. C       11.1.1.0 is directly connected, Serial0/0  
  11. R3#sh ip route  
  12. Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP  
  13. D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area  
  14. N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2  
  15. E1 - OSPF external type 1, E2 - OSPF external type 2  
  16. i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2  
  17. ia - IS-IS inter area, * - candidate default, U - per-user static route  
  18. o - ODR, P - periodic downloaded static route 

 

 

  1. Gateway of last resort is not set  
  2.  
  3. 1.0.0.0/24 is subnetted, 1 subnets  
  4. D       1.1.1.0 [90/2297856] via 11.1.1.1, 00:00:20, Serial0/0  
  5. 2.0.0.0/24 is subnetted, 1 subnets  
  6. D       2.2.2.0 [90/2809856] via 11.1.1.1, 00:00:20, Serial0/0 (同樣也有了R2的路由)  
  7. 3.0.0.0/24 is subnetted, 1 subnets  
  8. C       3.3.3.0 is directly connected, Loopback0  
  9. 11.0.0.0/24 is subnetted, 1 subnets  
  10. C       11.1.1.0 is directly connected, Serial0/0 

 

此時驗證完畢,在幀中繼環(huán)境中,rip協(xié)議的水平分割是默認關閉的,而eigrp的水平分割是開啟的,需要在接口下手動關閉水平分割,以防出現(xiàn)路由缺失問題。

【編輯推薦】

  1. 實例解析EIGRP浮動匯總路由配置
  2. 路由器的POS接入技術及解決方案
  3. 路由器日志信息記錄的配置方法 續(xù)
  4. 初學者必看:CISCO路由器教程講解
  5. 詳細講解路由器設置 讓安全陪伴左右 

 

責任編輯:佚名 來源: 思科技術網(wǎng)
相關推薦

2010-08-06 11:11:24

RIP路由協(xié)議

2011-08-10 16:16:28

數(shù)據(jù)庫水平分割垂直分割

2020-11-18 09:39:02

MySQL數(shù)據(jù)庫SQL

2023-07-27 15:38:52

數(shù)據(jù)集

2020-07-30 17:59:34

分庫分表SQL數(shù)據(jù)庫

2018-01-12 15:17:40

數(shù)據(jù)庫水平分庫數(shù)據(jù)遷移

2019-12-17 09:00:48

split分割Linux文件Linux

2009-01-18 17:52:15

數(shù)據(jù)倉庫SQL Server數(shù)據(jù)庫

2009-12-17 16:16:00

CCIE學習

2013-10-29 16:31:46

CentOSSplit分割文件

2011-04-14 17:03:50

Linuxsplitcat

2011-08-16 11:37:27

EIGRP帶寬

2017-03-02 13:23:53

訂單系統(tǒng)水平分庫

2019-09-11 08:33:26

EIGRP動態(tài)路由協(xié)議互聯(lián)網(wǎng)

2011-05-20 10:49:12

2013-02-22 11:00:15

桌面虛擬化VMware

2017-03-08 09:15:30

VMwareHorizon VieComposer

2023-12-27 12:12:35

NumPy函數(shù)數(shù)組

2014-04-29 17:38:51

VMware

2013-06-07 10:04:17

EIGRP路由協(xié)議Cisco
點贊
收藏

51CTO技術棧公眾號