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

[Xen-users] IP configuration for domU ignored

To: Xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] IP configuration for domU ignored
From: Pablo Javier Roca Mendez <pablo_javier_roca_mendez@xxxxxxxxxxxxxxx>
Date: Mon, 12 Jun 2006 16:07:57 +0200
Delivery-date: Tue, 13 Jun 2006 02:50:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Reply-to: pablo_javier_roca_mendez@xxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
Hello!

I have a problem with Xen 3.0.2 (xen-3.0.2_09656-4) on Opensuse 10.1 regarding
setting the IP address for the domU in the configuration file: the settings
are just ignored. 
This problem doesn't happen when using Xen 2.0.7 (same image file, same
configuration options).

This are my configuration options for domU:

kernel = "/work/xen/vmlinuz-2.6.16-xen"
#cpu = -1   # leave to Xen to pick
memory = 128
disk = ['file:///work/xen/knscsl021-vm3.sda,sda1,w']
name = "knscsl021-vm3-domain"
dhcp="off"
#vif=[ '' ]
vif = [ 'mac=aa:16:3E:aa:aa:cc, ip=172.28.77.99' ]
hostname = "knscsl021-vm3"
ip = "172.28.77.99"
network = "172.28.77.0"
netmask = "255.255.255.0"
gateway = "172.28.77.1"
root = "/dev/sda1 ro"
extra = "3" 
restart = 'onreboot'

It doesn't matter what configuration options I choose for hostname or ip, they
are ignored (i.e. the configuration in domU in ifcfg-eth0 is used)

The only difference I see between Xen3 and Xen2 is in the kernel commmand line:
- For Xen 3:
Kernel command line:  
ip=172.28.77.99::172.28.77.1:255.255.255.0:knscsl021-vm3:eth0:off 
root=/dev/sda1 ro 3
- For Xen 2:
Kernel command line:  
ip=172.28.77.99:1.2.3.4:172.28.77.1:255.255.255.0:knscsl021-vm3:eth0:off 
root=/dev/sda1 ro 3

I know that setting the correct IP address in ifcfg-eth0 in domU works, but
that isn't a solution for me. The ideal solution would be that domU uses the IP
provided in the domU configuration file, but I can't understand why it works
for Xen 2.7.0 but not for Xen 3.0.2. Does anybody have any ideas?


Thanks in advance.
Regards,
Pablo

P.S.: Please send me a CC of any answer as I am not subscribed to the list.
-- 
Pablo Javier Roca Mendez
Intel GmbH/Bruehl, Hermuelheimer Str. 8a, 50321 Bruehl, Germany
Tel.: +49-2232-209024

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

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