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>
Subject: Re: [Xen-users] Dom-U config: whats the role of vif - IP
From: Hans de Hartog <dehartog@xxxxxxxxxx>
Date: Fri, 22 Sep 2006 18:05:19 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Sep 2006 09:07:28 -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>
References: <58902.194.39.218.10.1158918727.squirrel@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060813
Christoph Purrucker wrote:
> 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?
> 

I admit, it is quite confusing. vif = [ 'ip=... has nothing to do
whatsoever with configuring your domU network! If you want fixed
ip-addresses for your domU, you have to configure them inside your
domU (exactly as you want). The vif-ip stuff is ONLY used to fine-
tune your firewall-rules (i.e. iptables).
Specify vif = [ 'ip=whatever' ], start your dom0 and you will find
the specified ip-address back in your iptables. If you're not using
iptables, the ip=... has absolutely no effect.

Hope this helps,
Hans.

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