Advertising interface addresses via OSPF

Ryan Whelan rcwhelan at gmail.com
Wed Jul 27 03:23:17 CEST 2011


On Tue, Jul 26, 2011 at 9:13 PM, Ondrej Zajicek <santiago at crfreenet.org> wrote:
> On Tue, Jul 26, 2011 at 08:40:23PM -0400, Ryan Whelan wrote:
>> This sounds perfect, but reading the documentation its not clear to me
>> how to set this attribute.  Bird complains about syntax when I try to
>> set krt_prefsrc to the address of the dummy interface.  I'm clearly
>> missing something basic.  What is the config file syntax for setting
>> krt_prefsrc?
>
> Like any other route attribute:
>
>  krt_prefsrc = 1.2.3.4;
>
> in *import/export filters*.
>

Got it, thank you! (I've not used filters for anything up to this
point)  This will be very helpful for another issue issue I see
coming.

Is it possible to replace `1.2.3.4` with something that will
dynamically read the address from a specific address?  E.G.
ket_prefsrc = `ip of dummy0`

I didn't see anything reading the documentation, but I thought I'd
ask.  ( right now the bird.conf file on all the machines is the same,
and its been nice :p )

> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
> OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
> "To err is human -- to blame it on a computer is even more so."
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk4vZkIACgkQw1GB2RHercN/9wCbBbNMKOpOx0pq2YPadmwq5o/4
> zRcAn1M1PCXLOUIiJNcxqvtMDJiQ1C06
> =L0B1
> -----END PGP SIGNATURE-----
>
>



More information about the Bird-users mailing list