From owner-freebsd-net@FreeBSD.ORG Tue Oct 19 15:00:50 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FE5C16A4CF for ; Tue, 19 Oct 2004 15:00:50 +0000 (GMT) Received: from blah.sun-fish.com (blah.sun-fish.com [62.176.125.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E4943D48 for ; Tue, 19 Oct 2004 15:00:49 +0000 (GMT) (envelope-from vladimir.terziev@sun-fish.com) Received: by blah.sun-fish.com (Postfix, from userid 599) id B72C134196; Tue, 19 Oct 2004 17:00:47 +0200 (CEST) Received: from sun-fish.com (fs.cmotd.com [192.168.3.253]) by blah.sun-fish.com (Postfix) with ESMTP id ABA2A34176 for ; Tue, 19 Oct 2004 17:00:47 +0200 (CEST) Received: by sun-fish.com (Postfix, from userid 1008) id 6D5D1D4C899; Tue, 19 Oct 2004 17:00:47 +0200 (CEST) Received: from daemon.cmotd.com (daemon.cmotd.com [192.168.3.104]) by sun-fish.com (Postfix) with SMTP id 8A89AD4C887 for ; Tue, 19 Oct 2004 17:00:42 +0200 (CEST) Date: Tue, 19 Oct 2004 18:00:42 +0300 From: Vladimir Terziev To: freebsd-net@freebsd.org Message-Id: <20041019180042.553c1af0@daemon.cmotd.com> Organization: SunFish Ltd. X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-unknown-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Quagga & ripd difficulty X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 15:00:50 -0000 Hi All, i try to set up quagga to route my VPNs. I use RIP (served by quagga's ripd) as routing protocol. All works fine, but i have difficulties with equal-cost routes. Now the problem ... One of my VPN peer servers has two VPN connections to every one of the other VPN peers. For quagga these are 2 equal-cost routes. When both of the VPN connections are established, quagga randomly preffers one of them and routes all VPN traffic via it. When one of the connections is not present (not connected) the VPN traffic is routed via the connected one. All this is fine, but i have the desire one of the routes to be prefferable when both of them are present. I mean the following ... if i have Net-1 <-> VPN-Peer-1 <----- A -----> VPN-Peer-2 <-> Net-2 Net-1 <-> VPN-Peer-1 <----- B -----> VPN-Peer-2 <-> Net-2 quagga to create a route between Net-1 and Net-2 always via connection A if both of the connections are present. Any ideas are welcome! Thanks in advance! Vladimir