All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Multipath route problem
@ 2002-07-31 13:42 niels
  2002-07-31 14:54 ` Greg Scott
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: niels @ 2002-07-31 13:42 UTC (permalink / raw)
  To: lartc

Hi ... I have 2 DSL lines all up and running on one RedHat box... 

I want to balance traffic going out over the two providers

The 2 DSL routers Have IP's 10.10.10.1 / 10.10.10.2 ... my linux box (eth0)
has IP 10.10.10.10 connected on a separate ethernet 

SO I read the http://lartc.org/howto/lartc.rpdb.multiple-links.html guide
(chapter 4.2.2)

In my case I have to make these routes

# ip route add default nexthop via 10.10.10.1 dev eth0 nexthop via
10.10.10.2 dev eth0

Works Fine!! every connection request going is perfectly balanced sent out
via both gateways
But works only on the linux box itself! from the (masqueraded) clients it
doesn't:

Every first  request which is masqueraded -> gateway 10.10.10.1 (works fine)
Every second request which is masqueraded -> gateway 10.10.10.2 (don't get
reply back)

When I change the multipath route so that 10.10.10.2 is the first hop

# ip route add default nexthop via 10.10.10.2 dev eth0 nexthop via
10.10.10.1 dev eth0

Gw 10.10.10.2 (fine) 
Gw 10.10.10.1 (doesn't work ... Only from the linux box itself)

So it every time seems to be the second "hop" in the multipath route which
isn't beeing masqueraded properly!

Can anyone help?

Thanks in advance! 
Niels!






_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-08-01  9:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-31 13:42 [LARTC] Multipath route problem niels
2002-07-31 14:54 ` Greg Scott
2002-07-31 15:07 ` niels
2002-07-31 17:46 ` Martin A. Brown
2002-07-31 17:50 ` William L. Thomson Jr.
2002-07-31 19:55 ` Julian Anastasov
2002-08-01  8:14 ` niels
2002-08-01  9:13 ` William L. Thomson Jr.

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.