-
Notifications
You must be signed in to change notification settings - Fork 130
Running dhcpcd in manager mode with dual stack. #478
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
Comments
So you've got it solved really. If you don't specify a family then dhcpcd expects to have both v4 and v6 in one process. |
No it just doesn't work properly. I even tried with running 2 managers one for V4 and one For V6 via bindmounts and separate run directories. |
OK, you're right, this doesn't work well because dhcpcd overlays the command on the whole state.
So releasing a specific family works fine. Does this make sense and can it work for you? |
Yeah that looks fine. But each time rebinding with -n will send DHCP request again right? In this case will it delete and readd the ip? |
Uh oh!
There was an error while loading. Please reload this page.
Usecase:
Run dhcpcd in manager mode in dual stack. Runtime change to V4 only, V6 only or both.
This seems to be not working.
Ran dhcpcd in manager mode with denyinterface - which is fine. It is starting manager in V4,V6 mode without any interface.
Enable V4 - dhcpcd -4 eth0 - this is also fine.
Now I want to add V6 also. So doing dhcpcd eth0. not enabling both V4 and V6.
Now I restart manger and then dhcpcd eth0 is starting both.
Now I can't make it to do only V4. if I do dhcpcd -4 --rebind eth0 now its not removing V6 dhcp ip from the lease and interface.
And also "-k" option always release both V4 and V6 ip. How to release only one?
Is running "no dhcp", "dhcp" with various combination for V4, V6 at runtime supported?
The text was updated successfully, but these errors were encountered: