[6bone] quagga bgpd importing and advertising debian routes on the fly

Haesu haesu@towardex.com
Sun, 23 Nov 2003 12:51:44 -0500


Write a script that telnets into bgpd or vtysh and enter commands?
I don't suppose this is any different than writing a script that telnets into cisco routers.

-hc

-- 
Haesu C.
TowardEX Technologies, Inc.
Consulting, colocation, web hosting, network design and implementation
http://www.towardex.com | haesu@towardex.com
Cell: (978)394-2867     | Office: (978)263-3399 Ext. 170
Fax: (978)263-0033      | POC: HAESU-ARIN

On Sun, Nov 23, 2003 at 11:10:58PM +1000, Dan Reeder wrote:
> Hi guys
> Here's the plan: we're in the middle of setting up a tunnel server on a debian box that is also running Quagga's bgp daemon that will hopefully be able to automatically advertise the newly made tunnel interfaces/networks on to its bgp peers. 
> 
> The problem is just how to go about doing this? The process will involve the http server (using perl or php) to get the new prefix, create it in debian [this works fine so far], then tell bgpd to include it in its statements. 
> 
> We'd normally just have a supernet that covers all the tunnels that would be created on the box and just advertise that to the peers, but the requirement to use just one pool of prefixes across two tunnel pops doing the above functions. 
> 
> The simple answer is to just get php to edit the bgpd.conf and restart bgpd every time a new tunnel interface is made - but that'd wreak havoc with the routing table for the rest of the users. 
> 
> Firstly is there a way to manually get the bgpd include and advertise new routes on the fly without interrupting other routes, and secondly can this be done automatically by php/perl/some other httpd-based function.
> 
> 
> thanks
> Dan Reeder