Kernel route attributes [was: Re: source address for routes installed in routing table (on linux)]
Arkadiusz Miskiewicz
arekm at maven.pl
Sun Apr 3 09:04:20 CEST 2011
On Friday 01 of April 2011, Ondrej Zajicek wrote:
> On Thu, Mar 31, 2011 at 10:04:04PM +0200, Arkadiusz Miskiewicz wrote:
> > 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).
>
> That is definitely a good idea. The question is what other kernel route
> attributes are worth setting from BIRD? i found source, realms/flows,
> perhaps priority, not sure about others (there are not many
> resources about that). Any suggestions?
realms look interesting, too:
http://www.policyrouting.org/iproute2.doc.html#ss9.9
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
More information about the Bird-users
mailing list