Added methods to retrieve gateway and netmask from DHCP assignment