IPv6 addresses

Chris Dennis cgdennis at btinternet.com
Sun Mar 18 20:27:51 GMT 2012


Thanks for the various answers.

I found that NetAddr::IP does what I need, and I've used it in my script 
for listing a computer's network connections for use within a firewall 
script.

The script is on github at https://github.com/StarsoftAnalysis/netlist

For example:

   $ ./netlist --domain ipv6 networks
   0:0:0:0:0:0:0:1/128 2001:db8:0:0:0:0:0:0/64 fe80:0:0:0:0:0:0:0/64

cheers

Chris
-- 
Chris Dennis                                  cgdennis at btinternet.com
Fordingbridge, Hampshire, UK


More information about the london.pm mailing list