set gateway and DNS for public/private network, public does not a IPv4 gateway