Re: IPv6 validation

2010-06-16 Thread Chuck Anderson
On Wed, Jun 16, 2010 at 02:18:21PM +0530, rams wrote: > Is there any tool available for IPv6 addresses correct or not. > The following IPv6 addresses is valid or not? Short answer: use inet_pton() Longer answers: http://forums.dartware.com/viewtopic.php?t=452 http://www.perlmonks.org/?node_id=2

Re: IPv6 validation

2010-06-16 Thread Stephane Bortzmeyer
On Wed, Jun 16, 2010 at 02:18:21PM +0530, rams wrote a message of 86 lines which said: > Is there any tool available for IPv6 addresses correct or not. > > The following IPv6 addresses is valid or not? Define "correct" and "valid". Karl Auer proposed a definition (valid == pingable) which is

Re: IPv6 validation

2010-06-16 Thread Karl Auer
On Wed, 2010-06-16 at 14:18 +0530, rams wrote: > The following IPv6 addresses is valid or not? Looks suspiciously like a school assignment to me... If speed is not essential, try ping6-ing each address. If you get a response or "network unreachable", it's a valid address. If you get a really long