zoukankan      html  css  js  c++  java
  • BGP联盟

    ---恢复内容开始---

    1.

    每台路由器设置loop back口,r1和r6另外多设置两个

    2.

    R2 R3 R4 R5 R6做ospf

    以R2为例:

    ospf 1 router-id 2.2.2.2
     area 0.0.0.0
      network 2.2.2.0 0.0.0.255
      network 23.1.1.0 0.0.0.255

    3.

    R1 R2 建立EBGP邻居并宣告自己

    R1为例:

    bgp 100
     peer 12.1.1.2 as-number 200
     #
      network 1.1.1.0 255.255.255.0
      network 2.2.2.0 255.255.255.0
      network 11.11.11.0 255.255.255.0
      network 12.1.1.0 255.255.255.0
      peer 12.1.1.2 enable

    R2:

    bgp 65001
     confederation id 200
     peer 12.1.1.1 as-number 100
    #
     ipv4-family unicast
      undo synchronization
      network 2.2.2.0 255.255.255.0
      network 6.6.6.0 255.255.255.0
      network 12.1.1.0 255.255.255.0 
      network 66.66.66.0 255.255.255.0

    注入ospf:

      import-route ospf 1

    4。

    R2 和R3建立Ebgp邻居

    R2:

    bgp 65001
     confederation id 200
     confederation peer-as 65002
     peer 12.1.1.1 as-number 100
     peer 23.1.1.3 as-number 65002
     #
     ipv4-family unicast
      undo synchronization
      network 2.2.2.0 255.255.255.0
      network 6.6.6.0 255.255.255.0
      network 12.1.1.0 255.255.255.0
      network 23.1.1.0 255.255.255.0
      network 66.66.66.0 255.255.255.0
      import-route ospf 1
      peer 12.1.1.1 enable
      peer 23.1.1.3 enable

    R3:

    bgp 65002
     confederation id 200
     confederation peer-as 65001
     peer 23.1.1.2 as-number 65001
     #
     ipv4-family unicast
      undo synchronization
      peer 23.1.1.2 enable

    5.

    R3和R4建立IBGP 邻居

    R3:

    bgp 65002

     confederation id 200

    [Huawei-bgp]confederation peer-as 65002

    [Huawei-bgp]peer 34.1.1.4 as-number 65002

    后两句话不能反这写

    R4:

    bgp 65002
     confederation id 200
     peer 34.1.1.3 as-number 65002
     #
     ipv4-family unicast
      undo synchronization
      peer 34.1.1.3 enable

    R3与R5建立EBGP邻居:

    R3:

    bgp 65002
     confederation id 200
     confederation peer-as 65001 65003
     peer 23.1.1.2 as-number 65001
     peer 34.1.1.4 as-number 65002
     peer 35.1.1.5 as-number 65003
     #
     ipv4-family unicast
      undo synchronization
      peer 23.1.1.2 enable
      peer 34.1.1.4 enable
      peer 35.1.1.5 enable

    R5:

    #
    bgp 65003
     confederation id 200
     confederation peer-as 65002
     peer 35.1.1.3 as-number 65002

    R5与R6建立IBGP:

    R5:

    bgp 65003
     confederation id 200
     confederation peer-as 65002
     peer 35.1.1.3 as-number 65002
     peer 56.1.1.6 as-number 65003
     #
     ipv4-family unicast
      undo synchronization
      peer 35.1.1.3 enable
      peer 56.1.1.6 enable

    R6:

    bgp 65003
     confederation id 200
     peer 56.1.1.5 as-number 65003

    此时全网通

    OVER 啦啦啦啦啦


     

    ---恢复内容结束---

  • 相关阅读:
    redis学习笔记(三)——redis的命令大全总结
    redis学习笔记(二)——java中jedis的简单使用
    redis学习笔记(一)——windows下redis的安装与配置
    快速排序
    SpringMvc实现批量删除,使用post传值一直报404错误
    Bootstrap-table 显示行号
    选择排序
    冒泡排序
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class
    Jquery Validate动态添加和删除校验规则
  • 原文地址:https://www.cnblogs.com/mqqq/p/11375235.html
Copyright © 2011-2022 走看看