On Fri, 4 Nov 2005, zheng sw wrote:
Host want to get the guest's IP when the host start the guest?
Why?
My setting is: debian(2.6.8), qemu, bridge-utils, TUN/TAP. The guest get a IP from a DHCP server which is in the same subnet whit host.
Ok.
My purpose is use bash to run ssh connect to the host, then run qemu, After the guest is started, the host want to get the guest's IP and send to me, but nobody will control the guest. Now I am puzzle in how the host get the guest IP.
The most obvious way would be to use dynamic DNS updates, supported by most DHCP servers, automatically registering the guest host name in DNS.
Another way is to have a init script in the guest to somehow tell the host what IP address it has.
Regards Henrik _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel