I am having a strange problem. I can ping from the router to anywhere on the network, but cannot from any device connected to the router. See Network Diagram in http://i.imgur.com/wRyiQxG.png?1
For example
- If I log into my router via ssh onto any interface - Everything works great. I can ping any of the interfaces and and other node on the Mesh network.
- If I ping from a device connected to the router - I can only ping the interface that device connects to. eg. A computer connected via Eth1 can ping alan1. Cannot ping anything else. Same with any computer connecting to alan1 via the Access Point on this interface.
I have the following 2 interfaces:
- alan0 : 1 x Mesh Ad-Hoc antenna. IP 10.50.49.242
- alan1 : 1 x AP antenna and Eth1. IP 10.50.49.241
It appears that if the ping originates from an external computer then the interface it is connecting to is visible (eg. alan1), but the ping will not go across the interfaces (eg to alan0). Forwarding is setup between the interfaces. If I ssh into alan1 - no problem seeing anything on the network.
I am using the Atheros 9k driver.
ANY help anyone can give me I would GREATLY appreciate.
I have included the wireless, network and firewall files below. Note the firewall refers to an interface wan. This is not being used but I have included it. The system was configured using luci.
/etc/config/wireless:
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'macaddr' '00:80:92:43:f3:ff'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'DSSS_CCK-40'
option 'hwmode' '11a'
option 'country' 'US'
option 'channel' '149'
option 'txpower' '17'
config 'wifi-iface'
option 'device' 'radio0'
option 'encryption' 'none'
option 'ssid' 'ActiveMesh'
option 'mode' 'adhoc'
option 'network' 'alan0'
config 'wifi-device' 'radio1'
option 'type' 'mac80211'
option 'macaddr' '00:80:92:43:f3:f8'
list 'ht_capab' 'SHORT-GI-40'
list 'ht_capab' 'DSSS_CCK-40'
option 'txpower' '18'
option 'country' 'US'
option 'channel' 'auto'
config 'wifi-iface'
option 'device' 'radio1'
option 'mode' 'ap'
option 'encryption' 'none'
option 'ssid' 'StructuredMeshTest'
option 'network' 'alan1'
/etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.0.0'
option 'ifname' 'eth0'
option 'ipaddr' '10.60.0.1'
config 'interface' 'alan0'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '10.50.49.242'
option 'netmask' '255.255.0.0'
option 'gateway' '10.50.0.1'
option 'broadcast' '10.50.255.255'
option 'dns' '8.8.8.8 4.4.4.4'
option 'stp' '1'
option '_orig_ifname' 'eth1 wlan0 wlan1'
option '_orig_bridge' 'true'
config 'interface' 'alan1'
option 'proto' 'static'
option 'ipaddr' '10.50.49.241'
option 'netmask' '255.255.0.0'
option 'type' 'bridge'
option '_orig_ifname' 'eth1 wlan1'
option '_orig_bridge' 'true'
option 'ifname' 'eth1'
/etc/config/firewall
config 'defaults'
option 'syn_flood' '1'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'drop_invalid' '1'
option 'forward' 'ACCEPT'
config 'zone'
option 'name' 'lan'
option 'network' 'lan'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'ACCEPT'
config 'zone'
option 'name' 'wan'
option 'network' 'wan'
option 'output' 'ACCEPT'
option 'mtu_fix' '1'
option 'forward' 'ACCEPT'
option 'input' 'ACCEPT'
config 'rule'
option 'name' 'Allow-DHCP-Renew'
option 'src' 'wan'
option 'proto' 'udp'
option 'dest_port' '68'
option 'target' 'ACCEPT'
option 'family' 'ipv4'
config 'rule'
option 'name' 'Allow-Ping'
option 'src' 'wan'
option 'proto' 'icmp'
option 'icmp_type' 'echo-request'
option 'family' 'ipv4'
option 'target' 'ACCEPT'
config 'rule'
option 'name' 'Allow-DHCPv6'
option 'src' 'wan'
option 'proto' 'udp'
option 'src_ip' 'fe80::/10'
option 'src_port' '547'
option 'dest_ip' 'fe80::/10'
option 'dest_port' '546'
option 'family' 'ipv6'
option 'target' 'ACCEPT'
config 'rule'
option 'name' 'Allow-ICMPv6-Input'
option 'src' 'wan'
option 'proto' 'icmp'
list 'icmp_type' 'echo-request'
list 'icmp_type' 'destination-unreachable'
list 'icmp_type' 'packet-too-big'
list 'icmp_type' 'time-exceeded'
list 'icmp_type' 'bad-header'
list 'icmp_type' 'unknown-header-type'
list 'icmp_type' 'router-solicitation'
list 'icmp_type' 'neighbour-solicitation'
option 'limit' '1000/sec'
option 'family' 'ipv6'
option 'target' 'ACCEPT'
config 'rule'
option 'name' 'Allow-ICMPv6-Forward'
option 'src' 'wan'
option 'dest' '*'
option 'proto' 'icmp'
list 'icmp_type' 'echo-request'
list 'icmp_type' 'destination-unreachable'
list 'icmp_type' 'packet-too-big'
list 'icmp_type' 'time-exceeded'
list 'icmp_type' 'bad-header'
list 'icmp_type' 'unknown-header-type'
option 'limit' '1000/sec'
option 'family' 'ipv6'
option 'target' 'ACCEPT'
config 'include'
option 'path' '/etc/firewall.user'
config 'zone'
option 'name' 'alan0'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'ACCEPT'
option 'network' 'alan0'
config 'forwarding'
option 'dest' 'wan'
option 'src' 'alan0'
config 'forwarding'
option 'dest' 'alan0'
option 'src' 'wan'
config 'zone'
option 'name' 'alan1'
option 'input' 'ACCEPT'
option 'forward' 'ACCEPT'
option 'output' 'ACCEPT'
option 'network' 'alan1'
config 'forwarding'
option 'dest' 'alan0'
option 'src' 'alan1'
config 'forwarding'
option 'dest' 'wan'
option 'src' 'alan1'
config 'forwarding'
option 'dest' 'alan1'
option 'src' 'alan0'
config 'forwarding'
option 'dest' 'alan1'
option 'src' 'wan'
config 'forwarding'
option 'dest' 'alan0'
option 'src' 'lan'
config 'forwarding'
option 'dest' 'alan1'
option 'src' 'lan'
config 'forwarding'
option 'dest' 'wan'
option 'src' 'lan'
config 'forwarding'
option 'dest' 'lan'
option 'src' 'alan0'
config 'forwarding'
option 'dest' 'lan'
option 'src' 'alan1'
config 'forwarding'
option 'dest' 'lan'
option 'src' 'wan'
