溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

62、IPv6配置實驗之BGP

發(fā)布時間:2020-08-06 13:27:06 來源:網(wǎng)絡(luò) 閱讀:653 作者:開源殿堂 欄目:網(wǎng)絡(luò)安全

1、實驗拓?fù)?/p>

62、IPv6配置實驗之BGP62、IPv6配置實驗之BGP

2、基礎(chǔ)配置

R1配置

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配置

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配置

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配置

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配置

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、配置BGP

R1配置

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配置

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配置

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配置

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配置

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、實驗測試

62、IPv6配置實驗之BGP

62、IPv6配置實驗之BGP


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI