From owner-freebsd-net@FreeBSD.ORG Mon Nov 17 07:58:45 2003 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 435C016A4CE for ; Mon, 17 Nov 2003 07:58:45 -0800 (PST) Received: from sizone.org (mortar.sizone.org [65.126.154.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CCA943FA3 for ; Mon, 17 Nov 2003 07:58:44 -0800 (PST) (envelope-from dgilbert@daveg.ca) Received: by sizone.org (Postfix, from userid 66) id 936DF3079D; Mon, 17 Nov 2003 10:58:43 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id 4DE2D1D235A; Mon, 17 Nov 2003 10:58:47 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16312.61495.127407.633302@canoe.dclg.ca> Date: Mon, 17 Nov 2003 10:58:47 -0500 To: freebsd-net@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid Subject: Knowing a route multiply. 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: Mon, 17 Nov 2003 15:58:45 -0000 We have a problem. We have more than one router routing for a subnet. We use Quaaga (zebra's follow-on) and OSPF to keep everything in sync. And everything is fine if all the interfaces are configured at boot time (before quaaga starts up). The problem occurs if you want to add a routed network. First you add the interface on router A. When you do this, OSPF dutifully recognises this and distributes the route throughout the network ... including router B. Then you go to router B and attempt to ifconfig the interface. It fails because the route already exists in router B. You can't delete the route because OSPF will add it right back. This works on Linux ... and fails miserably on FreeBSD. I would like to change this behaviour to either a) replace the route with the interface route or b) know two routes for a destination and choose one. a) is obviously easier ... but may be troublesome (the same reason the route delete doesn't work may be an issue). b) is obviously more work, but leads us down a road to more useful things (like equal cost multipath). Is anyone working in this direction? Does anyone have strong opinnions? Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================