On Fri, Jul 28, 2017 at 11:27:23AM +0000, ico wrote: > Hello, > > Is there a way to do it without setting IPs anywhere? Maybe set some custom > local routing table for this and tell bird to announce routes found there? > > echo "25 mytable" >> /etc/iproute2/rt_tables > ip route show table mytable # empty > ip route add 10.0.0.1/32 dev lo table mytable > ip route show table mytable # shows 10.0.0.1 on loopback > # and now also bird picks up 10.0.0.1 and announces it > > What is the best way to do it "the most dynamic way"?
Hi You could add 'learn' option to kernel protocol and then learn routes from that table. These could be exported to the OSPF protocol as external routes. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
signature.asc
Description: PGP signature
