Still nothingOn 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
Results from running that command - IP REMOVED is the WAN IPv6 addressAfter you run the odhcp6c command, run:
Bash:cat /tmp/wan*bound6.env
So there is no prefix delegation being received from the ISP yet. Hmm.PREFIXES=
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.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.
do I need to run the kill command first as well?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.
Yes. I might try:do I need to run the kill command first as well?
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
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
Ok I’ve enabled that and restarted the router. Still no LAN address/prefix populating.This is an interesting wiki entry at OpenWrt (second paragraph):
[OpenWrt Wiki] ISP Configurations
openwrt.org
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.
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.Ok I’ve enabled that and restarted the router. Still no LAN address/prefix populating.
Connection Type: Native IPv6
DHCP-PD: Enable
Accept Default Route: Disable
Release prefix on exit: Enable
WAN Prefix Length: 48
killall odhcp6c
odhcp6c -v -df -R -s /tmp/dhcp6c -N none -c 0003000104d4c4bb3040 -P 48:b3040 -r23 -r24 ppp0
On the WAN page?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 SSHCode: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.
No luck with anything there either.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 SSHCode: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.
This is an interesting wiki entry at OpenWrt (second paragraph):
[OpenWrt Wiki] ISP Configurations
openwrt.org
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.
I think that’s the best course of action at this point.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?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!