Hi slow_speed
I have added post here since I have issue between router and AP (access point) or rather with clients connected via AP to the router.
I have 2 floors in the locations.
router located in the upper floor. All devices located in the upper floor connect to router over wifi directly. Those include windows,android and printer devices
AP located in the lower floor. All devices connect to router over wifi via AP. Those are printer, android, windows, linux devices
Below I have gathered some details:
Router :TP-Link TL-WDR3600 v1 Gorgoyle 1.9.1
Access Point: TP-Link TL-WA854RE original TPLINK soft
Router
----------------------------------------------------------------|
| Gargoyle version 1.9.1 | OpenWrt Chaos Calmer branch |
| Gargoyle revision 55922fb | OpenWrt commit eadf19c |
| Built July 07, 2016 | Target ar71xx/usb |
------------------------------------------------------------------
~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether f8:1a:67:eb:ca:52 brd ff:ff:ff:ff:ff:ff
10: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
inet 192.168.2.3/24 brd 192.168.2.255 scope global br-lan
valid_lft forever preferred_lft forever
11: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default
12: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
inet 89.x.x.x/22 brd 89.x.x.x scope global eth0.2
valid_lft forever preferred_lft forever
13: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP group default qlen 1000
~# ip r
default via 89.x.x.1 dev eth0.2 proto static src 89.x.x.191
89.x.x.0/22 dev eth0.2 proto kernel scope link src 89.x.x.191
89.x.x.1 dev eth0.2 proto static scope link src 89.x.x.191
192.168.2.0/24 dev br-lan proto kernel scope link src 192.168.2.3
If I connect client with no NO AP in between I have the following:
client
$ nslookup
www.gargoyle-router.com
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name:
www.gargoyle-router.com
Address: 66.228.45.220
$ ip r
default via 192.168.2.3 dev wlan0 proto static
192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.150 metric 9
tracepath
www.gargoyle-router.com
1?: [LOCALHOST] pmtu 1500
1: Gargoyle 4.888ms
1: Gargoyle 2.375ms
2: 89-x-x-1.dynamic.chello.pl 28.657ms
3: 89-x-x-1.infra.chello.pl 9.813ms
4: pl-waw04a-rc1-ae16-2158.aorta.net 33.025ms asymm 10
5: no reply
6: nl-ams04a-ri2-ae10-0.aorta.net 32.695ms asymm 7
7: ae-6.r25.amstnl02.nl.bb.gin.ntt.net 33.551ms asymm 8
8: ae-5.r23.asbnva02.us.bb.gin.ntt.net 130.126ms asymm 10
9: ae-0.r22.asbnva02.us.bb.gin.ntt.net 128.571ms asymm 10
10: ae-5.r25.nycmny01.us.bb.gin.ntt.net 127.041ms asymm 11
11: ae-2.r08.nycmny01.us.bb.gin.ntt.net 135.049ms asymm 12
12: 192.80.16.18 139.509ms
13: 173.255.239.5 136.163ms
14: li326-220.members.linode.com 138.591ms reached
Resume: pmtu 1500 hops 14 back 14
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
inet 192.168.2.150/24 brd 192.168.2.255 scope global wlan0
valid_lft forever preferred_lft forever
DHCP has mac reservation so clients will have the same address.
If I connect the same client via AP, with AP connected to router
client
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
inet 192.168.2.150/24 brd 192.168.2.255 scope global wlan0
valid_lft forever preferred_lft forever
~ $ ip r
default via 192.168.2.3 dev wlan0 proto static
192.168.2.0/24 dev wlan0 proto kernel scope link src 192.168.2.150 metric 9
~ $ nslookup
www.gargoyle-router.com
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name:
www.gargoyle-router.com
Address: 66.228.45.220
-- DNS still works ---
$ ping -c 3
www.gargoyle-router.com
PING
www.gargoyle-router.com (66.228.45.220) 56(84) bytes of data.
From Gargoyle.zabki.p1 (192.168.2.3) icmp_seq=1 Destination Port Unreachable
From Gargoyle.zabki.p1 (192.168.2.3) icmp_seq=2 Destination Port Unreachable
From Gargoyle.zabki.p1 (192.168.2.3) icmp_seq=3 Destination Port Unreachable
---
www.gargoyle-router.com ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2001ms
--- ping not working anymore ---
~ $ tracepath
www.gargoyle-router.com
1?: [LOCALHOST] pmtu 1500
1: Gargoyle 8.222ms
1: Gargoyle 6.035ms
2: Gargoyle 7.315ms reached
Resume: pmtu 1500 hops 2 back 1
--- seems we stop at the router and we are not going anywhere ---
~ $ ping 192.168.2.5 (AP)
PING 192.168.2.5 (192.168.2.5) 56(84) bytes of data.
64 bytes from 192.168.2.5: icmp_seq=1 ttl=64 time=5.97 ms
64 bytes from 192.168.2.5: icmp_seq=2 ttl=64 time=1.68 ms
64 bytes from 192.168.2.5: icmp_seq=3 ttl=64 time=3.48 ms
~ $ ping 192.168.2.3 (router)
PING 192.168.2.3 (192.168.2.3) 56(84) bytes of data.
64 bytes from 192.168.2.3: icmp_seq=1 ttl=64 time=5.31 ms
64 bytes from 192.168.2.3: icmp_seq=2 ttl=64 time=5.35 ms
64 bytes from 192.168.2.3: icmp_seq=3 ttl=64 time=5.32 ms
AP GUI shows the connection to internet is in OK mode (becasue AP is directly connected to router). However any other device connected to AP can only access local area, including router but not beyond the router.
Router had the same settings using Gorg.. 1.6.2 and devices connected via AP had access to the net. After router has been upgrade to Gorg 1.9.1, this is no longer the case.
I have not yet reverted to Gorg 1.6.2 but may do so soon If I do not find solution to this issue.
Any help would be welcomed.