Hi,

This was posted to the Leaf users list, but I think this one is more
appropriate.
I'm using a Bering box with a multihomed configuration. I'm making load
balancing between 2 dsl lines.
The configuration is almost like the one in Linux Advanced Routing Traffic
Control HOWTO.
I didn't have any problems until I upgraded to "Bering-uClibc 2.1 rc1 with
kernel 2.4.24". Now, I can't get to MASQUERADE work anymore with the 2 DSL
lines.

In the syslog, I get the following line several times : 
Bering kernel: MASQUERADE: Route sent us somewhere else.

If I connect only 1 line (and change the configuration), MASQUERADE works
just fine. So the problem, I think, is when I use the multipath route.
I searched in the Netfilter and Kernel mailing lists, and I've found some
people with the same problem (with kernel >=2.4.23), and some of them
proposed a kernel patch to solve it.
Has anyone had the same problem using Bering? Is there any workarounds to
solve it?

Here is some information from my Bering box :

Bering# ip route list
200.3.62.208 dev ppp0 proto kernel scope link src 200.117.202.237
200.3.62.208 dev ppp1 proto kernel scope link src 200.117.202.44 10.0.0.0/24
dev eth0 proto kernel scope link src 10.0.0.1 default
nexthop via 200.3.62.208 dev ppp0 weight 1
nexthop via 200.3.62.208 dev ppp1 weight 1

Bering# iptables -L POSTROUTING -v -t nat
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
6 275 MASQUERADE all -- any ppp0 anywhere anywhere
4 176 MASQUERADE all -- any ppp1 anywhere anywhere

Bering# iptables -L FORWARD -v
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
3 144 TCPMSS tcp -- any any anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS
clamp to PMTU
7 315 ACCEPT all -- eth0 ppp0 anywhere anywhere
0 0 ACCEPT all -- ppp0 eth0 anywhere anywhere state RELATED,ESTABLISHED
2 100 ACCEPT all -- eth0 ppp1 anywhere anywhere
0 0 ACCEPT all -- ppp1 eth0 anywhere anywhere state RELATED,ESTABLISHED

Bering# ip rule list
0: from all lookup local
32766: from all lookup main
32767: from all lookup default

Thanks in advance,

Guillermo



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to