Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 08:50:10 -0800 (PST)
From:      Tom Samplonius <tom@sdf.com>
To:        Alexander <amour@bugs.elitsat.net>
Cc:        freebsd-questions@freebsd.org, freebsd-isp@freebsd.org
Subject:   Re: 3 Routing Questions
Message-ID:  <Pine.BSF.4.05.10103130846420.29714-100000@misery.sdf.com>
In-Reply-To: <Pine.BSF.4.21.0103131732380.14249-100000@bugs.elitsat.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10103130846420.29714-100000>