On Tue, Oct 13, 2009 at 04:08:14PM -0700, Joseph Mocker wrote: > check out the xenstore utilities. It appears that at least some domain > IPs are stored in xenstore > > /usr/lib/xen/bin/xenstore-ls | grep 192 > 0 = "192.y.x.229" > 0 = "192.y.x.176" > > I don't think its recording all the IPs though, we have two interfaces > in each domain, xenstore contains only the front end interface.
The "ipagent" service runs in a Solaris domU, and writes the IP address of the primary interface to xenstore. So that's where it comes from. > using ARP/RARP might be the easiest way, for you to do it in a > guest-neutral way. Yep. In fact I'd be interested in integrating something like that in the tool stack, so we can report this uniformly. Some arping versions can supposedly "ping" a target MAC, but only by breaking the spec, as far as I can see. And some OS types like Win XP won't respond. I'm far from a networking guy, but I don't think ARP can help here. You could broadcast ICMP to each of the VNICs, possibly, but again there's no guarantee a guest would respond. Your other alternative would be to learn the MAC from snooping the guest's VNIC, but that seems fraught with problems. regards john _______________________________________________ xen-discuss mailing list [email protected]
