source address for routes installed in routing table (on linux)

Arkadiusz Miskiewicz arekm at maven.pl
Thu Mar 31 22:04:04 CEST 2011


Hello,

bird installs routes in kernel table without any source address, so for all 
connections initiated at that machine kernel chooses address from interface.

I'm looking for a sane way to get routes installed with specific source 
address - basically an equivalent of "ip r a x.y.z.q/prefix via nexthop dev 
ethX src MYIP" command.

I don't see such functionality in bird (so consider this to be a feature 
request).

From irc I see that there are hacky way to get archieve that but these are 
just hacky (adding ipv4 address with scope link or preferred_lft 0 for ipv6).

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/



More information about the Bird-users mailing list