Posted: Mon Jan 08, 2024 17:30 Post subject: IPV6 on Client mode, can ping from router, not from a device
Hello, I am configuring a TL-WR842ND v1 with IPv6, spent many hours but without success.
The setup are:
internet <-->(ath0 ; DD-WRT v3.0-r38253 std (01/10/19) ; br0)<--> host
IPv6 tab are
/64 and the DHCPv6 with PA
All disabled except radvd
Since assignments are ok, these settings are ok
ip -6 addr
On dd-wrt:
Code:
7: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 2805:c90:f2db:2802:200:ff:fe00:0/64 scope global
valid_lft forever preferred_lft forever
8: ath0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet6 2805:c90:f2db:2800:6666:b3ff:fe59:dd0/64 scope global dynamic
valid_lft 259100sec preferred_lft 172700sec
host connected through cable, tried wifi in the ath0.1 interface too:
Code:
2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2805:c90:f2db:2802:98a0:2a28:2aa:e1dc/64 scope global noprefixroute dynamic
ip -6 route
On dd-wrt:
Code:
2805:c90:f2db:2800::/64 dev ath0 metric 256 expires 258947sec
2805:c90:f2db:2802::/64 dev br0 metric 256
fe80::/64 dev br0 metric 256
fe80::/64 dev eth1 metric 256
fe80::/64 dev ath0.1 metric 256
fe80::/64 dev ath0 metric 256
default via fe80::564b:54ff:fe20:4c29 dev ath0 metric 1024 expires 1548sec
unreachable default dev lo metric -1 error -128
ff00::/8 dev br0 metric 256
ff00::/8 dev eth1 metric 256
ff00::/8 dev ath0.1 metric 256
ff00::/8 dev ath0 metric 256
unreachable default dev lo metric -1 error -128
# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.6466b3590dcf no ath0.1, eth0
Can ping from host to global ip of ath0 and br0
Can ping from dd-wrt shell to internet using ath0, not br0
Can ping from internet to ath0, not to br0
Can not ping from host to internet, not from to internet to host
on the router:
ping6 -I ath0 fb.com # works
ping6 -I br0 fb.com # fail
THanks for reply!
Just upgraded, but behavior of the issue remains the same. _________________ In use, community ISP:
1 tplink WR842ND; 2 WR741N; 3 WR740N : with DD-WRT
1 mymax WR934-BK "original" firmware
1 d-link dsl-2740e with Totolink ND300
2 Sagem F@ST2704 with OpenWrt
1 wavlink ND300
1 wrt54g
waiting:
1 wrt54g
airgrid m5 bullet
I haven't tried a client mode setup with IPv6, but when you say you had "All disabled except radvd" and then mention using dnsmasq options, I assume you disabled radvd if you had dnsmasq's enable-ra option present? Otherwise there would be two sets of router advertisements for the LAN. You also didn't list any link-local addresses in the output of your ip -6 addr command. There should be addresses present, and it's probably a good idea to ping the br0 link-local address from your host. Sounds like it will be fine if you can ping the global address but I thought I should mention it. Good luck.
I haven't tried a client mode setup with IPv6, but when you say you had "All disabled except radvd" and then mention using dnsmasq options, I assume you disabled radvd if you had dnsmasq's enable-ra option present? Otherwise there would be two sets of router advertisements for the LAN. You also didn't list any link-local addresses in the output of your ip -6 addr command. There should be addresses present, and it's probably a good idea to ping the br0 link-local address from your host. Sounds like it will be fine if you can ping the global address but I thought I should mention it. Good luck.
I started from scratch and wiped the config many times, but ended with dnsmask out of it. I think there is nothing to do with IP assignment, because routing and ip table are ok.
The link-local adress are ok, i modified some routing table entries but no luck.
So i will give up for now, but will work on it soon.
Thank you! _________________ In use, community ISP:
1 tplink WR842ND; 2 WR741N; 3 WR740N : with DD-WRT
1 mymax WR934-BK "original" firmware
1 d-link dsl-2740e with Totolink ND300
2 Sagem F@ST2704 with OpenWrt
1 wavlink ND300
1 wrt54g
waiting:
1 wrt54g
airgrid m5 bullet