[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "Jerry Amundson" <jamundso@xxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.