Skip to content
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

RA only? #64

Open
traud opened this issue Apr 30, 2021 · 2 comments
Open

RA only? #64

traud opened this issue Apr 30, 2021 · 2 comments

Comments

@traud
Copy link

traud commented Apr 30, 2021

The readme claims a mode which relies just on IPv6 Router Advertisements (RA). I am not able to find that mode. However, I need that because I am using my OpenWrt device not as router but as simple Wi-Fi access point. And my upstream router has no DHCPv6 server, even not a stateless one. I know, this tool is called from its shell script /package/network/ipv6/odhcp6c/files/dhcpv6.sh normally. And that script is started with options from /etc/config/network. Anyway, three teared down examples called directly from the command line, to eased debugging with Wireshark:

odhcp6c br-lan

creates continuously a DHCPv6 solicit,
because the state is is DHCPV6_UNKNOWN (-N is try).

odhcp6c -N none br-lan

creates continuously a DHCPv6 information-request,
because the state is DHCPV6_STATELESS.

odhcp6c -N none -P 64 br-lan

creates continuously a DHCPv6 solicit,
because the state is DHCPV6_UNKNOWN.

I went through the blame history and it looks like this never worked. Yes, IPv6 still works. However, I do not like to pollute my network with DHCPv6 messages; especially because in the RA, the m(anaged) and o(ther) bits are off.

@traud
Copy link
Author

traud commented May 25, 2021

Any comment, at least a confirmation? Then, I could start a Pull Request (which first changes the Read Me).

@dedeckeh
Copy link
Contributor

dedeckeh commented May 30, 2021

A RA mode only, in the sense of only listening to RAs and not sending DHCPv6 messages, has never been supported. Internally there's a mechanism (controllable via the -F and -S options) which allows the ra-updated event to be raised without the DHCPv6 client being in bound mode; this is meant as the RA-only mode in the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants