[6bone] Re: ip6 conversion script
Petr Baudis
pasky@pasky.ji.cz
Mon, 2 Sep 2002 15:28:00 +0200
Dear diary, on Mon, Sep 02, 2002 at 01:30:10PM CEST, I got a letter,
where Sam Bingner <sam@dhs.org> told me, that...
> I attached a little conversion tool written in perl to take as an argument a
> regular ip6 address like 3ffe:2900:b::1 and output the ip6.int address and
> full ipv6 address.
>
> Don't know if you guys will find a use for it, but trying to figure out what
> to put in DNS files gave me a headache ;)
Only FYI, there already exists similiar tool by Keith Owens named ip6_int,
available ie. at http://www.bieringer.de/linux/IPv6/tools/ip6_int, which does
basically the same, but has less sophisticated output; on the other hand, it
can be conviently used as host -a `ip6_int 3ffe:1234::1`, which is big
advantage.
Maybe you could extend your tool to take some special parameter defining output
type, and assume the "short" output type when called as ip6_int? Then this tool
would probably definitively become fully backwards-compatible superior for
ip6_int and maybe NetBSD and other people would even include it instead of the
original ip6_int.
--
Petr "Pasky" Baudis
* ELinks maintainer * IPv6 guy (XS26 co-coordinator)
* IRCnet operator * FreeCiv AI occassional hacker
.
<Beeth> Girls are like internet domain names, the ones I like are already taken.
<honx> Well, you can still get one from a strange country :-P
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/