I currently have an established eBGP session established on a dual stack p2p link in my lab.
The peering is established with the v4 addresses and I have multiprotocol extensions enabled and I can share both IPv4 & v6 prefixes.
My only problem is that the v6 routes are populating the routing table with the link-local address of the peer as the next hop when I would prefer it to use the global address.
Can someone please look over my config and help me understand what I have misconfigured.
Thanks You.
!!!R1!!!
set interfaces ethernet eth2 address 192.168.0.0/31
set interfaces ethernet eth2 address 2001:4626::0/127
set interfaces ethernet eth2 description ‘DCRT1’set policy prefix-list6 LAN-v6-Summary
set policy prefix-list6 LAN-v6-Summary description Summary-Prefix
set policy prefix-list6 LAN-v6-Summary rule 10 action permit
set policy prefix-list6 LAN-v6-Summary rule 10 prefix 2001:4626:0001::/48set policy route-map IPv6-Next-Hop-DC
set policy route-map IPv6-Next-Hop-DC description Set-Eth2-As-Next-Hop
set policy route-map IPv6-Next-Hop-DC rule 10 action permit
set policy route-map IPv6-Next-Hop-DC rule 10 match ipv6 address prefix-list LAN-v6-Summary
set policy route-map IPv6-Next-Hop-DC rule 10 set ipv6-next-hop global 2001:4626::0set protocols bgp system-as 65101
set protocols bgp neighbor 192.168.0.1 remote-as 65102
set protocols bgp neighbor 192.168.0.1 remote-as external
set protocols bgp neighbor 192.168.0.1 bfd
set protocols bgp neighbor 192.168.0.1 capability dynamic
set protocols bgp neighbor 192.168.0.1 address-family ipv4-unicast
set protocols bgp neighbor 192.168.0.1 address-family ipv6-unicast
set protocols bgp neighbor 192.168.0.1 address-family ipv6-unicast route-map export IPv6-Next-Hop-DC
set protocols bgp address-family ipv4-unicast network 10.1.0.0/16
set protocols bgp address-family ipv6-unicast network 2001:4626:0001::/48
!!!R2!!!
set interfaces ethernet eth2 address 192.168.0.1/31
set interfaces ethernet eth2 address 2001:4626::1/127
set interfaces ethernet eth2 description ‘MDRT1’set policy prefix-list6 LAN-v6-Summary
set policy prefix-list6 LAN-v6-Summary description Summary-Prefix
set policy prefix-list6 LAN-v6-Summary rule 10 action permit
set policy prefix-list6 LAN-v6-Summary rule 10 prefix 2001:4626:0002::/48set policy route-map IPv6-Next-Hop-MD
set policy route-map IPv6-Next-Hop-MD description Set-Eth2-As-Next-Hop
set policy route-map IPv6-Next-Hop-MD rule 10 action permit
set policy route-map IPv6-Next-Hop-MD rule 10 match ipv6 address prefix-list LAN-v6-Summary
set policy route-map IPv6-Next-Hop-MD rule 10 set ipv6-next-hop global 2001:4626::1set protocols bgp system-as 65102
set protocols bgp neighbor 192.168.0.0 remote-as 65101
set protocols bgp neighbor 192.168.0.0 remote-as external
set protocols bgp neighbor 192.168.0.0 bfd
set protocols bgp neighbor 192.168.0.0 capability dynamic
set protocols bgp neighbor 192.168.0.0 address-family ipv4-unicast
set protocols bgp neighbor 192.168.0.0 address-family ipv6-unicast
del protocols bgp neighbor 192.168.0.0 address-family ipv6-unicast route-map export IPv6-Next-Hop-MD
set protocols bgp address-family ipv4-unicast network 10.2.0.0/16
set protocols bgp address-family ipv6-unicast network 2001:4626:0002::/48