实验目的:
配置企业中的专线常用协议PPP,理解PPP的工作原理,单向认证与双向认证的使用场合
实验环境拓扑图及要求:
拓扑图:两台路由器A和B用串口线相连,PC机可用loopback接口模拟。
任务1:
要求:
RA和RB之间三条串口线相连,完成PPP捆绑。无认证,无地址协商。实现全网互通。
实验步骤:【必写】
RA的配置:
En
Conf t
hostname RA
int s0/0
ip add 192.168.10.1 255.255.255.0 //配置端口IP
no sh
exit
interface Multilink1 //配置多链路PPP捆绑
ip address 192.168.20.1 255.255.255.0 //配置IP
ppp multilink //配置PPP多链路
ppp multilink group 1
no sh
exit
interface Serial1/1
no sh
encapsulation ppp //配置封装协议
ppp multilink
ppp multilink group 1 //加入PPP多链路1
exit
interface Serial1/2
no sh
encapsulation ppp
ppp multilink
ppp multilink group 1 //加入PPP多链路1
exit
interface Serial1/3
no sh
encapsulation ppp
ppp multilink
ppp multilink group 1 //加入PPP多链路1
exit
ip route 192.168.30.0 255.255.255.0 192.168.20.2 //配置静态路由
end
RB的配置:
En
Conf t
hostname R2
int s0/0
ip add 192.168.30.1 255.255.255.0 //配置端口IP
no sh
interface Multilink1 //配置多链路PPP捆绑
ip address 192.168.20.2 255.255.255.0
no sh
ppp multilink
ppp multilink group 1
exit
interface Serial1/1
no sh
encapsulation ppp
ppp multilink
ppp multilink group 1
exit
interface Serial1/2
no sh
encapsulation ppp
ppp multilink
ppp multilink group 1
exit
interface Serial1/3
no sh
encapsulation ppp
ppp multilink
ppp multilink group 1
ip route 192.168.10.0 255.255.255.0 192.168.20.1 //配置静态路由
end
pc1配置文档
en
conf t
host pc1
no ip routing //禁用路由功能
int s0/0
ip add 192.168.10.2 255.255.255.0 //配置端口IP
no sh
end
pc2配置文档:
en
conf t
host pc2
no ip routing
int s0/0
ip add 192.168.30.2 255.255.255.0
no sh
end
查看RA的串行接口 s1/1的状态信息(截图)
查看RB的串行接口 s1/1的状态信息(截图)
实验结论及排除思路或命令:【必写】
1. 写出通过本次上机实验操作,你得出了什么样的结论
2. 实验中出现的错误及排错方法
备 注:【可选】
写出你在实验中遇到的问题或者是新的发现或者新的解决方法(心得体会)
参考命令:
R1配置
!
hostname R1
!
!
interface Multilink1
ip address 192.168.20.1 255.255.255.0
ppp multilink
ppp multilink group 1
!
interface Serial1/1
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
interface Serial1/2
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
!
interface Serial1/3
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
R2配置
!
hostname R2
!
interface Multilink1
ip address 192.168.20.2 255.255.255.0
ppp multilink
ppp multilink group 1
!
!
interface Serial1/1
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
interface Serial1/2
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
interface Serial1/3
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
R1上进行调试
R1#show int multilink 1