这节学习华为eNSP模拟器 帧中继 fr协议,首先搭建好拓扑图,2台路由器(每台配2SA接口卡)、2台客户端,如下图所示:
配置IP按上图所示。
接下来我们配置路由器,
AR1路由器配置:
<Huawei>sys
[Huawei]sysname R1
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.0.254 24
[R1]int s2/0/0
[R1-Serial2/0/0]ip add 10.0.0.1 8
[R1-Serial2/0/0]link-protocol fr
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y
[R1-Serial2/0/0]fr interface-type dce
[R1-Serial2/0/0]fr dlci 20
[R1-Serial2/0/0]fr inarp
[R1]rip
[R1-rip-1]ver 2
[R1-rip-1]network 192.168.0.0
[R1-rip-1]network 10.0.0.0
<R1>sa
AR2路由器配置:
<Huawei>sys
[Huawei]sysname R2
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add 192.168.1.254 24
[R2]int s2/0/0
[R2-Serial2/0/0]ip add 10.0.0.2 8
[R2-Serial2/0/0]link-protocol fr
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y
[R2-Serial2/0/0]fr interface-type dte
[R2-Serial2/0/0]fr inarp
[R2]rip
[R2-rip-1]ver 2
[R2-rip-1]network 192.168.1.0
[R2-rip-1]network 10.0.0.0
<R2>sa
配置完成,开始测试下
PC1 ping PC2
经测试ping通,本节学习完毕。
讨论数量:0