Methods for getting interface info and ipv4 and ipv6 default interfaces