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] centos jailtime image -- no network

To: "Jon Christensen" <jonc21@xxxxxxxxx>
Subject: Re: [Xen-users] centos jailtime image -- no network
From: "Jerry Amundson" <jamundso@xxxxxxxxx>
Date: Thu, 8 Feb 2007 22:33:58 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Feb 2007 20:33:46 -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=S2P9HZutVYJIesK3JgD/Z5cCCTDJGXhpkgrhuii1U6d5y0XElwu7nQNmrrVDXB2Oij+DA/IFdgNEKDrPeUIvSXn3D4MNs2uiUvyOnEdoFhaoBHSyk1sL2msPmHzEnLBaIHkKnOC8g7shAfHIceoE2alfpR+hlGkXmFZ8+DMx5io=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6030482a0702082025m69edf861t189b18be281907c3@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> <6030482a0702082025m69edf861t189b18be281907c3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 2/8/07, Jon Christensen <jonc21@xxxxxxxxx> wrote:
I don't have a DHCP server, so I need a static IP.  I did what you did
below w/out luck.

If it didn't work, then you didn't do what I did below. Machines only
do exactly what we tell them - no luck is involved... ;-)

jerry

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 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
>



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

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