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

Re: [Xen-devel] Best way to get IP addresses from VMs without logging in to them?



On Wed, 2014-06-11 at 16:40 +0000, Andy Smith wrote:
> Hello,
> 
> On Wed, Jun 11, 2014 at 12:32:50PM -0400, Russ Pavlicek wrote:
> > Is there a better way to programmatically do this?  If so, we need to
> > document it in the Wiki (and I'd be glad to work on that).  But how
> > can we do this simply?
> 
> I'd rather route only the (blocks of) IPs that I want the VM to have
> to the VM, not let them set any they like. That way I know what they
> have (because I routed it to them) and I know they can only use what
> they were given.
> 
> If I had to use DHCP though, I'd be using the DHCP logs for the
> MAC/IP mapping.
> 
> Sniffing traffic would be my last resort.

I agree with your prioritisation of these techniques ;-)

> I don't *think* that Xen has any way to know what interfaces are
> configured on the domU end of a vif.

In the absence of a guest agent of some sort it doesn't.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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