eNSP 静态路由综合实验

一.子网划分,拓扑设计,

子网划分

基于拓扑结构和题目要求进行子网划分:

可划分为五个大网段,分别为r1-r4的4个回环网段和主干网段一个。

192.168.1.000 00000

192.168.1.0/27

192.168.1.001 00000

192.168.1.32/27

192.168.1.010 00000

192.168.1.64/27

192.168.1.011 00000

192.168.1.96/27

192.168.1.100 00000

192.168.1.128/27

每个大的回环网段又可划分为2个小的回环网段。

192.168.1.001 00000

192.168.1.32/27

192.168.1.32/28

192.168.1.48/28

192.168.1.010 00000

192.168.1.64/27

192.168.1.64/28

192.168.1.80/28

192.168.1.011 00000

192.168.1.96/27

192.168.1.96/28

192.168.1.112/28

192.168.1.100 00000

192.168.1.128/27

192.168.1.128/28

192.168.1.144/28

一个大的主干网段又可划分为6个小的主干网段。

192.168.1.000 00000

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

拓扑设计

二.底层--所有节点拥有合法ip地址

配置r1的接口IP

The device is running!	
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r1
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 30
[r1-GigabitEthernet0/0/0]
Jan 12 2024 20:04:40-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]q
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.5 30
Jan 12 2024 20:05:05-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r1-GigabitEthernet0/0/1]

配置r2的接口IP

The device is running!
######
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r2
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.2 30
Jan 12 2024 20:08:21-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]q
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 192.168.1.9 30
Jan 12 2024 20:08:40-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r2-GigabitEthernet0/0/1]

配置r3的接口IP

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r3
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 192.168.1.6 30
[r3-GigabitEthernet0/0/0]
Jan 12 2024 20:10:30-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r3-GigabitEthernet0/0/0]q
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.1.13 30
Jan 12 2024 20:10:54-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r3-GigabitEthernet0/0/1]

配置r4的接口IP

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r4
[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]ip add 192.168.1.10 30
Jan 12 2024 20:11:57-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r4-GigabitEthernet0/0/0]q
[r4]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add 192.168.1.14 30
Jan 12 2024 20:12:23-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r4-GigabitEthernet0/0/1]q
[r4]int g0/0/2
[r4-GigabitEthernet0/0/2]ip add 192.168.1.17 30
[r4-GigabitEthernet0/0/2]
Jan 12 2024 20:12:44-08:00 r4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r4-GigabitEthernet0/0/2]q
[r4]int ether3/0/0
[r4-Ethernet3/0/0]ip add 192.168.1.21 30
[r4-Ethernet3/0/0]
Jan 12 2024 20:13:18-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP 
on the interface Ethernet3/0/0 has entered the UP state. 
[r4-Ethernet3/0/0]

配置r5的接口IP

The device is running!

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r5
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add 192.168.1.18 30
Jan 12 2024 20:14:29-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r5-GigabitEthernet0/0/0]q
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]ip add 192.168.1.22 30
Jan 12 2024 20:15:04-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r5-GigabitEthernet0/0/1]

配置r1-r5的回环地址

r1:

r2:

r3:

r4:

r5:

三.路由--全网可达

配置r1的路由表:

配置r2的路由表:

配置r3的路由表:

配置r4的路由表:

配置r5的路由表:

四.配置缺省路由

r4:

r3:

r2:

r1:

五. 设置备用通道

r4-r5之间设置100m的备用链路

r5:

r2:

r3:

r1:

六. 测试

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值