zoukankan      html  css  js  c++  java
  • PPP动态指定地址

     PPP动态指定单个地址

    AR1配置

    interface Serial4/0/0
     link-protocol ppp
     remote address 100.100.100.50 
     ip address 100.100.100.100 255.255.255.0 

    AR2配置

    interface Serial4/0/0
     link-protocol ppp
     ip address ppp-negotiate
    [AR2]dis ip interface brief 
    *down: administratively down
    ^down: standby
    (l): loopback
    (s): spoofing
    The number of interface that is UP in Physical is 2
    The number of interface that is DOWN in Physical is 4
    The number of interface that is UP in Protocol is 2
    The number of interface that is DOWN in Protocol is 4
    
    Interface                         IP Address/Mask      Physical   Protocol  
    GigabitEthernet0/0/0              unassigned           down       down      
    GigabitEthernet0/0/1              unassigned           down       down      
    GigabitEthernet0/0/2              unassigned           down       down      
    NULL0                             unassigned           up         up(s)     
    Serial4/0/0                       100.100.100.50/32    up         up        
    Serial4/0/1                       unassigned           down       down      
    [AR2]

    PPP用地址池指定远端机的IP地址

    AR1配置

    ip pool HCIE
     network 200.200.200.0 mask 255.255.255.0 
    interface Serial4/0/0
     link-protocol ppp
     remote address pool HCIE
     ppp ipcp default-route
     ip address 100.100.100.100 255.255.255.0 

    AR2配置

    interface Serial4/0/0
     link-protocol ppp
     ip address ppp-negotiate
    <R2>dis ip interface brief 
    *down: administratively down
    ^down: standby
    (l): loopback
    (s): spoofing
    The number of interface that is UP in Physical is 2
    The number of interface that is DOWN in Physical is 4
    The number of interface that is UP in Protocol is 2
    The number of interface that is DOWN in Protocol is 4
    
    Interface                         IP Address/Mask      Physical   Protocol  
    GigabitEthernet0/0/0              unassigned           down       down      
    GigabitEthernet0/0/1              unassigned           down       down      
    GigabitEthernet0/0/2              unassigned           down       down      
    NULL0                             unassigned           up         up(s)     
    Serial4/0/0                       200.200.200.254/32   up         up        
    Serial4/0/1                       unassigned           down       down      
    <R2>
  • 相关阅读:
    zookeeper安装和使用
    一个最简单的Dubbo入门框架
    Dubbo Admin管理平台搭建
    Docker容器入门实践
    vue 项目安装 (入门)
    测试任何对象的某个特性是否存在 兼容js
    用户代理字符串检测呈现引擎、平台、Windows操作系统、移动设备和游戏系统 js
    React
    React (4) -- Conditional Rendering
    React (5) -- Lists and Keys
  • 原文地址:https://www.cnblogs.com/liujunjun/p/13140157.html
Copyright © 2011-2022 走看看