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

62. BGP of IPv6 configuration experiment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

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

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

Network Security

Wechat

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

12
Report