make vnc server listen on guest's ip address
Posted
by
gucki
on Server Fault
See other posts from Server Fault
or by gucki
Published on 2012-11-16T14:00:29Z
Indexed on
2012/11/17
5:03 UTC
Read the original article
Hit count: 527
My host system has the IP 192.168.0.250. Now I want to create a kvm guest using a tap device (so the network card of the guest just acts like a "real" one). The guest has a static ip 192.168.0.249 which it setups on his own (no dhcp). To connect to the guest using VNC I can to use the host's IP. So far everything works fine.
Now I wonder how I can make the VNC server to listen on the guest's IP address, so I can use the guest's IP address to connect using my vnc client. Of course I cannot use -vnc 192.168.0.249:1 as this IP is not active on the host and so fails with Cannot assign requested address. Can this be done with tap networking at all? If not, how to get it working?
© Server Fault or respective owner