<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">Hello list,</div><div class=""><br class=""></div><div class="">I have checked the implementation again and it seems â€˜ipv4_has_link_scope()’ is not implemented:</div><div class=""><br class=""></div><div class="">ipv6.h (everything works fine):</div><div class="">65  #define ipa_has_link_scope(x) ipv6_has_link_scope(&(x))</div><div class="">90  static inline int ipv6_has_link_scope(ip_addr *a)</div><div class="">91  {</div><div class="">92    return ((a->addr[0] & 0xffc00000) == 0xfe800000);</div><div class="">93  }</div><div class=""><br class=""></div><div class="">ipv4.h (returns 0 in any case)</div><div class="">59  #define ipa_has_link_scope(x) ipv4_has_link_scope(_I(x))</div><div class="">77  static inline int ipv4_has_link_scope(u32 a UNUSED)</div><div class="">78  {</div><div class="">79   return 0;</div><div class="">80  }</div><div class=""><br class=""></div><div class="">However, does it make sense to do this check in the first place?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Amadeus</div></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 21 Feb 2015, at 18:39, Amadeus Alfa <<a href="mailto:amadeus@freehop.mooo.com" class="">amadeus@freehop.mooo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I forgot to mention that my interface â€˜784648196’ has an IPv4 scope link address configured like this:</div><div class=""><br class=""></div><div class="">784648196@NONE: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1462 qdisc pfifo_fast master bat0 state UNKNOWN group default qlen 1000</div><div class="">inet 169.254.40.2/21 scope link 784648196</div><div class=""><br class=""></div><div class="">How can I use scope link configurations with BGP in bird4?</div><div class=""><br class=""></div><div class="">Thanks again,</div><div class="">Amadeus</div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 14 Feb 2015, at 12:13, Amadeus Alfa <<a href="mailto:amadeus@freehop.mooo.com" class="">amadeus@freehop.mooo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="" style="font-family: Tahoma; font-size: 16px;">Hello list,</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">in bird6 I can use the following configuration snippet with IPv6 link local addresses:</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">protocol bgp xxx {</span><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">  neighbor fe80::2ff:c0bb:fe00:1234 % '784648196' as 1234;</span><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">};</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">('784648196' is the interface name)</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">My question is now: How can I use IPv4 scope link addresses in bird4?</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">When I use the line below I get an error: "Link-local address and interface scope must be used together"</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">protocol bgp xxx {</span><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">  neighbor 169.254.0.1 % '784648196' as 1234;</span><br class="" style="font-family: Tahoma; font-size: 16px;"><span class="" style="font-family: Tahoma; font-size: 16px;">};</span><br class="" style="font-family: Tahoma; font-size: 16px;"><br class="" style="font-family: Tahoma; font-size: 16px;"><span data-bind="foreach: aAllRecipients" class="" style="font-family: Tahoma; font-size: 16px;">Thanks,<br class="">Amadeus</span></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></body></html>