Routing question

Leon Botes leon at trusc.net
Sat Jun 12 04:37:52 PDT 2004


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 at mail.cox.smu.edu] 
Sent: 11 June 2004 18:12
To: leon at 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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Leon Botes
Sent: Friday, June 11, 2004 10:15 AM
To: freebsd-questions at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list