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

RE: [Xen-devel] How to get domU IP address



> 
> Allocation of IP addresses is an administrator issue. By default your
domU
> will probably issue a DHCP request, and if that's serviced by a remote
> DHCP server outside your control then finding the IP address is a bit
> tricky. If you need tight control then you could issue static IPs to
domUs
> by modifying their setup scripts, or by modifying the DHCP server
config
> to issue static IPs for certain MAC addresses. Or issue private IPs
from
> dom0 and do NAT. Or...
> 

Depending on if the DomU is on the same network as Dom0 (eg
10.0.0.0/24), you could probably use something like 'nmap -sP -PR
10.0.0.0/24' and then grep the arp tables for the MAC address. This will
probably work even if the DomU is firewalled from , as ARP filtering is
almost never done.

Is there the concept of a xen socket for communicating with other
domains? It would be nice if this existed and you could run something
like snmp over it, which would allow you to get this and more
information.

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.