WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] Question: Can I get somehow the IP-address of a virtual sy

To: Kämpfe, Christiane <Christiane.Kaempfe@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] Question: Can I get somehow the IP-address of a virtual system ?
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 13 Apr 2007 12:18:48 +0100
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Apr 2007 04:17:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <F50F99E152CDFA41A88796F841212811053F94C7@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <F50F99E152CDFA41A88796F841212811053F94C7@xxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Apr 13, 2007 at 12:35:44PM +0200, "K?mpfe, Christiane" wrote:
> 
> Question: Can I get somehow the IP-address of a virtual system 
> ... via the XEN-API ???

Not really. There's no way for Dom0 to reliably know what / how many IP 
addresses
a guest is using. It may have 1 IP per NIC, or many IPs per NIC, or none.
At best the Dom0 could sniff the traffic to take a 'guess' at what IP might be 
being used, but this isn't really something you want to rely on in an app,
since it would be incomplete or even potentially wrong. You'd really need to
have some agent in your DomU's that tells some management software outside
the host about its internal OS networking config.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>