• OSPF与静态路由


    AR3配置

    interface GigabitEthernet0/0/0
     ip address 23.1.1.3 255.255.255.0 
    #
    interface GigabitEthernet0/0/1
     ip address 192.168.1.254 255.255.255.0 
    
    ospf 1 router-id 3.3.3.3 
     area 0.0.0.0 
      network 23.1.1.0 0.0.0.255 
      network 192.168.1.0 0.0.0.255 
    #
    ip route-static 0.0.0.0 0.0.0.0 23.1.1.2

    AR2配置

    interface GigabitEthernet0/0/0
     ip address 23.1.1.2 255.255.255.0 
    #
    interface GigabitEthernet0/0/1
     ip address 12.1.1.2 255.255.255.0 
    
    ospf 1 router-id 2.2.2.2 
     area 0.0.0.0 
      network 12.1.1.0 0.0.0.255 
      network 23.1.1.0 0.0.0.255 
    #
    ip route-static 0.0.0.0 0.0.0.0 12.1.1.1

    AR1配置

    acl number 2000  
     rule 5 permit source 192.168.1.0 0.0.0.255 
    
    interface GigabitEthernet0/0/0
     ip address 14.1.1.1 255.255.255.0 
     nat outbound 2000  #NAT转换
    #
    interface GigabitEthernet0/0/1
     ip address 12.1.1.1 255.255.255.0 
    
    ospf 1 router-id 1.1.1.1 
     area 0.0.0.0 
      network 12.1.1.0 0.0.0.255 
    #
    ip route-static 0.0.0.0 0.0.0.0 14.1.1.4

    ISP配置

    interface GigabitEthernet0/0/0
     ip address 14.1.1.4 255.255.255.0 
    
    interface LoopBack0
     ip address 4.4.4.4 255.255.255.255 

    测试

  • 相关阅读:
    头插法建立单链表
    顺序表
    栈的顺序存储实现
    折半查找
    myeclipe 快捷键盘
    ztree redio单选按钮
    webuploader上传进度条 上传删除
    svn乱码解决办法
    异构SOA系统架构之Asp.net实现(兼容dubbo)
    RPC框架
  • 原文地址:https://www.cnblogs.com/liujunjun/p/13019847.html
Copyright © 2020-2023  润新知