前言
实验要求
1- R6为isp,接口IP地址均为公有地址;该设备只能配置IP地址,之后不能再对其进行任何配置;
2- R1-R5为局域网,私有IP地址192.168.1.0/24,请合
理分配;
3-所有路由器上环回,均代表连接用户的接口;
4-R3下的两台PC通过DHCP自动获取IP地址
5-选路最佳,路由表尽量小,避免环路;
6-R1-R5均可访问R6的环回
7-R6telnetR5的公有IP地址时,实际登陆到R1上8-R4与R5正常通过1000链路,故障时通过100兆链路;
拓扑图
全网可达完成实验要求
当r4到r5一条路故障时 [r5-GigabitEthernet0/0/1]shutdown [r3]tracert 192.168.1.73 traceroute to 192.168.1.73(192.168.1.73), max hops: 30 ,packet length: 40,pres s CTRL_C to break 1 192.168.1.18 30 ms 10 ms 10 ms 2 192.168.1.22 20 ms 10 ms 20 ms
<r1>ping 12.1.1.2 PING 12.1.1.2: 56 data bytes, press CTRL_C to break Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=252 time=40 ms Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=252 time=40 ms Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=252 time=40 ms Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=252 time=20 ms Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=252 time=40 ms --- 12.1.1.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 20/36/40 ms <r2>ping 12.1.1.2 PING 12.1.1.2: 56 data bytes, press CTRL_C to break Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=253 time=30 ms Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=253 time=40 ms Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=253 time=40 ms Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=253 time=40 ms Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=253 time=30 ms --- 12.1.1.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 30/36/40 ms <r3>ping 12.1.1.2 PING 12.1.1.2: 56 data bytes, press CTRL_C to break Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=253 time=20 ms Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=253 time=10 ms Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=253 time=30 ms Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=253 time=20 ms Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=253 time=30 ms --- 12.1.1.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 10/22/30 ms <r4>ping 12.1.1.2 PING 12.1.1.2: 56 data bytes, press CTRL_C to break Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=254 time=30 ms Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=254 time=20 ms Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=254 time=20 ms Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=254 time=20 ms Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=254 time=30 ms --- 12.1.1.2 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 20/24/30 ms
实际登陆到R1
<lsp>telnet 12.1.1.3 Press CTRL_] to quit telnet mode Trying 12.1.1.3 ... Connected to 12.1.1.3 ... Login authentication Username:whl Password: ----------------------------------------------------------------------------- User last login information: ----------------------------------------------------------------------------- Access Type: Telnet IP-Address : 12.1.1.2 Time : 2022-12-30 20:41:31-08:00 ----------------------------------------------------------------------------- <r1>