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-users

RE: [Xen-users] Dom-U config: whats the role of vif - IP

To: "Christoph Purrucker" <cp+ml-xen@xxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Dom-U config: whats the role of vif - IP
From: "Fischer, Anna" <anna.fischer@xxxxxx>
Date: Sun, 24 Sep 2006 15:52:51 +0100
Delivery-date: Sun, 24 Sep 2006 07:53:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <58902.194.39.218.10.1158918727.squirrel@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbeLOn0wjTdZLGUTOy8kdpy0RHBxgBm504w
Thread-topic: [Xen-users] Dom-U config: whats the role of vif - IP
As far as I understand there're several ways of configuring DomU's
networking in Xen. One reason for example to specify the IP in the
configuration file is that then it is possible to enable antispoofing
for IP addresses of your DomUs. This means that when you configure
another IP in your DomUs ifconfig than in your DomU configuration file,
then networking for your DomU won't work anymore. I never used this
feature, but this is what the documentation says. However, you have to
enable antispoofing explicitly. 
Another reason for configuring networking in the configuration file is
to pass this information as kernel parameters, which is very useful for
i.e. booting from network devices etc.

However, if you don't need all this, then there's no problem with
leaving the IP configuration out of the configuration file (-> vif =
['']) and just use ifconfig in your DomU itself.

Anna

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Christoph
Purrucker
Sent: Freitag, 22. September 2006 10:52
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Dom-U config: whats the role of vif - IP

Hello,

in the example configuration-files I always read, that I've to add an
IP-Adress if I don't have a DHCPd running. I'm running in bridge-mode.
For
example:

vif = ['ip=192.168.5.99']

But I don't want to configure the IP-Adress in an config-file on Dom-0;
the Admin of the Dom-U should do that with Dom-U's ifconfig (or Debian's
/etc/network/interfaces). I started several Dom-Us with

vif = ['']

and it seems, that they run quite fine with a locally configured
interface. And further on, if I change the above vif =
['ip=192.168.5.99']
to any other IP, the Dom-U ist still reachable under its locally
configured IP (and not under the new one in der config-file) after
rebooting the Dom-U.

So what's the sense of the above parameter?

cu cp


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users