|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Obtaining IP address of a DomU
jd wrote:
Hi
Is there anyway to get the IP address of the DomU
through xml-rpc ? OR any other means ?
You could do "xm console DOMAIN" for the DOMAIN, and log in.
If it's using DHCP, or has a previous and successfully installed network
setup, you can scan the available address space or send broadcast
packets to the relevant subnet and look for what MAC address matches it
in your arp tables.
Also, I tried using the 'IP' directive and 'extra'
param to specify IP for a domU. But it still seems to
use the dhcp. Can anyone throw bit light on how this
works (are these passed as kernel args) ? or have a
working example of setting ip / gateway/ netmask
example.
Your Xen guest domain is resetting it with DHCP. I think you can't
override that from Xen, you need to get into the client to reset this
behavior.
But if you're using DHCP, why not set your Xen guest domain to have a
static MAC address, and hardcode the DHCP results for it?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|