zoukankan      html  css  js  c++  java
  • 配置 PPP 封装和认证

    ppp

    点对点协议(Point to Point Protocol,PPP)为在点对点连接上传输多协议数据包提供了一个标准方法。
    PPP 最初设计是为两个对等节点之间的 IP 流量传输提供一种封装协议。在 TCP-IP 协议集中它是一种用来同步调制连接的数据链路层协议(OSI模式中的第二层),
    替代了原来非标准的第二层协议,即 SLIP。除了 IP 以外 PPP 还可以携带其它协议,包括 DECnet 和 Novell 的 Internet 网包交换(IPX)。

     

    R4#conf t
    R4(config)#int s0
    R4(config-if)#encapsulation ppp
    R4(config-if)#ip add 192.168.1.1 255.255.255.0
    R4(config-if)#no shut
    R4(config-if)#exit
    R4(config)#username R5 password spoto \对端路由器主机名和认证使用的密码
    R4(config)#int s0
    R4(config-if)#ppp authentication chap \选择 chap 认证类型

    R5#conf t R5(config)#
    int s0 R5(config-if)#encapsulation ppp R5(config-if)#ip add 192.168.1.2 255.255.255.0 R5(config-if)#no shut R5(config-if)#clockrate 64000 R5(config-if)#exit R5(config)#username R4 password spoto \认证使用的密码必须和 R4 上设置的相同 R5(config)#int s0 R5(config-if)#ppp authentication chap

     

  • 相关阅读:
    Qt中使用cout, cin, cerr
    linux下清理系统垃圾
    linux清理内存命令
    boost 特点
    linux boost 安装
    valgrind 的使用及错误信息分析
    ArcGIS Engine 编辑介绍
    ArcGIS Engine 编辑- IWorkspaceEdit
    ArcGIS Engine 编辑- ITask
    CreateFeature与CreateFeatureBuffer区别
  • 原文地址:https://www.cnblogs.com/topass123/p/13127394.html
Copyright © 2011-2022 走看看