qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] How to get a guest IP
@ 2005-11-04 10:23 zheng sw
  2005-11-04 14:52 ` Henrik Nordstrom
  0 siblings, 1 reply; 3+ messages in thread
From: zheng sw @ 2005-11-04 10:23 UTC (permalink / raw)
  To: qemu-devel

Host want to get the guest's IP when the host start the guest?

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.

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.

I have try 1. redirect the guest stdio to a terminal. but false,
           2. Use DHCP server bound MAC address with IP, and use
-macaddr set the guest MAC. but I can't control the DHCP server
now.
           3, mount the qemu image, but document say it can't
mounted.
           4. guest use static IP, but I may start several guest
with a image.
           5. use -seral pty, but I can't read the pts.


Thank you!
My english is poor, sorry.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-07  3:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 10:23 [Qemu-devel] How to get a guest IP zheng sw
2005-11-04 14:52 ` Henrik Nordstrom
2005-11-07  3:24   ` shunwen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).