学习目标:
- RIP、手工认证 、手工汇总、沉默接口、加快收敛、缺省路由
学习内容:
-
要求
-
IP分配、规划
-
输入命令
-
检验
目录
1.要求
2)IP分配、规划、优化
以下是我自行分配的参考
IP分配
192.168.1.0 24
. . .0 0000000 25
0
1
128
192.168.1.0 25
192.168.1.128 25192.168.1.0 25
. . .0 0 000000 26
64
192.168.1.0 26
192.168.1.64 26192.168.1.64 26
. . .00 0 000000 27
32
192.168.1.64 27
192.168.1.96 27192.168.1.64 27
. . .000 0 000028
16
192.168.1.64 28
192.168.1.80 28192.168.1.96 27
192.168.1.96 28
192.168.1.112 28192.168.1.0 29——骨干
. . .00000 0 00 30
00
0
1
4
192.168.1.0 30
192.168.1.4 30
*子网划分
骨干+骨干+2个网段
3)输入命令
ip地址配置——骨干、环回ip地址配置
骨干
r1
interface GigabitEthernet 0/0/0
ip address 192.168.1.30 27
quit
r2
interface GigabitEthernet 0/0/0
ip address 192.168.1.2 30
quit
interface GigabitEthernet 0/0/1
ip address 192.168.1.5 30
quit
r3
interface GigabitEthernet 0/0/0
ip address 192.168.1.6 30
quit
环回——
r1
interface LoopBack 0
ip address 192.168.1.65 28
quit
interface LoopBack 0
ip address 192.168.1.65 28
quit
r2
interface LoopBack 0
ip address 192.168.1.97 28
quit
interface LoopBack 0
ip address 192.168.1.113 28
quit
r3
interface LoopBack 0
ip address 5.5.5.5 24
quit
检验
ping
[Huawei-LoopBack0]ping 5.5.5.5
PING 5.5.5.5: 56 data bytes, press CTRL_C to break
Reply from 5.5.5.5: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 5.5.5.5: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 5.5.5.5: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 5.5.5.5: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 5.5.5.5: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 5.5.5.5 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/40 ms——全部可以到达
RIP
开启
r1
rip 1
version 2
network 192.168.1.0
r2
rip 1
version 2
network 192.168.1.0
r3
rip 1
version 2
network 192.168.1.0
network 5.0.0.0——IPv4
优化
手工认证——直接连接密码相同,不直接连接密码可以不相同
r1
interface GigabitEthernet 0/0/0
rip authentication-mode md5 usual cipher 666
quit
r2
interface GigabitEthernet 0/0/0
rip authentication-mode md5 usual cipher 666
quit
interface GigabitEthernet 0/0/1
rip authentication-mode md5 usual cipher 666
quit
r3
interface GigabitEthernet 0/0/0
rip authentication-mode md5 usual cipher 666
quit
手工汇总
r2
interface GigabitEthernet 0/0/0
rip summary-address 192.168.1.96 255.255.255.224
quit
interface GigabitEthernet 0/0/1
rip summary-address 192.168.1.96 255.255.255.224
quit
沉默接口——沉默接口不能用于虚拟接口、这里不能配置
rip
silent-interface GigabitEthernet 接口号
加快收敛
rip
全部路由器
timers rip 10 60 40
缺省路由
r3
default-route originate
4)检验
手工认证
Length: 76——长度
ping
ping 5.5.5.5
PING 5.5.5.5: 56 data bytes, press CTRL_C to break
Reply from 5.5.5.5: bytes=56 Sequence=1 ttl=254 time=20 ms
Reply from 5.5.5.5: bytes=56 Sequence=2 ttl=254 time=10 ms
Reply from 5.5.5.5: bytes=56 Sequence=3 ttl=254 time=40 ms
Reply from 5.5.5.5: bytes=56 Sequence=4 ttl=254 time=20 ms
Reply from 5.5.5.5: bytes=56 Sequence=5 ttl=254 time=40 ms
--- 5.5.5.5 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/26/40 ms——快了、加快收敛
学习时间:
上课后的作业
学习产出:
- 技术笔记 1遍
- 有错误请指出,作者会及时改正