Advertise your one-click IPv6 prefix

By on 7 Jul 2016

Category: Tech matters

Tags: , , , , ,

Blog home

Advertising your IPv6 prefix starts with getting a prefix via a one-click link on your MyAPNIC account. This is an easy first step towards deploying IPv6  you can do without having to wait for an approved deployment plan.

To make your prefix visible to the global Internet, complete the following steps to advertise your IPv6 prefix from your Cisco, Juniper or Huawei border router.

IPv6prefix-advertise

In the above diagram, R5 is peering with AS45192 router in APNIC training lab. There will an eBGP peering between R5 and AS45192 router. How can we simply advertise our one click IPv6 prefix on Cisco, Juniper and a Huawei router?

After you have established a successful point-to-point connection between these two routers, you will be required to complete the following BGP-related configuration according to your router brand:
 

Cisco Router

IPv6 eBGP peering config Router5:

config t
router bgp 17821
address-family ipv6
neighbor 2001:df0:a:f00::1 remote-as 45192
neighbor 2001:df0:a:f00::1 activate
network 2406:6400::/32
exit
exit
ipv6 route 2406:6400::/32 null 0
wr

We need to add a static null 0 route on the originating router because BGP will not advertise the entire /32 prefix to its neighbour until it will find the entire prefix is matched in its IGP routing table. This checking mechanism in BGP protocol will ensure that if the prefix is not fully used in the downstream network and if there is a default route available on the router,  it will create a potential looping in the routing process.
 

Juniper Router

IPv6 eBGP peering config Router5:

set protocols bgp group IPV6-UPSTREAM type external
set protocols bgp group IPV6-UPSTREAM peer-as 45192
set protocols bgp group IPV6-UPSTREAM neighbor 2001:df0:a:f00::1

Route Policy statement

set routing-options rib inet6.0 generate route 2406:6400::/32 passive
set policy-options policy-statement IPV6-UP-POLICY term 1 from family inet6
set policy-options policy-statement IPV6-UP-POLICY term 1 from route-filter 2406:6400::/32
set policy-options policy-statement IPV6-UP-POLICY term 1 then accept
set policy-options policy-statement IPV6-UP-POLICY term 2 from family inet6
set policy-options policy-statement IPV6-UP-POLICY term 2 then reject
set protocols bgp group IPV6-UPSTREAM neighbor 2001:df0:a:f00::1 export IPV6-UP-POLICY
 

Huawei Router

system-view
bgp 17821
group IPV6-UPSTREAM external
peer 2001:df0:a:f00::1 as-number 45192
ipv6-family unicast
peer IPV6-UPSTREAM enable
peer 2001:df0:a:f00::1 group IPV6-UPSTREAM
network 2406:6400:: 32
quit
quit
ipv6 route-static 2406:6400:0010:0000:: 4 null 0
quit
save
 

What next?

After getting and advertising you IPv6 prefix, the next challenge is to prepare a proper IPv6 addressing and deployment plan. Developing and implementing a plan can take some time depending on how big your network is.

For more information see https://www.apnic.net/ipv6

 

Rate this article

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of APNIC. Please note a Code of Conduct applies to this blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please answer the math question * Time limit is exhausted. Please reload CAPTCHA.

Top