Reorganize code to be able to actually use the lookup_gateway_ip_by_name() function to find even dynamic gateways ip.
Reorganize code to be able to actually use the lookup_gateway_ip_by_name() function to find even dynamic gateways ip.