like @mrmarkuz said, you get an IP address on a virtual NIC but you still keep the default IP of your isp. It depend also of what vpn you look for, routed( you got an IP in a different network of the server) or bridged (you got the same IP range of the server)