changes for using NAT IP as gateway ip