点对点信道互联以太网 华为ENSP

实验4-3 点对点信道互联以太网
一、 实验背景
二、 实验目的
(1)验证路由器串行接口配置过程;
(2)验证建立ppp链路过程;
(3)验证静态路由配过程;
(4)验证路由表与IP分组传输路径之间的关系;
(5)验证IP分组端到端传输过程;
(6)验证不同类型的传输网络将IP分组封装该传输网络对应的帧格式的过程。
三、 实验设备
路由器AR1220两台,交换机S5700两台,PC四台。
四、 实验步骤
1、 新建拓扑图
在这里插入图片描述

2、 PC配置IP地址、子网掩码
PC1 IP地址:192.168.1.1 子网掩码:255.255.255.0 网关:192.168.1.254
PC2 IP地址:192.168.1.2 子网掩码:255.255.255.0 网关:192.168.1.254
PC3 IP地址:192.168.2.1 子网掩码:255.255.255.0 网关:192.168.2.254
PC4 IP地址:192.168.2.2 子网掩码:255.255.255.0 网关:192.168.2.254

3、 路由器AR1配置
system-view
[Huawei]undo info-center enable
[Huawei]sysn AR1
[AR1]interface Serial 2/0/0
[AR1-Serial2/0/0]link-protocol ppp
[AR1-Serial2/0/0]ip address 192.168.3.1 30
[AR1-Serial2/0/0]quit
[AR1]aaa
[AR1-aaa]authentication-scheme Huawei
[AR1-aaa-authen-Huawei]quit
[AR1-aaa]local-user Hcia password cipher Huawei@123
[AR1-aaa]local-user Huawei service-type ppp
[AR1-aaa]quit
[AR1]interface Serial 2/0/0
[AR1-Serial2/0/0]ppp authentication-mode chap domain system
[AR1-Serial2/0/0]ppp chap user Hcip
[AR1-Serial2/0/0]ppp chap password cipher Huawei@123
[AR1-Serial2/0/0]shutdown
[AR1-Serial2/0/0]undo shutdown
[AR1-Serial2/0/0]quit
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[AR1-GigabitEthernet0/0/0]quit
[AR1]ip route-static 192.168.2.0 24 192.168.3.2
[AR1]quit
4、 路由器AR2配置
system-view
[Huawei]undo info-center enable
[Huawei]sysn AR2
[AR2]interface Serial 2/0/0
[AR2-Serial2/0/0]link-protocol ppp
[AR2-Serial2/0/0]ip address 192.168.3.2 30
[AR2-Serial2/0/0]quit
[AR2]aaa
[AR2-aaa]authentication-scheme Huawei
[AR2-aaa-authen-Huawei]quit
[AR2-aaa]domain system
[AR2-aaa-domain-system]authentication-scheme Huawei
[AR2-aaa-domain-system]quit
[AR2-aaa]local-user Hcip password cipher Huawei@123
[AR2-aaa]local-user Hcip service-type ppp
[AR2-aaa]quit
[AR2]interface Serial 2/0/0
[AR2-Serial2/0/0]ppp authentication-mode chap domain system
[AR2-Serial2/0/0]ppp chap user Hcia
[AR2-Serial2/0/0]ppp chap password cipher Huawei@123
[AR2-Serial2/0/0]shutdown
[AR2-Serial2/0/0]undo shutdown
[AR2-Serial2/0/0]quit
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ip address 192.168.2.254 24
[AR2-GigabitEthernet0/0/0]quit
[AR2]ip route-static 192.168.1.0 24 192.168.3.1
[AR2]quit

5、 通过ping检测网络连通性
通过PC1去ping检测与PC3、PC2、PC4的网络连通情况

注意:如果以上ping结果显示PC1与PC2、PC3、PC4可以通信,,则说明已经达到了实验结果要求。

6、 保存实验配置
AR1配置:
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
这个时候,输入y,确认保存配置
AR2配置:
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
这个时候,输入y,确认保存配置

最后,保存实验设计文件

五、 实验总结

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

网工教室

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值