<div dir="ltr">Can you try the solution suggested in the comment of the github issue <a href="https://github.com/FRRouting/frr/issues/10009" target="_blank">https://github.com/FRRouting/frr/issues/10009</a>?<div><br></div><div>Specifically, with the command</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(36,41,47);font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:11.9px;background-color:rgba(175,184,193,0.2)">set ipv6 next-hop prefer-global</span></blockquote><div>in the route-map context.</div><div><br></div><div>Shelton </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 15, 2022 at 6:19 AM SANDEEP KUMAR <<a href="mailto:sandeepkumar2016000@gmail.com">sandeepkumar2016000@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#000000">Hi All,</font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large;color:rgb(153,0,0)"><span style="color:rgb(0,0,0)"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large;color:rgb(153,0,0)"><span style="color:rgb(0,0,0)">BGP connection between 2 Nodes with IPv6 on global IPs and want to route via global ipv6 address not via ipv6 link local address</span><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large;color:rgb(153,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#000000">I have made the bgp connection with global ipv6 address of interface and advertising the ipv6 route when advertising the route then bgp route added on Node2 for <b>2003:4001:5001::/64 via </b><b>fe80::6548:ed45:d5d:b578:link address of Node1 </b></font><b style="color:rgb(0,0,0)">but i want route with via </b><span style="color:rgb(0,0,0)"> </span><b style="color:rgb(0,0,0)">5001:1::9 global ipv6 address (</b><b style="color:rgb(0,0,0)">2003:4001:5001::/64 via </b><b style="color:rgb(0,0,0)">5001:1::9) </b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#000000">Similarly when we advertise </font><span style="color:rgb(0,0,0)">8001:1::/64 </span><span style="color:rgb(0,0,0)">from Node2, <b>So want help so that I can achieve the bgp route added on Node1 and Node2 via global ipv6 address not with ipv6 link address</b></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large;color:rgb(153,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font color="#000000"> </font><span style="color:rgb(0,0,0);font-size:small">2003:4001:5001::/64</span><span style="color:rgb(0,0,0)"> ------------[Node1]<===========================>[Node2]-------------</span><span style="color:rgb(0,0,0);font-size:small">8001:1::/64</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><span style="color:rgb(0,0,0);font-size:small"> ASN:65001 ASN:65002</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><span style="color:rgb(0,0,0);font-size:small"> </span><b style="font-size:small">5001:1::9:global </b><b style="font-size:small">5001:1::10:global</b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><b style="font-size:small"> </b><b style="font-size:small">fe80::6548:ed45:d5d:b578:link </b><span style="font-size:small"><b>fe80::2938:1046:591:8387:link</b></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:large"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><font color="#000000"><b><font size="4">[Node1 configuration and interface info]</font></b><br></font>[root@localhost centosecmp]#<b> ifconfig ens5|grep inet</b><br> inet 10.5.10.9 netmask 255.255.255.0 broadcast 10.5.10.255<br> <b>inet6 5001:1::9 prefixlen 64 scopeid 0x0<font color="#38761d"><global></font></b><br> <b>inet6 fe80::6548:ed45:d5d:b578 prefixlen 64 scopeid 0x20<font color="#38761d"><link></font></b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b><font color="#38761d"><br></font></b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">localhost.localdomain(config-router)# <b>do show running-config</b><br>Building configuration...<br><br>Current configuration:<br>!<br>frr version 7.2<br>frr defaults traditional<br>hostname localhost.localdomain<br>!<br><b>router bgp 65001<br> bgp router-id 1.1.1.1<br> no bgp default ipv4-unicast<br> neighbor 5001:1::10 remote-as 65002<br> !<br> address-family ipv6 unicast<br> network 2003:4001:5001::/64<br> neighbor 5001:1::10 activate<br> exit-address-family</b><br>!<br>line vty<br>!<br>end<br>localhost.localdomain(config-router)#<b> do show ip bgp ipv6 summary</b><br><br>IPv6 Unicast Summary:<br>BGP router identifier 1.1.1.1, local AS number 65001 vrf-id 0<br>BGP table version 2<br>RIB entries 3, using 552 bytes of memory<br>Peers 1, using 20 KiB of memory<br><br>Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd<br><b>5001:1::10 4 65002 7 7 0 0 0 00:02:13 1</b><br><br>Total number of neighbors 1<br>localhost.localdomain(config-router)# <b>do show ipv6 route bgp</b><br>Codes: K - kernel route, C - connected, S - static, R - RIPng,<br> O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table,<br> v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR,<br> f - OpenFabric,<br> > - selected route, * - FIB route, q - queued route, r - rejected route<br><br><b>B>* 8001:1::/64 [20/0] via<font color="#ff0000"> fe80::2938:1046:591:8387</font>, ens5, 00:02:19</b><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br><b style="color:rgb(0,0,0)"><font size="4">[Node2 configuration and interface info]</font></b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[root@localhost centosecmp]# <b>ifconfig ens4|grep inet</b><br> inet 10.5.10.10 netmask 255.255.255.0 broadcast 10.5.10.255<br> <b>inet6 fe80::2938:1046:591:8387 prefixlen 64 scopeid 0x20<font color="#38761d"><link></font></b><br> <b> inet6 5001:1::10 prefixlen 64 scopeid 0x0<font color="#6aa84f"><global></font></b><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b><br></b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">localhost.localdomain(config-router)# <b>do show running-config</b><br>Building configuration...<br><br>Current configuration:<br>!<br>frr version 7.2<br>frr defaults traditional<br>hostname localhost.localdomain<br>!<br><b>router bgp 65002<br> bgp router-id 222.222.222.222<br> no bgp default ipv4-unicast<br> neighbor 5001:1::9 remote-as 65001<br> !<br> address-family ipv6 unicast<br> network 8001:1::/64<br> neighbor 5001:1::9 activate<br> exit-address-family</b><br>!<br>line vty<br>!<br>end<br>localhost.localdomain(config-router)# <b>do show ip bgp ipv6 summary</b><br><br>IPv6 Unicast Summary:<br>BGP router identifier 222.222.222.222, local AS number 65002 vrf-id 0<br>BGP table version 2<br>RIB entries 3, using 552 bytes of memory<br>Peers 1, using 20 KiB of memory<br><br>Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd<br><b>5001:1::9 4 65001 9 9 0 0 0 00:04:48 1</b><br><br>Total number of neighbors 1<br>localhost.localdomain(config-router)# <b>do show ipv6 route bgp</b><br>Codes: K - kernel route, C - connected, S - static, R - RIPng,<br> O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table,<br> v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR,<br> f - OpenFabric,<br> > - selected route, * - FIB route, q - queued route, r - rejected route<br><br><b>B>* 2003:4001:5001::/64 [20/0] via<font color="#ff0000"> fe80::6548:ed45:d5d:b578</font>, ens4, 00:05:08</b><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b><br></b></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks & Regards,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Sandeep Kumar</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.frrouting.org" target="_blank">dev@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/dev</a><br>
</blockquote></div>