[nmglug] Multi-Homed Linux and Routing

mohadib mohadib at openactive.org
Fri Jun 2 15:51:10 PDT 2006


On Fri, 2006-06-02 at 13:05 -0700, Tim Emerick wrote:
> I think I'm lost on "routes".  Forgive me if what I'm asking sounds
> uneducated.
>  
> I'm assuming a route is how to get from here to a particular IP
> address. I don't want particular "routes" to run through eth1.  
>  
> What I want is all traffic coming from tinyproxy to run through eth1.
> All other traffic will run through eth0.  I can tell tinyproxy to use
> eth1 for incoming / outgoing requests via it's config files.  I just
> don't want non-tinyproxy traffic using eth1.
>  
> I'm confused.
> 


make a second default gw with a really high weight.
That way it should not be used by other apps if 
another route out is avaliable.

good luck
jd









> mohadib <mohadib at openactive.org> wrote:
>         you can send specific routes out of the other interface.
>         
>         hth,
>         jd
>         
>         
>         On Wed, 2006-05-31 at 09:03 -0700, Tim Emerick wrote:
>         > I've posed this question before but without knowing the
>         proper
>         > terminologies. I've since experimented and have become
>         stuck. I'm
>         > using Debian testing.
>         > 
>         > I'm trying to create a proxy server to bridge between two
>         lans.
>         > 
>         > eth0 is on lan0 and where all of my traffic should be
>         coming/going.
>         > It autoconfigured DNS/gateway from the DHCP server on lan0.
>         It should
>         > be my only default gateway.
>         > 
>         > I installed eth1 and hooked it to lan1. Linux autoconfigured
>         it with
>         > it's own DNS service/gateway from the lan1 DHCP server. I
>         installed
>         > tinyproxy and specified incoming from lan0 and outgoing to
>         lan1. Only
>         > traffic on eth1 should be from/to tinyproxy only.
>         > 
>         > Existing services started really bogging down and I found
>         that it was
>         > because linux was trying to decide which lan/route to use
>         because now
>         > I had 2 default routes. I want only one default
>         route...lan0.
>         > 
>         > What next? What info do I need to provide to clarify my
>         problem?
>         > 
>         > For now, I've disabled eth1 so my existing services can run
>         > unhindered.
>         > 
>         > Thanks!
>         > 
>         > Tim
>         > 
>         > I'm confused.
>         > 
>         >
>         ______________________________________________________________________
>         > Do you Yahoo!?
>         > Get on board. You're invited to try the new Yahoo! Mail
>         Beta.
>         > _______________________________________________
>         > nmglug mailing list
>         > nmglug at nmglug.org
>         > http://www.nmglug.org/mailman/listinfo/nmglug
>         
>         
>         _______________________________________________
>         nmglug mailing list
>         nmglug at nmglug.org
>         http://www.nmglug.org/mailman/listinfo/nmglug
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 





More information about the nmglug mailing list