Utils for IPv4/v6 testing

Specifically, I needed a simple way to get me one IPv4 and one IPv6 adress, or if the host I am testing on is not capable of, eitther of them or none.