-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto assign for more than /64 prefix, subnet for /112 #164
Comments
odhcpd does not support a prefix > 64. Is your /64 from isp IPv6-PD or SLAAC-ed address? If it's IPv6-PD, then is ok for odhcpd to function for just one subnet. Or if it's address via SLAAC, you may need relay mode (see here for detail). |
dhcp dp is easy, the br-lan will got it automatically, and the system will add route to the pd-prefix. and I tried different school lan, most is lan-like,
3.the worst give me a /128 ipv6(802.1x, definitely dhcpv6), in this one, must we use NAT like ipv4? I think so. so every professor, could you help to analyze this 3-situation? thanks. |
It's ok in theory, but odhcpd doesn't support it, though. You may try wide-dhcpv6.
FYI, relay mode may not work in some misconfigured environment. E.g. the upstream won't send NS to WAN before delivering the packet, in which case relay mode won't function (this article might be helpful in such case).
Yes, relay mode does this automatically. You may check src/ndp.c for implementation detail.
If the relay mode works for you, then you can setup the cascade routes all in relay mode in theory.
Yes, you're right. |
Thanks very much!!! before I only noticed on luci interface, now I can edit configure file to get more function than luci interface. 2.does the odhcpd contain the function of ndppd/dnp6 and radvd, and specifically for openwrt(It seems that the repo of openwrt has ndppd/dnp6 and radvd)? in linux pc with muli-ethercard, can we only used ndppd/dnp6 and radvd which no maintance for a long time? |
opkg seems to have wide-dhcpv6-server removed... but there is an isc-dhcp-server-ipv6 instead. Yes it will be conflict with odhcpd, so you may disable one of them.
You can write custom scripts to achieve this. Both
What is dnp6 BTW? radvd is deprecated in openwrt by odhcpd which contains the main functions of ndppd, radvd and dhcpv6d.
Sure, here's a link that might be helpful. |
great! thanks for give me a way of thought. any way, I try isc-dhcp-server-ipv6 first. odhcpd also incharge of ipv4's assign, and isc*-v4 and isc*-v6 nearly 4MB! |
sorry typo |
dear friend, if I hope to auto sign /112,etc with kea dhcpv6(wide is unavailable in repository), does it cooperate with odhcpd? I need ra and ndp proxy function. |
Sorry, I'm not familiar with the kea dhcpv6... |
kea is the isc dhcpv6 before. |
can odhcpd can assign a /112 ipv6 for clients? I get /64 from isp, so I can only divided /64 to subnets. therefore slaac is missing.what I hope is to use dhcpv6 to assign ipv6 automaticly. how to do it? is it feasible?(I noticed it can only assign /64 ipv6, or something I have wrong?)
The text was updated successfully, but these errors were encountered: