qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] How to get a guest IP


From: Henrik Nordstrom
Subject: Re: [Qemu-devel] How to get a guest IP
Date: Fri, 4 Nov 2005 15:52:09 +0100 (CET)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]