实训六:路由器广域网PPP封装

本次实验的设备是:神州数码DCR-2855

本次实验拓扑图

                                             

 

  • 配置要求

路由器

接口

IP地址

RT-1

S1/0

192.168.1.1/24

RT-2

S1/1

192.168.1.2/24

  • 配置步骤

RT-1的配置

RT-1_config#interface serial 1/0

RT-1_config_s1/0#ip add 192.168.1.1 255.255.255.0                 配置IP地址

RT-1_config_s1/0#encapsulation ppp                                        封装PPP协议

RT-1_config_s1/0#physical-layer speed 64000                          设置时钟速率

RT-1_config_s1/0#no shutdown                                                  重启端口

RT-1_config_s1/0#show interface se1/0                                      查看端口

Serial1/0 is up, line protocol is down                                          对端没有配置所以协议是down

 Mode=Sync DCE Speed=64000

  DTR=UP,DSR=UP,RTS=UP,CTS=UP,DCD=UP

  MTU 1500 bytes, BW 64 kbit, DLY 2000 usec

  Interface address is 192.168.1.1/24

  Encapsulation PPP, loopback not set

RT-2的配置

RT-2_config#interface serial 1/1

RT-2_config_s1/1#ip add 192.168.1.2 255.255.255.0

RT-2_config_s1/1#encapsulation ppp

RT-2_config_s1/1#no shutdown

RT-2_config#show interface serial 1/1

Serial1/1 is up, line protocol is up

 Mode=Sync DTE

  DTR=UP,DSR=UP,RTS=UP,CTS=UP,DCD=UP

  MTU 1500 bytes, BW 64 kbit, DLY 2000 usec

  Interface address is 192.168.1.2/24

  Encapsulation PPP, loopback not set

最后可以在特权模式ping一下看是否通信

RT-2#ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1): 56 data bytes 

!!!!!    五个感叹号代表通  五个点代表不同

--- 192.168.1.1 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 23/23/23 ms

关于PPP的两种验证方式请看下一章

  • 5
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

晓近

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

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

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

打赏作者

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

抵扣说明:

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

余额充值