62、IPv6配置实验之BGP-创新互联
1、实验拓扑
成都创新互联专注于企业营销型网站、网站重做改版、大通网站定制设计、自适应品牌网站建设、H5网站设计、商城系统网站开发、集团公司官网建设、成都外贸网站建设公司、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为大通等各大城市提供网站开发制作服务。2、基础配置
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、实验测试
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网页名称:62、IPv6配置实验之BGP-创新互联
标题URL:http://azwzsj.com/article/dodsed.html