Packet Tracer 5.0建构CCNA实验攻略(12)——PPP
 
  Packet Tracer 5.0是一款非常不错的Cisco(思科)网络设备模拟器,对于想考思科初级认证(如CCNA)的朋友们来说,Packet Tracer 5.0是非常不错的选择。通常我们周围并没有那么多思科的设备供我们学习调试,参加培训费用很贵,上机实践的机会还是有限的,利用Packet Tracer 5.0练习思科IOS操作命令很不错的。近日,在网上下载了思科CCNA640-802指导用书,打算根据此教程与诸位网友共同分享Packet Tracer 5.0的使用方法与技巧,也借此抛砖引玉。
  PPP(Point to Point Protocol)数据链路层协议。两种认证方式:一种是PAP,一种是CHAP。相对来说PAP的认证方式安全性没有CHAP高。PAP在传输password是明文的,而CHAP在传输过程中不传输密码,PAP认证是通过两次握手实现的,而CHAP则是通过3次握手实现的。
  一、实验配置拓扑图
4384cb3f064a01d87c1e7161.jpg
图一
  二、PPP的基本配置命令
  Router(config-if)#encapsulation PPP
   Router(config-if)#PPP multilink
   Router(config-if)#PPP authentication chap
  三、配置PPP
f5553a2dd7ca8d2e359bf763.jpg
图二 路由器Boson上配置PPP的命令
8f404e0f261972306159f36c.jpg

图三   Newyork上配置PPP的命令
2d95b60183e9cb1c1c95836d.jpg

图四 启用RIP路由协议,两个路由器要配置RIP
Boson路由器的配置:
Boston#sh running-config
Building configuration...
Current configuration : 652 bytes
!
version 12.4
no service password-encryption
!
hostname Boston
!
!
!
!
!
username Newyork password 0 senya
!
ip ssh version 1
no ip domain-lookup
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/3/0
description Link to Router Newyork
ip address 192.168.2.1 255.255.255.0
encapsulation ppp
ppp authentication chap
clock rate 56000
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 192.168.1.0
network 192.168.2.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
Newyork路由器的配置:
Newyork#sh running-config
Building configuration...
Current configuration : 606 bytes
!
version 12.4
no service password-encryption
!
hostname Newyork
!
!
!
!
!
username Boston password 0 senya
!
ip ssh version 1
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
ip address 192.168.3.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/3/0
description link to Boston
ip address 192.168.2.2 255.255.255.0
encapsulation ppp
ppp authentication chap
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 192.168.2.0
network 192.168.3.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
4858494ec7bb7413b2de056e.jpg
图五 配置计算机的IP地址及网关
cc8eadb7f146a9ee30add16f.jpg
图六 在计算机PC0上使用ping命令检查网络的连通性