Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2004 13:36:17 +0200
From:      "Leon Botes" <leon@trusc.net>
To:        "'Thompson, Jimi'" <JimiT@mail.cox.smu.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Routing question
Message-ID:  <E1BZ6oD-000P0M-HJ@gladiator.trusc.net>
In-Reply-To: <4B3F673172B98D449EBCC3BE8316F52403BA1718@exch4.elcsb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Greed the static route for E is best.
But how do you add a route that applies only to connections coming into C or
D
Route add (if source from net C then use interface A) ??
Adding failover would be an even bigger bonus.

-----Original Message-----
From: Thompson, Jimi [mailto:JimiT@mail.cox.smu.edu] 
Sent: 11 June 2004 18:12
To: leon@trusc.net
Subject: RE: Routing question

Leon,

This is possible, but will require you to run static routes so that you can
manually manage the connections.  You should be able to set the routing
metrics so that all your traffic from client D goes to B and if they want
email, B will have to have the appropriate records to send them back to E,
which is a remarkably BAD idea.  

Your better bet would be put in a static route with a lower routing metric
than the Internet connection (say 2) from D to E for a specific IP/range so
that they can get to the mail server without going out to the Internet to do
so.  Give the Internet connection a routing metric of 3. The same applies
for C.  This way, for the IP/range that you specify for the mail server(s),
your email traffic from these guys will go straight to the mail server
without traversing the Internet first.

The next part depends on how you want to manage the Internet connections.
Do you want Customer C to use D's Internet connection if Customer C's
connection fails and vice versa?  If so then you put a route in your routing
table and give that a really high metric (like 90) from C to B and the same
for D to A. Give their "normal" connection a really low metric (like 3) and
their traffic will go out the "preferred"
connection unless that connection fails or becomes really congested.  If you
don't want them to be able to use each other's connections EVER,
just don't add a route for it at all.   


HTH,

Jimi

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Leon Botes
Sent: Friday, June 11, 2004 10:15 AM
To: freebsd-questions@freebsd.org
Subject: Routing question

I have a box with 5 nics.
Cal them A,B,C,D,E.
A & B are different internet connections.
E is a connection to a mail server on a public /29 C & D are connections for
2 differnet client networks.

Is it possible to have all traffic coming in via C sent to a default gateway
on A's network and all traffic coming in via D sent to a default gateway on
B's network.
And secondly will both client networks be able to see the E/29?

If so how?

Thanks
Leon

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BZ6oD-000P0M-HJ>