日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

1 使用 RIP協(xié)認(rèn)處理不連續(xù)的子網(wǎng)和VLSM


在本實(shí)驗(yàn)中演示使用RIP協(xié)議處理不連續(xù)的子網(wǎng)和VLSM的情況 。
1.實(shí)驗(yàn)?zāi)康?br /> 通過(guò)本實(shí)驗(yàn),讀者可以把握以下技能:
使用RIP協(xié)議處理不連續(xù)的子網(wǎng);
使用RIP協(xié)議處理VLSM;
查看RIP協(xié)議配置信息;
使用Debug命令 。
2. 設(shè)備需求
本實(shí)驗(yàn)的設(shè)備需求與實(shí)驗(yàn)1相同 。
3. 拓?fù)浣Y(jié)構(gòu)及配置說(shuō)明
本實(shí)驗(yàn)拓?fù)浣Y(jié)構(gòu)如圖5-2所示,大都與5-1相同,所不同的是IP地址分配 。
IP地址分配如下:
R1:E0 172.18.1.1,s0 172.16.12.1,S1 172.16.]3.1;
R2:E0 172.18.2.2,S0 172.16.12.2,S1 172.16.23.2;
R3:E0 172.18.3.3,S0 172.16.13.3,S1 172.16.23.3 。
子網(wǎng)掩碼均為255.255.255.0 。
 
這是一個(gè)典型的不連續(xù)子網(wǎng)的情況,實(shí)驗(yàn)要求通過(guò)對(duì)RIP協(xié)議的配置,實(shí)現(xiàn)全網(wǎng)的連通性 。
在完成上述實(shí)驗(yàn)的基礎(chǔ)上,我們還將對(duì)可變長(zhǎng)子網(wǎng)掩碼 (VLSM)的情況進(jìn)行配置 。
4.實(shí)驗(yàn)配置及監(jiān)測(cè)結(jié)果
我們首先在完成實(shí)驗(yàn)1的基礎(chǔ)上,配置3臺(tái)路由器的E0接口,更改其IP地址 。實(shí)驗(yàn)記錄是從這個(gè)操作完成之后開(kāi)始的,見(jiàn)配置清單5-3 。
配置清單5-3使用RIP協(xié)議處理不連續(xù)的子網(wǎng)
R3#cle ip route *
R3#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
 * - candidate default, U - per-user static route, o - ODR
 P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
R 172.16.23.0 is directly connected. Serial 1
C 172.16.12.0 [120/1] via 172.16.13.1, 00:00:01, Serial0
C 172.16.13.0 is directly connected, Serial0
172.18.0,0/24 is subnetted, 1 subnets
C 172.18.3.0 is directly connected, Ethemet0
R3#conft
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#
Term_Server>2
[Resuming connection 2 to R2 ... ]
R2(config-router)#router rip
R2(config-router)#version 2
R2(config-router)#
Term_Server>1
[Resuming connection 1 to R1 ...]
R1(config-router)#router rip
R1(config-router)#version 2
R1(config-router)#
R1(config-router)#^Z
R1#cle lp route *
R1#debug ip rip
RIP protocol debugging is on
R1#
01:38:59: RIP: received v2 update from 172.16.12.2 on Serial0
01:38:59: 172.16.23.0/24 via 0.0.0.0 in 1 hops
01:38:59: 172.18.0.0/16 Via 0.0.0.0 in 1 hops
01:39:10: RIP: received v2 update from 172.16.13.3 on Serial1
01:39:10: 172.16.23.0/24 via 0.0.0.0 in 1 hops
01:39:10: 172.18.0/16 via 0.0.0.0 in 1 hops
01:39:12: RIP: sending v2 update to 224.0.0.9 Via Serial0 (172.16.12.1)
01:39:12: RIP: build update entries
01:39:12: 172.16.13.0/24 via0.0.0.0,metric 1,tag 0
01:39:12: RIP: rending v2 update to 224.0.0.9 via Serial1 (172.16.13.1)
01:39:12: RIP: build update eyries
01:39:12: 172.16.12.0/24 via 0.0.0.0, metric 1, tag.0
R1#undebug all
All possible debugging has been turned off
R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
 * - candidate default, U - per-user static route, o - ODR

推薦閱讀