Dear all, I am having a problem getting domU IP address. So far I can only get domU Mac address. Is there any solution to get the domU IP address by its Mac address or else something? I will very appreciate your help! Regards, Meng Xu _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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... -- Keir On 13/9/07 04:01, "Meng Xu" <mxu@platform.com> wrote:> Dear all, > > I am having a problem getting domU IP address. So far I can only get domU Mac > address. Is there any solution to get the domU IP address by its Mac address > or else something? I will very appreciate your help! > > Regards, > Meng Xu > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > Allocation of IP addresses is an administrator issue. By default yourdomU> 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 todomUs> by modifying their setup scripts, or by modifying the DHCP serverconfig> to issue static IPs for certain MAC addresses. Or issue private IPsfrom> 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@lists.xensource.com http://lists.xensource.com/xen-devel
On 13/9/07 11:14, "James Harper" <james.harper@bendigoit.com.au> wrote:> 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.If you modify the domU init scripts you could get it to dump info into xenstore for collection in dom0. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel