-
Notifications
You must be signed in to change notification settings - Fork 121
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
Static IPv4 and IPv6 in a DHCPv4 and DHCPv6 environment #434
Comments
So when dhcpcd applies any config regardless of source, it won't remove or change any existing config unless it needs to - you need to do that by hand or more easily reboot. Your config looks fine. If you're still getting DHCP of any kind it's not from dhcpcd or it's from another interface. If you think overwise, please supply some debug logs to show this. |
Thanks but it after viewing the logs I noticed dhcp.conf is not the one requesting another ip address it probably another service that causes that thanks for the confirmation of my configuration |
You might wanna check whether Alternately, for IPv6, the kernel does RS on its own, unless explicitly told not to. |
quick question what is the line i should add to to let me add a ipv6 dns server? I want to it to append it to resolv.conf |
If you want to append this, you need to create
|
In other word is there no way to add ipv6 dns by using dhcpcd |
With dhcpcd and the power of shell scripting you can do pretty much anything. I commented how to do this here. |
So after putting this configuration the DHCPv4 and DHCPv6 addresses were still getting lease and configured on my device despite me not wanting DHCPv4 and DHCPv6 addresses. All this configuration did was added a the static IPv4 and IPv6 addresses on top of the DHCPv4 and v6 addresses. All i want is static IPv4 and static IPv6. Is there a way to fully stop DHCPv4 and DHCPv6 addresses?
Versions:
Device: Raspi (Bullseye)
OS: Debain GNU/Linux 11
dhcp: 8.1.2
The text was updated successfully, but these errors were encountered: