From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 22 08:54:00 2008 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FB110656FC for ; Mon, 22 Dec 2008 08:54:00 +0000 (UTC) (envelope-from duerrm@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id EC1888FC14 for ; Mon, 22 Dec 2008 08:53:59 +0000 (UTC) (envelope-from duerrm@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so703579fgb.35 for ; Mon, 22 Dec 2008 00:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=oV7I50IEvs6/1m95477EKk7lHHQBnGtRgr6zoe0kwY4=; b=IaH+Uu49tQuMdv9R0IIpn7sreSJcne+XMt/OsWi4ZtOKvprfcigMG3gl9dzeA/iV9r RHBl9pm5KSNN5ySRnCcTwqJloZAeg51TXwugMG3f92zM2+irJQ+/l9e3zf9wxK81zriQ KdwbtybbyF+2cTzpGYQfD3+J2baKMTwj8sMAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=G0t+GGclSxIIfsMHK3Vpj0HpbNQjtxUcqVpD7iSdt32ler8m7VWaBbfrgZX7yByvt4 W/YVzN3CJ/ydlKs6x4EtF83XR5qWTG2cWGGfVHLYP/sxg/jom3P3TJXUfhPa7/AHL+19 khYKauokGpl9GcrRnelQk7OZPM/6ZDZNnVN80= Received: by 10.86.79.19 with SMTP id c19mr3503849fgb.41.1229936038202; Mon, 22 Dec 2008 00:53:58 -0800 (PST) Received: by 10.86.57.14 with HTTP; Mon, 22 Dec 2008 00:53:58 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 09:53:58 +0100 From: "=?ISO-8859-1?Q?michael_d=FCrr?=" To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems starting routing software at virtual nodes X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 08:54:00 -0000 Hallo, I updated my FreeBSD RELEASE 7.0 to RELENG_7_1 and installed the VIMAGE capable kernel and the vimage(8) tool from the provided sources at http://imunes.net/virtnet/vimage_7-20081015.tgz I also installed tk-8.4, quagga and xorp from the ports repos. In order to deploy more complex networking setups I wanted to switch from static routing ripv2. Now my question: Are there certain settings I have to perform in order to get ripd working? So far, I always tried to start the daemon by executing vimage v1 zebra -d vimage v1 ripd -d but both commands immediately return and nothing else happens (no errors, no daemon processes started). In case I call these commands at the host zebra -d rip -d everything works as expected. I'm sorry for this question, but is it necessary to install a special configured version of the quagga routing software to get things working? Thanks a lot and merry Christmas :-) Cheers, Michael From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 22 13:43:56 2008 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05068106564A for ; Mon, 22 Dec 2008 13:43:56 +0000 (UTC) (envelope-from zec@icir.org) Received: from labs4.cc.fer.hr (labs4.cc.fer.hr [161.53.72.24]) by mx1.freebsd.org (Postfix) with ESMTP id 87E6D8FC19 for ; Mon, 22 Dec 2008 13:43:55 +0000 (UTC) (envelope-from zec@icir.org) Received: from sluga.fer.hr (sluga.cc.fer.hr [161.53.72.14]) by labs4.cc.fer.hr (8.14.2/8.14.2) with ESMTP id mBMDiJ2D016875 for ; Mon, 22 Dec 2008 14:44:20 +0100 (CET) Received: from [192.168.200.110] ([161.53.19.79]) by sluga.fer.hr with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Dec 2008 14:43:47 +0100 From: Marko Zec To: freebsd-virtualization@freebsd.org Date: Mon, 22 Dec 2008 14:43:39 +0100 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812221443.40546.zec@icir.org> X-OriginalArrivalTime: 22 Dec 2008 13:43:47.0587 (UTC) FILETIME=[50A8FD30:01C9643B] X-Scanned-By: MIMEDefang 2.64 on 161.53.72.24 Cc: Subject: Re: Problems starting routing software at virtual nodes X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 13:43:56 -0000 On Monday 22 December 2008 09:53:58 michael d=FCrr wrote: > Hallo, > > I updated my FreeBSD RELEASE 7.0 to RELENG_7_1 and installed the > VIMAGE capable kernel and the vimage(8) tool from the provided > sources at http://imunes.net/virtnet/vimage_7-20081015.tgz > > I also installed tk-8.4, quagga and xorp from the ports repos. > > In order to deploy more complex networking setups I wanted to switch > from static routing ripv2. > > Now my question: Are there certain settings I have to perform in > order to get ripd working? So far, I always tried to start the daemon > by executing > > vimage v1 zebra -d > vimage v1 ripd -d > > but both commands immediately return and nothing else happens (no > errors, no daemon processes started). In case I call these commands > at the host > > zebra -d > rip -d > > everything works as expected. > > I'm sorry for this question, but is it necessary to install a special > configured version of the quagga routing software to get things > working? Hi Michael, my wild guess is that you are attempting to run multiple instances of=20 quagga (i.e. zebra, ripd etc.) and that they are clashing=20 on /var/run/quagga/ PF_UNIX named sockets. My suggestion would be to=20 make a separate directory for each vimage in say /tmp, and then=20 make /var/run/quagga a variant symlink to those dirs. You can do the=20 same for the Quagga.conf file for which the path is hardcoded in quagga=20 as well: ln -s /tmp/$vimage_name/@ /var/run/quagga ln -s /tmp/$vimage_name/@/boot.conf /usr/local/etc/quagga/Quagga.conf The @ sign will be substituted with the current vimage name when=20 resolving the symlink. And don't forget to issue "vtysh -b" after=20 starting your daemons if you are using the unified Quagga.conf file. Hope this helps, Marko From owner-freebsd-virtualization@FreeBSD.ORG Mon Dec 22 13:48:16 2008 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B707D1065674 for ; Mon, 22 Dec 2008 13:48:16 +0000 (UTC) (envelope-from zec@icir.org) Received: from labs4.cc.fer.hr (labs4.cc.fer.hr [161.53.72.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2DCE68FC17 for ; Mon, 22 Dec 2008 13:48:15 +0000 (UTC) (envelope-from zec@icir.org) Received: from sluga.fer.hr (sluga.cc.fer.hr [161.53.72.14]) by labs4.cc.fer.hr (8.14.2/8.14.2) with ESMTP id mBMDmhSL016900 for ; Mon, 22 Dec 2008 14:48:43 +0100 (CET) Received: from [192.168.200.110] ([161.53.19.79]) by sluga.fer.hr with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Dec 2008 14:48:11 +0100 From: Marko Zec To: freebsd-virtualization@freebsd.org Date: Mon, 22 Dec 2008 14:48:09 +0100 User-Agent: KMail/1.9.7 References: <200812221443.40546.zec@icir.org> In-Reply-To: <200812221443.40546.zec@icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812221448.09976.zec@icir.org> X-OriginalArrivalTime: 22 Dec 2008 13:48:11.0523 (UTC) FILETIME=[EDFA6D30:01C9643B] X-Scanned-By: MIMEDefang 2.64 on 161.53.72.24 Subject: Re: Problems starting routing software at virtual nodes X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 13:48:16 -0000 On Monday 22 December 2008 14:43:39 Marko Zec wrote: > On Monday 22 December 2008 09:53:58 michael d=FCrr wrote: > > Hallo, > > > > I updated my FreeBSD RELEASE 7.0 to RELENG_7_1 and installed the > > VIMAGE capable kernel and the vimage(8) tool from the provided > > sources at http://imunes.net/virtnet/vimage_7-20081015.tgz > > > > I also installed tk-8.4, quagga and xorp from the ports repos. > > > > In order to deploy more complex networking setups I wanted to > > switch from static routing ripv2. > > > > Now my question: Are there certain settings I have to perform in > > order to get ripd working? So far, I always tried to start the > > daemon by executing > > > > vimage v1 zebra -d > > vimage v1 ripd -d > > > > but both commands immediately return and nothing else happens (no > > errors, no daemon processes started). In case I call these commands > > at the host > > > > zebra -d > > rip -d > > > > everything works as expected. > > > > I'm sorry for this question, but is it necessary to install a > > special configured version of the quagga routing software to get > > things working? > > Hi Michael, > > my wild guess is that you are attempting to run multiple instances of > quagga (i.e. zebra, ripd etc.) and that they are clashing > on /var/run/quagga/ PF_UNIX named sockets. My suggestion would be to > make a separate directory for each vimage in say /tmp, and then > make /var/run/quagga a variant symlink to those dirs. You can do the > same for the Quagga.conf file for which the path is hardcoded in > quagga as well: > > ln -s /tmp/$vimage_name/@ /var/run/quagga > ln -s /tmp/$vimage_name/@/boot.conf /usr/local/etc/quagga/Quagga.conf Ooops... The above symlink hack wouldn't work, but the one bellow=20 should: ln -s /tmp/@ /var/run/quagga ln -s /tmp/@/boot.conf /usr/local/etc/quagga/Quagga.conf Good luck, Marko > The @ sign will be substituted with the current vimage name when > resolving the symlink. And don't forget to issue "vtysh -b" after > starting your daemons if you are using the unified Quagga.conf file. > > Hope this helps, > > Marko > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org"