HCIP复习实验

本文介绍了HCIP考试复习中关于网络配置的实验,包括子网划分和路由器配置。详细展示了如何对192.168.1.0/24进行子网划分,并对R1到R5路由器进行IP地址分配、接口配置、静态路由设置。通过这些步骤,实现网络间通信并优化路由路径。
摘要由CSDN通过智能技术生成

子网划分

192.168.1.0/24

192.168.1.0/27

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.128/27  R4 192.168.1.128/28  192.168.1.144/28

192.168.1.160/27  R5

192.168.1.192/27

192.168.1.224/27

R1

<Huawei>sy

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r1

[r1]in

[r1]inter 

[r1]interface lo 

[r1]interface LoopBack 0

[r1-LoopBack0]ip ad 

[r1-LoopBack0]ip address 192.168.1.33 28

[r1-LoopBack0]int lo1

[r1-LoopBack1]ip ad 

[r1-LoopBack1]ip address 192.168.1.49 28

[r1]int g0/0/1

[r1-GigabitEthernet0/0/1]ip ad 

[r1-GigabitEthernet0/0/1]ip address 192.168.1.1 30

Jan 11 2022 21:53:00-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[r1-GigabitEthernet0/0/1]int   

[r1-GigabitEthernet0/0/1]int g0/0/0

[r1-GigabitEthernet0/0/0]ip ad 

[r1-GigabitEthernet0/0/0]ip address 192.168.1.5 30

Jan 11 2022 21:53:18-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[r1]ip route-static 0.0.0.0 0 192.168.1.2

[r1]ip route-static 0.0.0.0 0 192.168.1.6

[r1]ip  rou  

[r1]ip  route

[r1]ip  route-static 192.168.1.64 27 192.168.1.2

[r1]ip route-static 192.168.1.8 30 192.168.1.2

[r1]ip route-static 192.168.1.96 27 192.168.1.6

[r1]ip route-static 192.168.1.12 30 192.168.1.6

[r1]ip route-static 192.168.1.32 27 NULL 0

R2

<Huawei>sy

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname r2

[r2]int lo0

[r2-LoopBack0]ip ad 

[r2-LoopBack0]ip address 192.168.1.65 28

[r2-LoopBack0]int lo1<

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值