Skip to content

Confusion on release/not release on exit (doc issue?)Β #569

@cross

Description

@cross

I'm running dhcpcd in place of dhclient in FreeBSD 14.3 for DHCPv4, and DHCPv6 for which I'm getting an IA_PD allocation. I want to configure dhcpcd to not release its IPv6 network allocation when it shuts down. But, I am having trouble telling how to do that in the config.

The release config option is documented: dhcpcd will release the lease prior to stopping the interface.
so, exactly the opposite. But, the man page doesn't indicate if that is the default behavior, and it doesn't suggest a way to counter it. ("norelease")
persistent is documented:

dhcpcd normally de-configures the interface and configuration
when it exits.  Sometimes, this isn't desirable if, for example,
you have root mounted over NFS or SSH clients connect to this
host and they need to be notified of the host shutting down.  You
can use this option to stop this from happening.

This clearly does what I want, but it's not clear (to me) from the above what else is part of "de-configuring the interface and configuration." I only really want to avoid the release being sent.

Again, this is likely a doc issue (or user issue), but I am curious that there isn't a norelease option, as there are "no" variants of many other things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions