[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] How to get VM IP address through XenStore
James Harper wrote: My favourite method is "ping -b -c 1 <broadcast-addr>" and then look for the MAC address in /proc/net/arp. There are numerous cases where it doesn't work, but it works often enough to be useful. If you're using DHCP and you can get to the DHCP server you can also ask it about the mapping.I just did a google search for "ip address from mac address" and there are lots of people asking much the same question but I didn't come across any useful answers. Finally, there's reverse ARP and rarpd which could be made to be useful if you could watch for ARP requests and use them to build up a /etc/ethers file. jch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |