zoukankan      html  css  js  c++  java
  • rip和ospf路由双向引用

    AR1配置

    interface GigabitEthernet0/0/0
     ip address 172.16.2.1 255.255.255.0 
    #
    interface GigabitEthernet0/0/1
     ip address 192.168.2.1 255.255.255.0 
    
    ospf 1 router-id 1.1.1.1 
     import-route rip 1    #在OSPF进程中使用import-route rip 1引入RIP路由。
     area 0.0.0.0 
      network 192.168.2.0 0.0.0.255 
    #
    rip 1
     undo summary
     version 2
     network 172.16.0.0
     import-route ospf 1 cost 3    #在RIP进程中使用import-route ospf 1 cost 3引入OSPF路由,并修改开销值为3
    
    

    AR2配置

    interface GigabitEthernet0/0/0
     ip address 172.16.2.2 255.255.255.0 
    #
    interface GigabitEthernet0/0/1
     ip address 172.16.1.254 255.255.255.0 
    
    rip 1
     undo summary
     version 2
     network 172.16.0.0

    AR3配置

    interface GigabitEthernet0/0/0
     ip address 192.168.1.254 255.255.255.0 
    #
    interface GigabitEthernet0/0/1
     ip address 192.168.2.3 255.255.255.0 
    ospf 1 router-id 3.3.3.3 
     area 0.0.0.0 
      network 192.168.1.0 0.0.0.255 
      network 192.168.2.0 0.0.0.255 

    测试

  • 相关阅读:
    react的路由以及传值方法
    三连击
    给网页添加鼠标样式
    单词统计(续)
    个人课程总结
    构建之法阅读笔记02
    构建之法阅读笔记01
    第十六周总结
    计算最长英语单词链
    第十五周总结
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12982205.html
Copyright © 2011-2022 走看看