IPV6 on Client mode, can ping from router, not from a device

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
legolas
DD-WRT Novice


Joined: 22 Feb 2017
Posts: 26

PostPosted: Mon Jan 08, 2024 17:30    Post subject: IPV6 on Client mode, can ping from router, not from a device Reply with quote
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

Security -> Firewall all disabled
Iptables:
ip6tables -P INPUT ACCEPT
ip6tables -P FORWARD ACCEPT
iip6tables -P OUTPUT ACCEPT

cat /proc/sys/net/ipv6/conf/all/forwarding == 1

The results:

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

Also tried using dnsmasq options from this thread, but withou success
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1200801#1200801

Tried to manually assign same subnet for ath0 and br0 and the routes to ath0:
Both on 2805:c90:f2db:2800::/64

Behaviour are the same.
What more can be the problem that host are not getting ipv6 connectivity?

Thank you!!

Note: not my real ip address.

_________________
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
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1959

PostPosted: Mon Jan 08, 2024 19:06    Post subject: Reply with quote
https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/tplink_tl-wr842ndv1/
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
legolas
DD-WRT Novice


Joined: 22 Feb 2017
Posts: 26

PostPosted: Mon Jan 08, 2024 19:58    Post subject: Reply with quote
dale_gribble39 wrote:
https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-02-2024-r54682/tplink_tl-wr842ndv1/

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
userrox
DD-WRT Novice


Joined: 11 May 2019
Posts: 16

PostPosted: Tue Jan 09, 2024 2:36    Post subject: Reply with quote
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.
legolas
DD-WRT Novice


Joined: 22 Feb 2017
Posts: 26

PostPosted: Thu Jan 11, 2024 20:51    Post subject: Reply with quote
userrox wrote:
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum