From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H6Wl5-0004ZZ-BL for garchives@archives.gentoo.org; Mon, 15 Jan 2007 18:40:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0FIdR0J012150; Mon, 15 Jan 2007 18:39:27 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0FIZ1iP005137 for ; Mon, 15 Jan 2007 18:35:02 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5A3C364FBF for ; Mon, 15 Jan 2007 18:35:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.515 X-Spam-Level: X-Spam-Status: No, score=-2.515 required=5.5 tests=[AWL=0.084, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4sXpu5wlfvVd for ; Mon, 15 Jan 2007 18:34:38 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 4936B64A22 for ; Mon, 15 Jan 2007 18:34:35 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H6WeP-0006At-Jr for gentoo-user@gentoo.org; Mon, 15 Jan 2007 19:33:45 +0100 Received: from dslb-084-061-187-140.pools.arcor-ip.net ([84.61.187.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jan 2007 19:33:45 +0100 Received: from skoehler by dslb-084-061-187-140.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jan 2007 19:33:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: =?ISO-8859-15?Q?Sven_K=F6hler?= Subject: [gentoo-user] Re: [Xen] How to set or bring up "vif" interfaces? Date: Mon, 15 Jan 2007 19:33:35 +0100 Message-ID: References: <1168736114.6027.27.camel@asus.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig55D41063C82B3B9268FFDF83" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-061-187-140.pools.arcor-ip.net User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <1168736114.6027.27.camel@asus.localdomain> X-Enigmail-Version: 0.94.1.2 Sender: news X-Archives-Salt: 5526b418-0e33-4c3b-b5fc-d4bc825721af X-Archives-Hash: 09d49cc2ecc780898662359c5d80ea01 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig55D41063C82B3B9268FFDF83 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable > I would like to have Xen to run unmodified OS (Windows, and some other > Linuces). I know Linux may be ran Xen-aware, but the goal is to > experiment some kernel packaging, so that I need to use the distributio= n > kernel. > I got the FC5 isos. > I made a file "/etc/xen/fc5-guest.cfg" (see attached) > But the problem is about vifX interfaces. > Neither http://fr.gentoo-wiki.com/HOWTO_XEN#Windows_XP > nor http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo tells how to bring up > such interface. > In fact I dont see anywhere any documentation on how to setup networkin= g > for the need of Xen. Actually, you just have to start xend, and it will setup xenbr0. But i prefer, to setup xenbr0 manually, by myself. And that's the way i do it, in /etc/conf.d/net: bridge_xenbr0=3D"eth0" config_xenbr0=3D( "a.b.c.d/24" ) routes_xenbr0=3D( "default via a.b.c.d" ) brctl_xenbr0=3D( "setfd 0" "sethello 0" "stp off" ) > When I run Xen, I have: >=20 > asus ~ # xm create fc5-guest.cfg > Using config file "/etc/xen/fc5-guest.cfg". > VNC=3D 3 > Error: Device 0 (vif) could not be connected. Hotplug=20 > scripts not working. >=20 > bridge-utils is already emerged. > vnc is also emerged with USE=3D"server" >=20 > What didi I do wrong? Do you have the necessary backend-driver in your dom0 kernel? Please check CONFIG_XEN_NETDEV_BACKEND. > -----------------------------------------------------------------------= - >=20 > kernel =3D "/usr/lib64/xen/boot/hvmloader" > builder=3D'hvm' > memory =3D 512 > name =3D "fc5-guest" > vcpus=3D1 > vif =3D [ 'bridge=3Dxenbr0' ] > disk =3D ['phy:/dev/sda5,ioemu:hda,w','file:/home/mihamina/downloads/is= os/FC-5-i386-disc1.iso,hdc:cdrom,r'] > device_model =3D'/usr/lib64/xen/bin/qemu-dm' > boot=3D'd' > vnc=3D1 > vncviewer=3D1 > serial=3D'pty' > ne2000=3D0 In my config, it reads: vif =3D [ 'bridge=3Dxenbr0' ] So yes, your config should work. Greetings, Sven --------------enig55D41063C82B3B9268FFDF83 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFq8j/7Ww7FjRBE4ARAtJvAKCeaSf22xF4xOXEVl6g0lFkmMkXYwCgkEar u0/WiflUb8tz7chroZxR1kc= =GxlT -----END PGP SIGNATURE----- --------------enig55D41063C82B3B9268FFDF83-- -- gentoo-user@gentoo.org mailing list