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] Manually setting IP address in domain config file

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Manually setting IP address in domain config file
From: "John Fairbairn" <webmaster@xxxxxxxxxxxx>
Date: Tue, 7 Jun 2005 12:52:14 -0500 (CDT)
Delivery-date: Tue, 07 Jun 2005 17:51:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <1118163242.7714.18.camel@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: <1118163242.7714.18.camel@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.4
Have you created an /etc/sysconfig/network-scripts/ifcfg-eth0 on the xenU?
The guest system probably just needs to know to activate it on boot. Just
a thought :)

John Fairbairn


> Hello all,
>
> I'm attempting to manually set my domain eth0 address in the domain
> config file instead of using DHCP.  Here's the config file:
>
>       kernel ="/boot/vmlinuz-2.6.11-1.1369_FC4xenU"
>       memory = 64
>       name = "D1"
>       dhcp = "off"
>       nics = 1
>       disk = ['file:/root/xen/d1/d1.img,sda1,w']
>       root = "/dev/sda1 ro"
>       nics = 1
>       vif  = ['mac=AA:00:00:18:98:FB']
>       netmask = "255.255.255.0"
>       ip = "10.10.10.11"
>       gateway = "10.10.10.99"
>
> The dmesg output is:
>
> <snip>
> Kernel command line:
> ip=10.10.10.11:1.2.3.4:10.10.10.99:255.255.255.0::eth0:off
> root=/dev/sda1 ro
> <snip>
>
> Then, eth0 can be brought with "ifconfig eth0 up", but it doesn't have
> an IP address assigned.  Is there something I'm missing out on?
>
> Best,
> Michael
>
> [Fedora Core 4 test 3,
>  kernel-xen0.i686 2.6.11-1.1369_FC4,
>  kernel-xenU.i686 2.6.11-1.1369_FC4,
>  xen.i386 2-20050530,
>  debian domain filesystem ]
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>


-- 
In the game of life it takes a root prompt to really foul up.


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