Get the App
SLTechnology News&Howtos  ›  Network Security  › 

62. BGP of IPv6 configuration experiment

Shulou Source: shulou.com Published: 2022-06-01 03:12:28 10月04日 Update

1. Experimental Topology

2. Basic configuration

R1 configuration

Ipv6 unicast-routing

Interface Loopback0

Ipv6 address 1::1/64

Ipv6 ospf 110 area 0

Interface Serial0/0

Ipv6 address 2000:12::1/64

Ipv6 ospf 110 area 0

Ipv6 router ospf 110

Router-id 1.1.1.1

R2 configuration

Ipv6 unicast-routing

Interface Loopback0

Ipv6 address 2::2/64

Ipv6 ospf 110 area 0

Interface Serial0/0

Ipv6 address 2000:12::2/64

Ipv6 ospf 110 area 0

Interface Serial0/1

Ipv6 address 2000:23::2/64

Ipv6 router ospf 110

Router-id 2.2.2.2

R3 configuration

Ipv6 unicast-routing

Interface Loopback0

Ipv6 address 3::3/64

Ipv6 ospf 110 area 0

Interface Serial0/0

Ipv6 address 2000:34::3/64

Ipv6 ospf 110 area 0

Interface Serial0/1

Ipv6 address 2000:23::3/64

Ipv6 router ospf 110

Router-id 3.3.3.3

R4 configuration

Ipv6 unicast-routing

Interface Loopback0

Ipv6 address 4::4/64

Ipv6 ospf 110 area 0

Interface Serial0/0

Ipv6 address 2000:34::4/64

Ipv6 ospf 110 area 0

Interface Serial0/1

Ipv6 address 2000:45::4/64

Ipv6 ospf 110 area 0

Ipv6 router ospf 110

Router-id 4.4.4.4

R5 configuration

Ipv6 unicast-routing

Interface Loopback0

Ipv6 address 5::5/64

Ipv6 ospf 110 area 0

Interface Serial0/1

No ip address

Ipv6 address 2000:45::5/64

Ipv6 router ospf 110

Router-id 5.5.5.5

3. Configure BGP

R1 configuration

Router bgp 1

No synchronization

Bgp router-id 1.1.1.1

Neighbor 2::2 remote-as 1

Neighbor 2::2 update-source Loopback0

No auto-summary

Address-family ipv6

Neighbor 2::2 activate

Network 1::/64

R2 configuration

Router bgp 1

No synchronization

Bgp router-id 2.2.2.2

Neighbor 1::1 remote-as 1

Neighbor 1::1 update-source Loopback0

Neighbor 2000:23::3 remote-as 3

No auto-summary

Address-family ipv6

Neighbor 1::1 activate

Neighbor 1::1 next-hop-self

Neighbor 2000:23::3 activate

R3 configuration

Router bgp 3

No synchronization

Bgp router-id 3.3.3.3

Neighbor 4::4 remote-as 3

Neighbor 4::4 update-source Loopback0

Neighbor 5::5 remote-as 3

Neighbor 5::5 update-source Loopback0

Neighbor 2000:23::2 remote-as 1

No auto-summary

Address-family ipv6

Neighbor 4::4 activate

Neighbor 4::4 next-hop-self

Neighbor 5::5 activate

Neighbor 5::5 next-hop-self

Neighbor 2000:23::2 activate

R4 configuration

Router bgp 3

No synchronization

Bgp router-id 4.4.4.4

Neighbor 3::3 remote-as 3

Neighbor 3::3 update-source Loopback0

Neighbor 5::5 remote-as 3

Neighbor 5::5 update-source Loopback0

No auto-summary

Address-family ipv6

Neighbor 3::3 activate

Neighbor 5::5 activate

R5 configuration

Router bgp 3

No synchronization

Bgp router-id 5.5.5.5

Neighbor 3::3 remote-as 3

Neighbor 3::3 update-source Loopback0

Neighbor 4::4 remote-as 3

Neighbor 4::4 update-source Loopback0

No auto-summary

Address-family ipv6

Neighbor 3::3 activate

Neighbor 4::4 activate

Network 5::/64

4. Experimental test

Tags: Configuration Lab Basics Topology testing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS OPPO Reno Shulou Technology Xiaomi