点对点信道互联以太网 华为ENSP 您所在的位置:网站首页 以太网帧格式分析 点对点信道互联以太网 华为ENSP

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

2023-06-22 18:19| 来源: 网络整理| 查看: 265

实验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,确认保存配置

最后,保存实验设计文件

五、 实验总结



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有