I forgot to mention that my interface ‘784648196’ has an IPv4 scope link address configured like this:

784648196@NONE: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1462 qdisc pfifo_fast master bat0 state UNKNOWN group default qlen 1000
inet 169.254.40.2/21 scope link 784648196

How can I use scope link configurations with BGP in bird4?

Thanks again,
Amadeus


On 14 Feb 2015, at 12:13, Amadeus Alfa <amadeus@freehop.mooo.com> wrote:

Hello list,

in bird6 I can use the following configuration snippet with IPv6 link local addresses:

protocol bgp xxx {
  neighbor fe80::2ff:c0bb:fe00:1234 % '784648196' as 1234;
};

('784648196' is the interface name)

My question is now: How can I use IPv4 scope link addresses in bird4?

When I use the line below I get an error: "Link-local address and interface scope must be used together"

protocol bgp xxx {
  neighbor 169.254.0.1 % '784648196' as 1234;
};

Thanks,
Amadeus