On Tue, Oct 06, 2009 at 11:26:01AM +0200, a wrote:
It is correct. I'm using openwrt and, at the moment, without -M option. 1500byte packets work, with fragmentation. However, my TCP packets are small (about 60bytes). I have verified TCPDump file and packets arrive. It seems that the Linux IP stack does not forward them to the application.
Going back to your first email:
- B1 - bat0: 192.168.10.1/24 - default gateway: 192.168.10.2 - GW: bat0: 192.168.10.2/24, eth1: 192.168.20.2/24 - EX: eth0: 192.168.20.3/24 - default gateway: 192.168.20.3
You default GW on EX does not make sense. You cannot use yourself as a default gateway. It needs to be a remote device. In this case, EXs default gateway should point to 192.168.20.2.
However, you say ping works, so that does not explain your problem.
Check your firewall rules.
iptable -L
maybe one of the rules is causing the kernel to drop the packets.
Andrew