Importing kernel routes
Ondrej Zajicek
santiago at crfreenet.org
Mon Oct 19 19:58:39 CEST 2009
On Mon, Oct 19, 2009 at 07:44:29PM +0200, Jann Traschewski wrote:
> Ahoj,
>
> I want to import the following route into the bird:
>
> db0fhn:~# ip route show table 230
> 44.4.28.50 via 75.101.49.52 dev tunl0 onlink
>
> The syslog shows:
> Oct 19 19:21:49 db0fhn bird: Kernel told us to use non-neighbor 75.101.49.52
> for 44.4.28.50/32
>
> I'm pretty sure to add this route to the bird for redistribution via BGP4.
..
> How can I solve this problem?
BIRD requires that the via IP address of the route is a neighbor.
It seems that in your case it isn't (as you use 'onlink' for 'ip'
command) on IP level.
Probably easiest way to solve this problem is to make it a neighor
on IP level:
# ip addr add LOCAL_IP peer 75.101.49.52 dev tunl0
--
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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20091019/71595178/attachment-0001.asc>
More information about the Bird-users
mailing list