add feature to set gateway_ip to null