IPv6 BGP

Posted: January 20, 2016 in Interior gateway protocols (IGP)

bgp 1.PNG

bgp 2

Configuration

#sh bgp ipv6 unicast

#sh bgp ipv6 unicast summary

Route Reflector

router bgp 100
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor IPV6_IBGP peer-group
neighbor IPV6_IBGP remote-as 100
neighbor IPV6_IBGP update-source Loopback0
neighbor 2001:150:2:2::2 peer-group IPV6_IBGP
neighbor 2001:150:3:3::3 peer-group IPV6_IBGP
neighbor 2001:150:4:4::4 peer-group IPV6_IBGP
neighbor 2001:150:5:5::5 peer-group IPV6_IBGP
neighbor 2001:150:6:6::6 peer-group IPV6_IBGP
neighbor 2001:150:7:7::7 peer-group IPV6_IBGP
neighbor 2001:150:8:8::8 peer-group IPV6_IBGP
address-family ipv4
exit-address-family

address-family ipv6
neighbor IPV6_IBGP route-reflector-client
neighbor 2001:150:2:2::2 activate
neighbor 2001:150:3:3::3 activate
neighbor 2001:150:4:4::4 activate
neighbor 2001:150:5:5::5 activate
neighbor 2001:150:6:6::6 activate
neighbor 2001:150:7:7::7 activate
neighbor 2001:150:8:8::8 activate
exit-address-family

Spoke

router bgp 100
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 2001:150:1:1::1 remote-as 100
neighbor 2001:150:1:1::1 update-source Loopback0

address-family ipv4
exit-address-family

address-family ipv6
neighbor 2001:150:1:1::1 activate
exit-address-family

Using Link-Local Address

router bgp 9
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor FE80::7%Ethernet0/1.79 remote-as 100
neighbor FE80::7%Ethernet0/1.79 update-source Ethernet0/1.79

address-family ipv4
exit-address-family

address-family ipv6
network 2001:150:9:9::9/128
neighbor FE80::7%Ethernet0/1.79 activate
exit-address-family

Using IPv4 as Transport

By default if you use IPv4 as transport for Ipv6 , the IPv6 NLRI prefix’s will have a next hop of IPv4 in-corded as an IPv6  , this next hop recursion will fail. To fix this use the no bgp default ipv6-nexthop command.

router bgp 10
bgp log-neighbor-changes
no bgp default ipv4-unicast
no bgp default ipv6-nexthop
neighbor 155.1.108.8 remote-as 100

address-family ipv4
exit-address-family

address-family ipv6
redistribute connected
neighbor 155.1.108.8 activate
exit-address-family

Leave a comment