handle double ip address form gateways