拓扑图:

简单PPP封装与认证 

实验步骤:

1.配置RA

Router(config)#hostname RA   分配主机名
RA(config)#int s0/0/0
RA(config-if)#ip add 192.168.10.1 255.255.255.0   配置IP
RA(config-if)#no shut

RA(config-if)#clock rate 64000    配置时钟频率

RA(config-if)#encapsulation ppp   设置为PPP封装

RA(config)#username RB password hongxiu   定义用户名和口令

RA(config)#int s0/0/0

RA(config-if)#ppp authentication chap  启用CHAP认证方式

sho int s0/0/0: 验证PPP封装

  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Open
  Open: IPCP, CDPCP

2.配置RB:

Router(config)#hos
Router(config)#hostname RB   定义主机名
RB(config)#int s0/0/

RB(config)#int s0/0/0
RB(config-if)#ip add 192.168.10.2 255.255.255.0   配置IP
RB(config-if)#no shut

RB(config-if)#clock rate 64000   设置时钟频率

RB(config-if)#encapsulation ppp   设置为PPP封装

RB(config)#username RA password hongxiu   定义用户名和口令

RB(config)#int s0/0/0

RB(config-if)#ppp  au
RB(config-if)#ppp  authentication chap    启用CHAP认证方式

RB#sho int s0/0/0 验证PPP封装

 Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Open
  Open: IPCP, CDPCP

注意:

1.上面所配的用户名必须是远程路由的用户名还有口令必须相同。

2.链路的两边必须都运行相同的封装方式。

 

转载于:https://blog.51cto.com/hongxiu/723127

相关文章:

  • 2021-04-17
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2021-04-28
  • 2021-05-23
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-07-23
  • 2021-11-08
  • 2021-08-27
相关资源
相似解决方案