【无标题】

						**静态路由实验**

一:实验需求
1:R6为isp,接口P地址均为公有地址该设备只能配置IP地址,之后不能冉对其进行其他任何配置;
2:R1-r5为局域网,私有IP地址192.16.1.0/24,请合理分配
3:R1,R2,R4,各有两个环回地址;R5,R6各有一个环回地址;所有路由器上环回均代表连接用户的接口;
4:R3下的两台PC通过DHCP自动获取IP地址;
5:选路最佳,路由表尽量小,避免环路:
6:R1-R5均可以访问R6的环回;
7:R6telnetR5的公有IP地址时,实际登陆到R1上;
8:R4与R5正常通过10M链路,故障时通过100M链路;

二:实验分析
192.168.1.0/24
192.168.1.0/27—骨干
192.168.1.0/30
192.168.1.4/30
192.168.1.8/30
192.168.1.12/30
192.168.1.16/30
192.168.1.20/30
备用
192.168.1,24/30
192.168.1.28/30

192.168.1.32/27— R1
192.168.1.32/28
192.168.1.48/28

192.168.1.64/27— R2
192.168.1.64/28
192.168.1.80/28

192.168.1.96/27— R3
192.168.1.96/28
192.168.1.128/28

192.168.1.128/27— R4
192.168.1.128/28
192.168.1.144/28

192.168.1.160/27— R5

三:实验配置
R1:
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.1/30 up up
GigabitEthernet0/0/1 192.168.1.5/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.33/28 up up(s)
LoopBack1 192.168.1.49/28 up up(s)
NULL0 unassigned up up(s)

R2:

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.2/30 up up
GigabitEthernet0/0/1 192.168.1.9/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.65/28 up up(s)
LoopBack1 192.168.1.81/28 up up(s)
NULL0 unassigned up up(s)

R3:
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.6/30 up up
GigabitEthernet0/0/1 192.168.1.13/30 up up
GigabitEthernet0/0/2 192.168.1.97/27 up up
NULL0 unassigned up up(s)

R4:
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.10/30 up up
GigabitEthernet0/0/1 192.168.1.14/30 up up
GigabitEthernet0/0/2 192.168.1.17/30 up up
GigabitEthernet2/0/0 192.168.1.21/30 up up
LoopBack0 192.168.1.129/28 up up(s)
LoopBack1 192.168.1.145/28 up up(s)
NULL0 unassigned up up(s)

R5:
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.18/30 up up
GigabitEthernet0/0/1 12.0.0.1/24 up up
GigabitEthernet0/0/2 192.168.1.22/30 up up
LoopBack0 192.168.1.161/27 up up(s)
NULL0 unassigned up up(s)

R6:
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 12.0.0.2/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 1.1.1.1/24 up up(s)
NULL0 unassigned up up(s)

四:实验结果
1:DHCP配置PC自动获取IP地址
PC1
PC>ipconfig
Link local IPv6 address…: fe80::5689:98ff:fefa:7688
IPv6 address…: :: / 128
IPv6 gateway…: ::
IPv4 address…: 192.168.1.126
Subnet mask…: 255.255.255.224
Gateway…: 192.168.1.97
Physical address…: 54-89-98-FA-76-88
DNS server…:

PC2
PC>ipconfig

Link local IPv6 address…: fe80::5689:98ff:fe74:51cf
IPv6 address…: :: / 128
IPv6 gateway…: ::
IPv4 address…: 192.168.1.125
Subnet mask…: 255.255.255.224
Gateway…: 192.168.1.97
Physical address…: 54-89-98-74-51-CF
DNS server…:

2:R1–R5都可访问R6的环回

ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=252 time=40 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=252 time=50 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=252 time=50 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=252 time=40 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=252 time=50 ms

— 1.1.1.1 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 40/46/50 ms

3:R6telnetR5的公有IP地址时,实际登陆到R1
telnet 12.0.0.1
Press CTRL_] to quit telnet mode
Trying 12.0.0.1 …
Connected to 12.0.0.1 …

Login authentication

Username:admin
Password:

User last login information:

Access Type: Telnet
IP-Address : 192.168.1.2
Time : 2022-01-05 20:29:50-08:00

sy
system-view
Enter system view, return user view with Ctrl+Z.
[R1]dis ip int br
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1

Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.1/30 up up
GigabitEthernet0/0/1 192.168.1.5/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.33/28 up up(s)
LoopBack1 192.168.1.49/28 up up(s)
NULL0 unassigned up up(s)
[R1]q
q

Configuration console exit, please retry to log on

The connection was closed by the remote host

五:拓扑图

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值