All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: Can't use two links on a linux box - correction/addition
@ 2000-11-10 10:47 Arthur
  2000-11-10 18:33 ` Mike
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur @ 2000-11-10 10:47 UTC (permalink / raw)
  To: lartc

<PRE>On Thu, 9 Nov 2000, Mike Fedyk wrote:

&gt;<i> I've just subscribed to this list, and found this article.  
</I>&gt;<i> It solved my problem perfectly, but he described the solution 
</I>&gt;<i> I was trying as possible, which I've found is not.
</I>
That is interesting... I can't see much difference from the setup you've made
with what I've described, but for the ordering of the route setup commands 
(which, unfortunately, *is* significant, a detail I forgot when composing
the e-mail).

&gt;<i> I was reading some old docs that policy routing didn't work on packets from
</I>&gt;<i> local processes.  I'm sure glad it was wrong. :)
</I>
I've never seen those docs, fortunately. If I had, I probably wouldn't have
tried this... ;)

&gt;<i> Here's what my routes looked like:
</I>&gt;<i> 10.0.0.0 dev eth0  scope link  src 10.0.0.2
</I>&gt;<i> 63.194.293.210 dev eth1  scope link  src 63.194.293.219
</I>&gt;<i> 10.1.1.1 dev eth2  scope link  src 10.1.1.2
</I>&gt;<i> 10.0.0.0/24 dev eth0  scope link
</I>&gt;<i> 127.0.0.0/8 dev lo  scope link
</I>&gt;<i> default
</I>&gt;<i>         nexthop via 63.194.293.210  dev eth1 weight 1
</I>&gt;<i>         nexthop via 10.1.1.1  dev eth2 weight 1
</I>&gt;<i> 
</I>&gt;<i> here's my ip rule:
</I>&gt;<i> 0:      from all lookup local
</I>&gt;<i> 32766:  from all lookup main
</I>&gt;<i> 32767:  from all lookup default
</I>
&gt;<i> The default.  Now here's my problem.  If I connect from the internet to one of
</I>&gt;<i> my tcp services on 10.1.1.2 (which is behind another masq-ing firewall 
</I>&gt;<i> from the isp for dsl) I would get responses from 63.194.239.202.  
</I>&gt;<i> As you can see, this is not good, and kills any tcp traffic.
</I>
Yes. TCP only handles multipath traffic if the addresses stay the same on
all the paths. But it's not really good for most UDP based protocols either.

&gt;<i> I added two tables, 40 and 50.
</I>&gt;<i> Each has a route to the ISP's gateway and a default route.
</I>
Exactly the right thing to do.

&gt;<i> Here's the new ip rule:
</I>&gt;<i> 0:      from all lookup local
</I>&gt;<i> 32764:  from 10.1.1.2 lookup 50
</I>&gt;<i> 32765:  from 63.194.293.219 lookup 40
</I>&gt;<i> 32766:  from all lookup main
</I>&gt;<i> 32767:  from all lookup default
</I>&gt;<i> 
</I>&gt;<i> Everything is fine now, thanks to Van's help.
</I>
The name's Arthur. `van Leeuwen' is my surname. Yes, it's a silly European
thing. Note quite unlike `van Beethoven' in `Ludwig van Beethoven'.

&gt;<i> I just don't want anyone else to waste their time on what I tried...
</I>
This stuff really should be in the HOWTO. Now to find some time to 
put it in...

Doei, Arthur.

-- 
  /\    / |      <A HREF="mailto:arthurvl@sci.kun.nl">arthurvl@sci.kun.nl</A>      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching



</PRE>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-10 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-10 10:47 [LARTC] Re: Can't use two links on a linux box - correction/addition Arthur
2000-11-10 18:33 ` Mike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.