No, you misunderstood. I know that nptv6 is used for NAT work of ula and global IPv6 address prefixes, which may have nothing to do with DHCPv6 PD. But in fact, for a router that fully supports DHCPv6 Pd from ISP, I hope to complete the following functions:
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Apr 21 2020
In T421#60930, @CRCinAU wrote:Maybe I'm simplifying a bit too much - but shouldn't this just be a binary on / off and an optional preferred prefix delegation size (normally between a /56 and /64)?
It would make sense to offer this for any WAN connection type - I'm not sure there's a usage case for any other type...
In T421#60929, @tbr wrote:Well, I have been using EdgeMax routers for the past 7 years or so (from the day that the ER-3 Lite was released). I use dhcpv6-pd with them and I think the config is pretty solid. I would do it very similar, if not the same.
It is very close to what @gadams proposed (see above), where the dhcpv6-pd option is added under the interface that gets the delegated prefix. Then, that prefix can be advertised on other interfaces. Important is the possibility to subdivide an assigned prefix into various subnets on different interfaces (using the sla-id option). I think it makes sense to put the dhcpv6-pd under the interfaces, just like normal address assignment falls under an interface. Moreover, dhcpv6-pd and normal IPv6 address assignment can be combined (an IPv6 interface can get a prefix and an address at the same time).
For me personally, I was hoping to start using vyos for my routing/firewall. But without PD it is unusable for me. The alternatives (pfsense, untange, Mikrotik CHR) all have their limitations too. For vyos this feature would be a huge gain.
NPTv6 has nothing to do with PD. It's used to do NAT of IPv6 prefixes.
Can PD be used for nptv6?
I don't know, I just use wide-dhcpv6-client to get the prefix i get from my ISP routed to vyos.
In T421#60971, @danielpo wrote:I solved this myself by building my own vyos iso and just adding --custom-package "wide-dhcpv6-client". I configured wide-dhcpv6 myself.
It works fine for now.
Works for me ..
[ interfaces tunnel tun0 ] DEBUG/IFCONFIG cmd 'ip tunnel add tun0 mode gre local 127.0.0.1 remote 1.1.1.1 dev eth0 ttl 255 tos inherit'
I solved this myself by building my own vyos iso and just adding --custom-package "wide-dhcpv6-client". I configured wide-dhcpv6 myself.
It works fine for now.
Can you refer to some experience of other devices supporting DHCPv6 PD!
In T421#60928, @c-po wrote:Maybe the VyOS fans in China can come up with something, too?
Maybe I'm simplifying a bit too much - but shouldn't this just be a binary on / off and an optional preferred prefix delegation size (normally between a /56 and /64)?
Well, I have been using EdgeMax routers for the past 7 years or so (from the day that the ER-3 Lite was released). I use dhcpv6-pd with them and I think the config is pretty solid. I would do it very similar, if not the same.
Maybe the VyOS fans in China can come up with something, too?
come on. I believe you can do it. The vyos fans in China are looking forward to you!
One of the open question is how the CLI should be designed. None of us found a proper solution yet.
Next rolling will have the definitive fix :)
Keep in mind that this bug was originally filed on 2013-12-31 - so I certainly wouldn't hold your breath ;)
Thank you very much! I hope to get the restored rolling image tomorrow or in the next few days. If it is repaired, can you reply me through this list?
I also want to ask, I expect it to get full support. I think the reason why the official may add features in vyos1.3 is that it is in the need triage category of vyos1.3, and it is not removed or marked as invalid, but just closed. Of course, I'm not official, but I want full support!
My fix for that was merged 7 hours ago so your 202004210117 image doesn't contain it. https://github.com/vyos/vyos-1x/commit/c7d8e39be10a59d64be643cade2213c97f1e3639
Execute sudo systemctl status isc-dhcp-server6 output:
So, what is the status of this ticket? It seems the fundamentals are available to make DHCPv6 PD work, but is someone working on this to add it to vyos?
This is due to the bridge missing a link-local address. The bridge members also don't need link-local addresses (currently they have them) and IPv6 can be disabled entirely on them.
When the GNS emulator is running, new errors are found. For details:
That fixed it for me. Thanks!
Just tested this using 1.3-rolling-202004201924 and it still happens, so that doesn't appear to have worked.
Apr 20 2020
This is a pretty serious bug. Is there any progress?
@c-po can you please test if this now works, if so the task can be closed. My testing showed that it does.
Yeah, I missed that one. Thanks for fixing it c-po.
Weird - does not happen on my PPPoE test server. Please update us if you find the root cause on this odd behavior with your ISP. Closing this.
show dhcp server leases now works, but I've found show dhcp server statistics is broken as well:
vyos@cr01b-vyos:~$ show dhcp server statistics
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/show_dhcp.py", line 243, in <module>
leases = len(get_leases(lease_file, state='active', pool=p))
TypeError: get_leases() missing 1 required positional argument: 'leases'PR https://github.com/vyos/vyatta-cfg-system/pull/123
@Viacheslav can you double-check this package with most popular interfaces in the bridge?
Tested latest rolling, hw-id works as expected again (albeit sometimes buggy, but that's nothing new).
If I execute the above command, it seems that IPv6 settings can't really take effect, and the PPPoE link will be broken every ten seconds. Of course, if I restart vyos, it will return to normal and obtain IPv6 normally! Of course, this is just a problem when I execute these commands in my situation. It doesn't mean that it's the only condition to reproduce this bug!