Read ethernet subnet mask and gateway

Thanks heaps, that has worked a treat.