From owner-freebsd-questions Tue Mar 13 10: 6:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bugs.elitsat.net (bugs.elitsat.net [209.239.78.230]) by hub.freebsd.org (Postfix) with ESMTP id 7F33437B71B for ; Tue, 13 Mar 2001 10:06:31 -0800 (PST) (envelope-from amour@bugs.elitsat.net) Received: from localhost (amour@localhost) by bugs.elitsat.net (8.11.1/8.11.1) with ESMTP id f2DI6IO15078; Tue, 13 Mar 2001 20:06:18 +0200 (EET) (envelope-from amour@bugs.elitsat.net) Date: Tue, 13 Mar 2001 20:06:18 +0200 (EET) From: Alexander To: Tom Samplonius Cc: freebsd-questions@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 About the 3rd thing. I mean, while my machine is booting and if someone tries to ping me I add his host to the routing table. But when that someone is not on the same network (same hub) I can't reach him anymore. (until the route expires) Or in other words .. how can I stop route from add routes by itself ? And other thing: how can I add a route with the MAC address (when I see it). Because when I'm doing accounting for my local network and some ppl trick by changing their ip adresses. On Tue, 13 Mar 2001, Tom Samplonius wrote: > > 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