only request internet when a gateway is defined