openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
162 stars 98 forks source link

how can odhcpd dynamic config the Unique local ipv6 addresses #72

Open ynonenull opened 8 years ago

ynonenull commented 8 years ago

My router has set up a 6in4 isatap tunnel to get a public ipv6 address. The hosts behind the router can visit internet by nat in ip6tables with static ULA ipv6 address.

I have found that radvd can dynamic config ipv6 address and advertise gateway for hosts. But radvd has been deprecated, and instead by odhcpd. Although I found some tech references in odhcpd in openwrt.org, I can't understand how to config it.

Can you help me ?

I want to config it like this:

br-lan interface in router: fc00: a: b: c::1, address pool: fc00: a: b: c::/64 gateway: fc00: a: b: c::1

Thank you!