Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

49. Federation of BGP configuration experiments

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

1. Federal resolution

How federation works: divide multiple private AS manually within AS (private AS in federation does not increase the path length of AS-PATH)

Configuration steps:

Step 1: router bgp small AS number (private AS number)

Step 2: declare the big AS account

Step 3: refer to each other's peer between small AS numbers

2. Experimental topology

3. Basic configuration

R1 configuration

Interface Loopback0

Ip address 1.1.1.1 255.255.255.0

Interface Serial0/0

Ip address 12.1.1.1 255.255.255.0

Router bgp 1

No synchronization

Bgp router-id 1.1.1.1

Network 1.1.1.0 mask 255.255.255.0

Neighbor 12.1.1.2 remote-as 2

No auto-summary

R2 configuration

Interface Loopback0

Ip address 2.2.2.2 255.255.255.0

Interface Serial0/0

Ip address 12.1.1.2 255.255.255.0

Interface Serial0/1

Ip address 23.1.1.2 255.255.255.0

Router ospf 110

Router-id 2.2.2.2

Network 2.2.2.0 0.0.0.255 area 0

Network 23.1.1.0 0.0.0.255 area 0

R3 configuration

Interface Loopback0

Ip address 3.3.3.3 255.255.255.0

Interface Serial0/0

Ip address 34.1.1.3 255.255.255.0

Interface Serial0/1

Ip address 23.1.1.3 255.255.255.0

Router ospf 110

Router-id 3.3.3.3

Network 3.3.3.0 0.0.0.255 area 0

Network 23.1.1.0 0.0.0.255 area 0

Network 34.1.1.0 0.0.0.255 area 0

R4 configuration

Interface Loopback0

Ip address 4.4.4.4 255.255.255.0

Interface Serial0/0

Ip address 34.1.1.4 255.255.255.0

Router ospf 110

Router-id 4.4.4.4

Network 4.4.4.0 0.0.0.255 area 0

Network 34.1.1.0 0.0.0.255 area 0

4. Configure neighbors to solve horizontal division.

R2 configuration

Router bgp 64512

No synchronization

Bgp router-id 2.2.2.2

Bgp confederation identifier 2

Neighbor 3.3.3.3 remote-as 64512

Neighbor 3.3.3.3 update-source Loopback0

Neighbor 3.3.3.3 next-hop-self

Neighbor 12.1.1.1 remote-as 1

No auto-summary

R3 configuration

Router bgp 64512

No synchronization

Bgp router-id 3.3.3.3

Bgp confederation identifier 2

Bgp confederation peers 64513

Neighbor 2.2.2.2 remote-as 64512

Neighbor 2.2.2.2 update-source Loopback0

Neighbor 4.4.4.4 remote-as 64513

Neighbor 4.4.4.4 ebgp-multihop 255

Neighbor 4.4.4.4 update-source Loopback0

No auto-summary

R4 configuration

Router bgp 64513

No synchronization

Bgp router-id 4.4.4.4

Bgp confederation identifier 2

Bgp confederation peers 64512

Neighbor 3.3.3.3 remote-as 64512

Neighbor 3.3.3.3 ebgp-multihop 255

Neighbor 3.3.3.3 update-source Loopback0

No auto-summary

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report