Dear Andrew,
2009/10/6 Andrew Lunn andrew@lunn.ch
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.
You are right. The gateway is 192.168.20.2
However, you say ping works, so that does not explain your problem.
Check your firewall rules.
iptable -L
Checked; the ouput is the some for the three nodes:
# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination
Chain FORWARD (policy ACCEPT) target prot opt source destination
Chain OUTPUT (policy ACCEPT) target prot opt source destination
maybe one of the rules is causing the kernel to drop the packets.
Andrew
B.A.T.M.A.N mailing list B.A.T.M.A.N@lists.open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n