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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Jerry Amundson" <jamundso@xxxxxxxxx>
  • Date: Thu, 8 Feb 2007 22:04:28 -0600
  • Delivery-date: Thu, 08 Feb 2007 20:04:17 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Oouv3wowP89lwk7+NEwgwEuRaKmNk2WLgd3HfdttP7Z1G856WYUwlFv64kPoV5fE+6KMf5eRW3uOP7b0s6rsBhbKO/nhBJ2lf25q63ISR4A9iSPtyMvARhjoOfrMRxGstZ0IKep0CzcUDDDo7fI6NbIx1T73dttTdCXCE1fcSLM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

A little post-mortem on this, from my perspective anyway... I took a
freshly installed linux box, added the RHEL 4.4 Xen 3.4.0.1 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 255.255.255.0 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.....

jerry

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

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


 


Rackspace

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