added tunnel_ip and internal_ip definitions