hi list members, I have been busy with this problem since yesterday and im really stuck now. The Dom0 is a clean Debian Etch install (yeah, the upcoming stable release). I use linux-image-2.6.16-2-xen-686 with xen-hypervisor-3.0.2 It all boots ok and i have created two filebased debian images to start as DomU. Here''s the problem: the bridge scripts doesnt seem te be executed. When i create a DomU without a vif line all is fine, except that i havent got networking. When i enable the vif line its stalls and eventually fails and says it cant connect vifsomething. Looking up some info with ifconfig/brctl tells me much more: I dont have peth0 and brctl show nothing, eg. there is NO bridge created. I have been working with Xen on another host (sarge+xen from backports) and that worked perfectly. Its just due to the hardware i have to use Etch. help would be highly appreciated :) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 12 Oct 2006, Harm Weites wrote:> Here''s the problem: the bridge scripts doesnt seem te be executed. When i > create a DomU without a vif line all is fine, except that i havent got > networking. When i enable the vif line its stalls and eventually fails and > says it cant connect vifsomething. > Looking up some info with ifconfig/brctl tells me much more: I dont have > peth0 and brctl show nothing, eg. there is NO bridge created.first, try to install the ''ip'' program; apt-get install iprouting or ip-routeing or something like that. If that doesn''t fix it, look in /var/log/xend.log- it should tell you what you are missing. also verify you have the (network-script network-bridge) line in /etc/xen/xend-config.sxp _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Harm Weites wrote:> hi list members, > I have been busy with this problem since yesterday and im really stuck now. > The Dom0 is a clean Debian Etch install (yeah, the upcoming stable > release). I use linux-image-2.6.16-2-xen-686 with xen-hypervisor-3.0.2 > It all boots ok and i have created two filebased debian images to start > as DomU. > > Here''s the problem: the bridge scripts doesnt seem te be executed. When > i create a DomU without a vif line all is fine, except that i havent got > networking. When i enable the vif line its stalls and eventually fails > and says it cant connect vifsomething. > Looking up some info with ifconfig/brctl tells me much more: I dont have > peth0 and brctl show nothing, eg. there is NO bridge created. > > I have been working with Xen on another host (sarge+xen from backports) > and that worked perfectly. Its just due to the hardware i have to use Etch.Have a look at /usr/share/doc/xen-hypervisor-3.0.2/README.Debian By default xen on etch makes no changes to the network configuration. You can easily add your bridge in /etc/network/interfaces. Regards, Bjoern _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Harm Weites wrote:> hm, the iproute package is installed so i have the IP tools. Looking at > the README.debian tells me networking isnt done automatically just like > you said (the file was in a different dir though) > How do i create the bridge by hand ? Since there is no peth0... I can > create it with "brctl addbr xenbr0", but then "brctl show" only lists a > bridge with no interfaces. (after /etc/init.d/xend restart) > > relevant config parts: > (xend-config.sxp) > [...] > (network-script network-bridge) > (vif-script vif-bridge) > [...]Change network-script back to network-dummy and add this to your /etc/network/interfaces: --------------------------------- auto eth0 iface eth0 inet manual auto xenbr0 iface xenbr0 inet static bridge-ports eth0 address 10.0.0.2 netmask 255.255.255.0 gateway 10.0.0.1 --------------------------------- The standard vif-script will use the bridge xenbr0 to add virtual interfaces. Make sure package bridge-utils is installed and reboot or restart networking. Regards, Bjoern _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
seems to work now :) debian:~# brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.0030485c0f58 no vif_lb1 vif_www eth0 i have networking on my DomU''s :D the bridge now has an ip to connect to when i need to manage Dom0. Eth0 and eth1 are both ip-less interfaces. a big thanx>From: Bjoern Metzdorf <bm@turtle-entertainment.de> >To: Harm Weites <harmweites@hotmail.com> >CC: xen-users@lists.xensource.com >Subject: Re: [Xen-users] 3.0.2 seems not to create bridge >Date: Fri, 13 Oct 2006 10:53:23 +0200 >MIME-Version: 1.0 >Received: from lists.xensource.com ([217.147.82.229]) by >bay0-mc11-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Fri, >13 Oct 2006 01:54:10 -0700 >Received: from localhost ([127.0.0.1] helo=lists.xensource.com)by >host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1GYIo2-0000i0-3u; Fri, >13 Oct 2006 08:54:14 +0000 >Received: from [192.168.0.10] (helo=lists.xensource.com)by >host-192-168-0-1-bcn-london with esmtp (Exim 4.50)id 1GYInh-0000PB-LOfor >xen-users@lists.xensource.com; Fri, 13 Oct 2006 08:53:53 +0000 >Received: from mx1.turtle-entertainment.de ([193.41.200.25] >helo=mail1.gnw.de)by lists.xensource.com with esmtp (Exim 4.50) id >1GYIle-0004q4-HZfor xen-users@lists.xensource.com; Fri, 13 Oct 2006 >08:51:47 +0000 >Received: from 85.14.195.125.static.rdns-uclo.net >([85.14.195.125]helo=localhost) by mail1.gnw.de with esmtpa (Exim 4.50)id >1GYIn5-0005oW-P5; Fri, 13 Oct 2006 10:53:15 +0200 >Received: from [212.6.194.97] (helo=[212.6.194.97])by localhost with asmtp >(Exim 3.22 #7 (Debian))id 1GYInO-0007lg-00; Fri, 13 Oct 2006 10:53:34 +0200 >X-Message-Info: LsUYwwHHNt0q63jKwNMGVzkzVcgANiJkWFZMWaJ9sqI>User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) >References: <BAY110-F29C5833F16CB94761DAA22C00A0@phx.gbl> >X-SA-Exim-Connect-IP: 193.41.200.25 >X-SA-Exim-Mail-From: bm@turtle-entertainment.de >X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on (none) >X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 >tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.0 >X-SA-Exim-Version: 4.2.1 (built Mon, 27 Mar 2006 13:42:28 +0200) >X-SA-Exim-Scanned: Yes (on lists.xensource.com) >X-BeenThere: xen-users@lists.xensource.com >X-Mailman-Version: 2.1.5 >Precedence: list >List-Id: Xen user discussion <xen-users.lists.xensource.com> >List-Unsubscribe: ><http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>,<mailto:xen-users-request@lists.xensource.com?subject=unsubscribe> >List-Post: <mailto:xen-users@lists.xensource.com> >List-Help: <mailto:xen-users-request@lists.xensource.com?subject=help> >List-Subscribe: ><http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>,<mailto:xen-users-request@lists.xensource.com?subject=subscribe> >Errors-To: xen-users-bounces@lists.xensource.com >Return-Path: xen-users-bounces@lists.xensource.com >X-OriginalArrivalTime: 13 Oct 2006 08:54:11.0272 (UTC) >FILETIME=[26AFFC80:01C6EEA5] > > >Harm Weites wrote: >>hm, the iproute package is installed so i have the IP tools. Looking at >>the README.debian tells me networking isnt done automatically just like >>you said (the file was in a different dir though) >>How do i create the bridge by hand ? Since there is no peth0... I can >>create it with "brctl addbr xenbr0", but then "brctl show" only lists a >>bridge with no interfaces. (after /etc/init.d/xend restart) >> >>relevant config parts: >>(xend-config.sxp) >>[...] >>(network-script network-bridge) >>(vif-script vif-bridge) >>[...] > >Change network-script back to network-dummy and add this to your >/etc/network/interfaces: > >--------------------------------- >auto eth0 >iface eth0 inet manual > >auto xenbr0 >iface xenbr0 inet static > bridge-ports eth0 > address 10.0.0.2 > netmask 255.255.255.0 > gateway 10.0.0.1 >--------------------------------- > >The standard vif-script will use the bridge xenbr0 to add virtual >interfaces. > >Make sure package bridge-utils is installed and reboot or restart >networking. > >Regards, >Bjoern > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users