[7] in SIPB IPv6

home help back first fref pref prev next nref lref last post

quick status; perl hack needed..

daemon@ATHENA.MIT.EDU (Bill Sommerfeld)
Wed Oct 6 19:01:00 1999

Message-Id: <199910062259.WAA07561@orchard.arlington.ma.us>
To: sipbv6@MIT.EDU
Date: Wed, 06 Oct 1999 18:59:46 -0400
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>

So, we have an upstream 6bone connection at this point through MERIT,
and, from limekiller, i've been able to ping and ftp to some other
6bone sites.  Before opening the floodgates for new tunnels, i'd like
to get some minimal automation for tunnel configuration.

I could whip something up myself, but..  anyone want to volunteer to
whip up some perl scripts which take a semi-free-form text database
(e.g., in termcap-like or some similar paragraph-like format) and
generate:

	- a script to run on limekiller at boot time to initialize all
		the interfaces
		(invoking gifconfig and ifconfig) and subnet routes
		(if it's a statically routed tunnel)
	- a DNS inverse zone for our little corner of IP6.INT
	- bgpd.conf and zebra.conf files for limekiller.

extra credit for:
	- a script to run on the other end of the tunnel to set it up.

Setting up a tunnel to a peer requires the following info:

	- local ipv4 address (always the same, at least for now)
	- local ipv6 address (always the same, at least for now)
	- remote ipv4 address of tunnel endpoint.
	- remote ipv6 address of router 
	- tunnel interface name (unique per tunnel)
	- zero, one, or many ipv6 prefixes (address and prefixlength pairs)
	- DNS names of nameservers for the inverse zone of these prefixes.

	- whether dynamic routing is in use on this tunnel.
	- if dynamic routing is in use:
		routing protocol and AS number (for BGP configuration)
		whether it's an "upstream" or "downstream" connection.
	- (if static routing  is in use, next hop is remote ipv6 address).

The goal here is to do something quick, not to spend a bunch of time
reinventing moira.  something which scales to ~50 tunnels should be
sufficient for now.

Note that there's not enough information in the above to fully specify
what needs to be done, but enough to give you an idea of how much work
is involved.  I can provide arbitrary levels of detail on what's
needed on demand..   Any suckers^Wvolunteers?

					- Bill

home help back first fref pref prev next nref lref last post