Update ipv6.sh

Changed the way the script gets the IPs. Now it's more coherent with Xen's way of doing it.