Hopefully attachments come though ok?

net_ is from the router connected to the internet
mesh_ is the other side of the mesh



On Thu, Aug 12, 2010 at 1:50 PM, Marek Lindner <[email protected]> wrote:
> On Thursday 12 August 2010 12:41:41 David Beaumont wrote:
>> I originally had my MTU values set incorrectly, but believe i have
>> them correct now
>>
>> router with internet
>>
>> ath0 - MTU 1524 (physical wifi device)
>>
>> router on otherside of mesh
>>
>> ath0 - MTU 1524 (physical wifi device)
>
> Yes, that looks good.
> The problems you describe sound like MTU or firewall issues which is why I was
> asking.
>
>
>> wifi0 - MTU 1500 (should this be 1524 also)
>
> You should ignore the wifi0 interface and not include it in any configuration.
> It is of no relevance in your setup.
>
>
>> I am aware that it is quite an old verison, although this is the
>> version that is currently in the openwrt repo. I will compile a more
>> recent version once i have the basics working i think.
>
> Ok.
>
>
>> Thanks for you help so far guys, two people have suggested MTU issues
>> now, so fingers crossed someone can see something wrong with the
>> output above?
>
> Could you post the config of both nodes ? That includes:
> * ifconfig
> * brctl show
> * ip route / route -n
> * cat /proc/net/batman-adv/interfaces
> * iptables (-t nat) -vnL [on the internet-router]
>
> Regards,
> Marek
>
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.2.4.0        0.0.0.0         255.255.255.0   U     0      0        0 br-lan
10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 bat0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-wan
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 ath0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 br-wan
ath0 
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.000db9190e98       no              bat0
                                                        eth0
ath0      Link encap:Ethernet  HWaddr 00:0C:42:3A:75:A2  
          inet addr:100.10.17.3  Bcast:100.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1524  Metric:1
          RX packets:11668 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5843 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:479638 (468.3 KiB)  TX bytes:283781 (277.1 KiB)

bat0      Link encap:Ethernet  HWaddr 00:FF:2E:BD:B6:7A  
          inet addr:10.0.1.1  Bcast:10.0.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:299 errors:0 dropped:0 overruns:0 frame:0
          TX packets:288 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24634 (24.0 KiB)  TX bytes:26340 (25.7 KiB)

br-lan    Link encap:Ethernet  HWaddr 00:0D:B9:19:0E:98  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:299 errors:0 dropped:0 overruns:0 frame:0
          TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:20448 (19.9 KiB)  TX bytes:26742 (26.1 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0D:B9:19:0E:98  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:10 Base address:0xa000 

eth1      Link encap:Ethernet  HWaddr 00:0D:B9:19:0E:99  
          inet addr:192.168.0.117  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:826 errors:0 dropped:0 overruns:0 frame:0
          TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:76111 (74.3 KiB)  TX bytes:23895 (23.3 KiB)
          Interrupt:15 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:730 (730.0 B)  TX bytes:730 (730.0 B)

wifi0     Link encap:UNSPEC  HWaddr 
00-0C-42-3A-75-A2-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38633 errors:0 dropped:0 overruns:0 frame:19
          TX packets:5844 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195 
          RX bytes:3196920 (3.0 MiB)  TX bytes:412355 (402.6 KiB)
          Interrupt:9 

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state INVALID 
   32  5332 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state RELATED,ESTABLISHED 
    4   224 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 syn_flood  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        tcp flags:0x17/0x02 
  484 41238 input_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0  
         
  484 41238 input      all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state INVALID 
  172 14441 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state RELATED,ESTABLISHED 
  151 12653 forwarding_rule  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           
  151 12653 forward    all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state INVALID 
   87  8790 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state RELATED,ESTABLISHED 
    4   224 ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0   
        
   31  2314 output_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0 
          
   31  2314 output     all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        

Chain forward (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
  151 12653 zone_lan_forward  all  --  br-lan *       0.0.0.0/0            
0.0.0.0/0           
    0     0 zone_wan_forward  all  --  eth1   *       0.0.0.0/0            
0.0.0.0/0           

Chain forwarding_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain forwarding_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain forwarding_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain input (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
   85  5366 zone_lan   all  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        
  399 35872 zone_wan   all  --  eth1   *       0.0.0.0/0            0.0.0.0/0   
        

Chain input_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain input_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain input_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain output (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
   31  2314 zone_lan_ACCEPT  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           
   28  1610 zone_wan_ACCEPT  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           

Chain output_rule (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        

Chain reject (4 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        reject-with tcp-reset 
    0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        reject-with icmp-port-unreachable 

Chain syn_flood (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 RETURN     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        tcp flags:0x17/0x02 limit: avg 25/sec burst 50 
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        

Chain zone_lan (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
   85  5366 input_lan  all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        
   85  5366 zone_lan_ACCEPT  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           

Chain zone_lan_ACCEPT (3 references)
 pkts bytes target     prot opt in     out     source               destination 
        
  236 18019 ACCEPT     all  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        
    3   704 ACCEPT     all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0   
        

Chain zone_lan_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 DROP       all  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 DROP       all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0   
        

Chain zone_lan_MSSFIX (0 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 TCPMSS     tcp  --  *      br-lan  0.0.0.0/0            0.0.0.0/0   
        tcp flags:0x06/0x02 TCPMSS clamp to PMTU 

Chain zone_lan_REJECT (0 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 reject     all  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 reject     all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0   
        

Chain zone_lan_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
  151 12653 forwarding_lan  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           
  151 12653 zone_lan_ACCEPT  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           

Chain zone_wan (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
  399 35872 input_wan  all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        
  399 35872 zone_wan_ACCEPT  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           

Chain zone_wan_ACCEPT (3 references)
 pkts bytes target     prot opt in     out     source               destination 
        
  399 35872 ACCEPT     all  --  eth1   *       0.0.0.0/0            0.0.0.0/0   
        
   28  1610 ACCEPT     all  --  *      eth1    0.0.0.0/0            0.0.0.0/0   
        

Chain zone_wan_DROP (0 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 DROP       all  --  eth1   *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 DROP       all  --  *      eth1    0.0.0.0/0            0.0.0.0/0   
        

Chain zone_wan_MSSFIX (0 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 TCPMSS     tcp  --  *      eth1    0.0.0.0/0            0.0.0.0/0   
        tcp flags:0x06/0x02 TCPMSS clamp to PMTU 

Chain zone_wan_REJECT (0 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 reject     all  --  eth1   *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 reject     all  --  *      eth1    0.0.0.0/0            0.0.0.0/0   
        

Chain zone_wan_forward (1 references)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 forwarding_wan  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           
    0     0 zone_wan_ACCEPT  all  --  *      *       0.0.0.0/0            
0.0.0.0/0           
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 bat0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
100.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 ath0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth1
ath0 
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.00026f5ff579       no              ath1
                                                        eth0
                                                        eth1
br-wan          8000.00ff6cf3df21       no              bat0
ath0      Link encap:Ethernet  HWaddr 00:0C:42:60:12:CF  
          inet addr:10.1.1.99  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1524  Metric:1
          RX packets:12434 errors:0 dropped:21 overruns:0 frame:0
          TX packets:6210 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:517016 (504.8 KiB)  TX bytes:298735 (291.7 KiB)

ath1      Link encap:Ethernet  HWaddr 00:02:6F:5F:F5:79  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:18551 (18.1 KiB)

bat0      Link encap:Ethernet  HWaddr 00:FF:6C:F3:DF:21  
          inet addr:10.0.1.2  Bcast:10.0.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:320 errors:0 dropped:8 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:28221 (27.5 KiB)  TX bytes:26263 (25.6 KiB)

br-lan    Link encap:Ethernet  HWaddr 00:02:6F:5F:F5:79  
          inet addr:10.2.4.99  Bcast:10.2.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:16143 (15.7 KiB)  TX bytes:0 (0.0 B)

br-wan    Link encap:Ethernet  HWaddr 00:FF:6C:F3:DF:21  
          inet addr:192.168.1.180  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:23895 (23.3 KiB)  TX bytes:29479 (28.7 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0D:B9:1A:16:04  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18551 (18.1 KiB)  TX bytes:0 (0.0 B)
          Interrupt:10 Base address:0x2000 

eth1      Link encap:Ethernet  HWaddr 00:0D:B9:1A:16:05  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:15 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:428 errors:0 dropped:0 overruns:0 frame:0
          TX packets:428 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:30670 (29.9 KiB)  TX bytes:30670 (29.9 KiB)

wifi0     Link encap:UNSPEC  HWaddr 
00-0C-42-60-12-CF-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34913 errors:0 dropped:0 overruns:0 frame:7
          TX packets:6211 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195 
          RX bytes:2877961 (2.7 MiB)  TX bytes:435383 (425.1 KiB)
          Interrupt:9 

wifi1     Link encap:UNSPEC  HWaddr 
00-02-6F-5F-F5-79-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41257 errors:0 dropped:0 overruns:0 frame:6321
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195 
          RX bytes:4206382 (4.0 MiB)  TX bytes:22335 (21.8 KiB)
          Interrupt:11 

Chain INPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:4305 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:4306 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:4307 
  462 40769 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0   
        state RELATED,ESTABLISHED 
    0     0 ACCEPT     tcp  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:22 
    0     0 ACCEPT     udp  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:698 
    0     0 ACCEPT     tcp  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:698 
    0     0 ACCEPT     udp  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:53 
    0     0 ACCEPT     tcp  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:888 
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0   
        icmp type 8 
    0     0 ACCEPT     tcp  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:53 
    0     0 REJECT     all  --  ath0   *       0.0.0.0/0            0.0.0.0/0   
        reject-with icmp-port-unreachable 
    0     0 ACCEPT     tcp  --  br-lan *       0.0.0.0/0            10.2.4.99   
        tcp dpt:22 
    0     0 ACCEPT     tcp  --  br-lan *       0.0.0.0/0            10.2.4.99   
        tcp dpt:888 
    0     0 ACCEPT     udp  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:698 
    0     0 ACCEPT     tcp  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:698 
    0     0 ACCEPT     udp  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:53 
    0     0 ACCEPT     tcp  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:53 
   70  6092 DROP       all  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:3990 flags:0x17/0x02 
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:698 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:698 
  218 12060 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        udp dpt:53 
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0   
        tcp dpt:53 
    0     0 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 ACCEPT     all  --  eth0   *       0.0.0.0/0            0.0.0.0/0   
        

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 
        
    0     0 DROP       all  --  br-lan *       0.0.0.0/0            0.0.0.0/0   
        
    0     0 DROP       all  --  *      br-lan  0.0.0.0/0            0.0.0.0/0   
        

Chain OUTPUT (policy ACCEPT 695 packets, 50721 bytes)
 pkts bytes target     prot opt in     out     source               destination 
        

Reply via email to