Peter, while i dont have the exact tool you are looking for, I believe I
may have one that users of this list may benefit from.  If you have ever
setup reverse dns with ipv6 addresses, you know how much of a pain it can
be.. This script solves that problem.  You feed it the IP address, and it
gives you the IP6.INT value.  It works also for ipv4 addresses, you can feed
it an ipv4 ip and it will give you the in-addr.arpa value

    This is not my code so I would like to give credit to author:  Keith
Owens <[EMAIL PROTECTED]>

Ryan Sweat
[EMAIL PROTECTED]

----- Original Message -----
From: "Peter Bieringer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 3:55 PM
Subject: S: tool for converting IPv6 address strings


> Hi,
>
> I'm looking for a small utility (C, Perl) which converts IPv6 address
> strings like:
>
> Input like:  3ffe:0400:0100:f101:0000:0000:0000:0001
> Output (short format): 3ffe:400:100:f101::1
>
> Reason: I want to extend my current not always working duplicate address
> detection on adding IPv6 addresses in my set of script files. Easiest way
> is to compare any legal input converted with a tool against the "ifconfig"
> output.
>
> Perhaps someone has already written one or has time to do this. I'm sure
> there is a libary which contains already such a function (I think
> net-tools/ifconfig use such one).
>
> Thanks for any help,
> Peter
>
>
> ---------------------------------------------------------------------
> The IPv6 Users Mailing List
> Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]


---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to