What's new

Native IPv6 - no LAN IP's populating

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

After you run the odhcp6c command, run:
Bash:
cat /tmp/wan*bound6.env
 
On the command line change "-P 64:b3040" to "-P 48:b3040" that change is what the "WAN Prefix Length" option it the gui sets.
Code:
killall odhcp6c
odhcp6c -df -R -s /tmp/dhcp6c -N none -c 0003000104d4c4bb3040 -P 48:b3040 -r23 -r24 -k ppp0
Still nothing :(
 
After you run the odhcp6c command, run:
Bash:
cat /tmp/wan*bound6.env
Results from running that command - IP REMOVED is the WAN IPv6 address

SSH_CLIENT=10.12.12.40 49868 2212

USER=Bruc3W4yn3

LD_LIBRARY_PATH=/lib:/usr/lib:/lib/aarch64

SHLVL=1

HOME=/root

SSH_TTY=/dev/pts/0

PS1=\u@\h:\w\$

LOGNAME=Bruc3W4yn3

TERM=xterm-256color

PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/Bruc3W4yn3:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin:/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin

SHELL=/bin/sh

PWD=/tmp/home/root

SSH_CONNECTION=10.12.12.40 49868 10.12.12.12 2212

TMOUT=600

SERVER=

RDNSS=2a05:87c0:1::a

SNTP_IP=

NTP_IP=

NTP_FQDN=

SIP_IP=

DOMAINS=

SIP_DOMAIN=

AFTR=

CER=

OPTION_2=00030001ac7a56300f00

OPTION_1=0003000104d4c4bb3040

PREFIXES=

ADDRESSES=

RA_ADDRESSES=IP REMOVED/64,604798,2591998

RA_ROUTES=::/0,fe80::ae7a:56ff:fe30:f00,1798,512 IP REMOVED/64,,2591998,256

RA_DNS=

RA_DOMAINS=

RA_HOPLIMIT=64

RA_MTU=1492

RA_REACHABLE=0

RA_RETRANSMIT=0

PASSTHRU=001700102a0587c000010000000000000000000a
 
Doesn’t look that way, no.

I wonder if it’s something to do with the LAN prefixes they’ve assigned to me.

If I set Static IPv6 using the WAN prefix (/64) for both WAN and LAN, it works - but obviously assigns LAN devices IP’s from the WAN pool.

As soon as I set the LAN Prefix to be what it should be per my assignment on my account (/48) - then it breaks and no longer works.
 
Doesn’t look that way, no.

I wonder if it’s something to do with the LAN prefixes they’ve assigned to me.

If I set Static IPv6 using the WAN prefix (/64) for both WAN and LAN, it works - but obviously assigns LAN devices IP’s from the WAN pool.

As soon as I set the LAN Prefix to be what it should be per my assignment on my account (/48) - then it breaks and no longer works.
Please run the odhcp6c command again, but also include -v first in the list of command line parameters and check the syslog afterward for messages from odhcp6c.
 
do I need to run the kill command first as well?
Yes. I might try:
Code:
killall odhcp6c
odhcp6c -v -df -R -s /tmp/dhcp6c -N try -c 0003000104d4c4bb3040 -P 0:b3040 -r23 -r24 -k ppp0
grep odhcp6c /tmp/syslog.log
cat /tmp/wan0_bound6.env
ip -6 addr show scope global
 
Yes. I might try:
Code:
killall odhcp6c
odhcp6c -v -df -R -s /tmp/dhcp6c -N try -c 0003000104d4c4bb3040 -P 0:b3040 -r23 -r24 -k ppp0
grep odhcp6c /tmp/syslog.log
cat /tmp/wan0_bound6.env
ip -6 addr show scope global

Command Line still shows no addresses etc. as per before.

Syslog shows:

1658096638922.png
 
This is an interesting wiki entry at OpenWrt (second paragraph):

Giganet​

Giganet are a CityFibre and BT Openreach fibre reseller. They provide IPv4 and IPv6 connectivity to business and residential customers. They provide a static IPv4 address and a static IPv6 router address, with a /48 prefix for the client's network.

DHCPv6 is used to IPv6 prefix delegation, but the IPv6 prefix must be released by the router before the prefix will be issued again to either the same router or to another router. If this doesn't happen, an error of NoPrefixAvail during DHCPv6 negotiation, and odhcpd will complain that there is a local route, but no prefix, so it doesn't issue IPv6addresses to LAN clients

So at least Enable “Release prefix on exit” and see if it helps. Not sure if it will release a prefix it hasn’t received lately. But worth a shot.
 
Last edited:
Ok I’ve enabled that and restarted the router. Still no LAN address/prefix populating.
If you kill odhcp6c again and reboot without any change, then you might want to contact the ISP and see if this claim is true that DHCPv6 Prefix Delegation won’t work if it was not previously released by the router.
 
From the gui set
Code:
Connection Type: Native IPv6
DHCP-PD: Enable
Accept Default Route: Disable
Release prefix on exit: Enable
WAN Prefix Length: 48

If that doesn't work try from SSH
Code:
killall odhcp6c
odhcp6c -v -df -R -s /tmp/dhcp6c -N none -c 0003000104d4c4bb3040 -P 48:b3040 -r23 -r24 ppp0

Have you ever tried changing the "Interface" type in the gui to something other than "PPP"? I don't expect it work, we have tried everything else, so why not. :rolleyes:
 
From the gui set
Code:
Connection Type: Native IPv6
DHCP-PD: Enable
Accept Default Route: Disable
Release prefix on exit: Enable
WAN Prefix Length: 48

If that doesn't work try from SSH
Code:
killall odhcp6c
odhcp6c -v -df -R -s /tmp/dhcp6c -N none -c 0003000104d4c4bb3040 -P 48:b3040 -r23 -r24 ppp0

Have you ever tried changing the "Interface" type in the gui to something other than "PPP"? I don't expect it work, we have tried everything else, so why not. :rolleyes:
On the WAN page?

My connection is a PPPoE connection so I don't think any other will work.
 
From the gui set
Code:
Connection Type: Native IPv6
DHCP-PD: Enable
Accept Default Route: Disable
Release prefix on exit: Enable
WAN Prefix Length: 48

If that doesn't work try from SSH
Code:
killall odhcp6c
odhcp6c -v -df -R -s /tmp/dhcp6c -N none -c 0003000104d4c4bb3040 -P 48:b3040 -r23 -r24 ppp0

Have you ever tried changing the "Interface" type in the gui to something other than "PPP"? I don't expect it work, we have tried everything else, so why not. :rolleyes:
No luck with anything there either.
 
This is an interesting wiki entry at OpenWrt (second paragraph):


So at least Enable “Release prefix on exit” and see if it helps. Not sure if it will release a prefix it hasn’t received lately. But worth a shot.

To add to this - when my service was first installed and activated they installed their own ISP provided router, which is a Technicolor DGA4134.

IPv6 was enabled and working on that router, however there’s no option on it to “release” the prefix back, other than turning IPv6 off/disabled.

I tried cloning the MAC address of that router to my ASUS in case that did anything, but no luck with that either

Do I maybe need to check if they can see if the addresses are still allocated to that router perhaps? And if they can release manually or reassign me a new allocation of addresses?
 
Do I maybe need to check if they can see if the addresses are still allocated to that router perhaps? And if they can release manually or reassign me a new allocation of addresses?
I think that’s the best course of action at this point.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top