From owner-freebsd-questions Tue Mar 13 8:51:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from misery.sdf.com (misery.sdf.com [204.244.213.49]) by hub.freebsd.org (Postfix) with ESMTP id 4C80337B71A; Tue, 13 Mar 2001 08:51:12 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 14crzy-0001z8-00; Tue, 13 Mar 2001 08:50:14 -0800 Date: Tue, 13 Mar 2001 08:50:10 -0800 (PST) From: Tom Samplonius To: Alexander Cc: freebsd-questions@freebsd.org, freebsd-isp@freebsd.org Subject: Re: 3 Routing Questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 13 Mar 2001, Alexander wrote: > I have 3 routing questions, any help will be great. > > 1) How can I create source based routing. Like if there are few > networks behind my router and I want them to be routed with different > default gateways. Policy based routing can be done with "ipfw fwd" directives. > 2) How can I do the following situation: > If I have 2 different connections to 1 server , let's say the one is > leased line and the other is ip tunnel, and I want it to use by default > the leased line, but when the leased line is lagged too much or there > isn't any kind of connection through it the routing should be going using > the ip tunnel. Quite difficult. Depends on the products that you are using for the lease line router, and tunnel. You will probably have to do this with a script that changes the default route. > 3) Why when my server is booting and if someone try to do any kind > of connection to it or just ping it and it adds his address to the routing > table. And since the address is not on the same interface, the address is > not available since the route for it expires. I don't understand this at all. The first sentence seems to refer to how MAC addresses are stored in the routing table. That happens all the time, not just during booting. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message