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/
Home Products Support Community News


Re: [Xen-users] centos jailtime image -- no network

To: "Jerry Amundson" <jamundso@xxxxxxxxx>
Subject: Re: [Xen-users] centos jailtime image -- no network
From: "Jon Christensen" <jonc21@xxxxxxxxx>
Date: Thu, 8 Feb 2007 22:25:45 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Feb 2007 20:25:36 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XHq9Ncau6I/vChwOVXnuRUIa3OmUEod6CROPYH/+8KnG2i+fusIeEUUhVUP0FUU33L0jTHfrYc/rJ5jfd0LCbRviP+yYdqoMP+Qr16ima3/NUk6mbnasJXEjuPD0tmNzCw+4IdMhCCx6Ym2cM2fjSE9QHCsn50uv2V55quPVYOo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6d06ce20702082004h180dbb4dq14c60e51b0129743@xxxxxxxxxxxxxx>
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: <6030482a0702051310x785f725ek45926d0b07a17ab9@xxxxxxxxxxxxxx> <6d06ce20702082004h180dbb4dq14c60e51b0129743@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I don't have a DHCP server, so I need a static IP.  I did what you did
below w/out luck.

On 2/8/07, Jerry Amundson <jamundso@xxxxxxxxx> wrote:
A little post-mortem on this, from my perspective anyway... I took a
freshly installed linux box, added the RHEL 4.4 Xen rpm from
Xensource to make dom0, and booted into the jailtime image with the
same kernel. It came up on the network without me even touching it.

On 2/5/07, Jon Christensen <jonc21@xxxxxxxxx> wrote:
> Hello,
> I am using the jailtime centos4.4 image.  It boots up fine, however, I
> cannot get networking to work.  Here is my cfg:
> kernel = "/boot/vmlinuz-2.6.16-1.2122_FC5xenU"

That kernel is certainly the problem - no xennet module built into it.

> memory = 256
> name = "foo"
> vif = [ '' ]
> disk = ['file:/home/foo/root,sda1,w',
>         'file:/home/foo/swap,sda2,w',
>         'file:/home/foo/home,sda3,w']
> root = "/dev/sda1 ro"

I assume you renamed the files from jailtime for root and swap, but
created home yourself, not that it matters.

> I cannot simply do an ifconfig eth0 ip.address netmask in the
> guest to bring up networking.  What am I missing?  DHCP is not an option
> either.

Nor should you need to ifconfig - the jailtime image has eth0
configured for DHCP, the builtin kernel module gets the vif from dom0,
and booting the image starts the interface. Like magic.....


"Pay no attention to that man behind the curtain!"

Xen-users mailing list

Xen-users mailing list