How To Disable Dhcpv6-client On CentOS 8

Home » CentOS » How To Disable Dhcpv6-client On CentOS 8
CentOS 2 Comments

Machine is an internal server with zero need to provide or receive ip addresses using dhcp (all IPs are hard coded).

Question: how do I disable dhcpv6-client on this box?

[user@boxname user]# firewall-cmd –list-all public (active)
target: default
icmp-block-inversion: no
interfaces: enp2s0
sources:
services: cockpit dhcpv6-client http https ssh
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:

Thanks,

Jay

2 thoughts on - How To Disable Dhcpv6-client On CentOS 8

  • Am 06.06.20 um 14:55 schrieb Jay Hart:

    This output does not correlate with your question.

    If your NetworkManager.service is configured to use a static configuration, then dhcp is not in use.

    If you want that your firewall configuration reflects your service configuration, then

    firewall-cmd –permanent –remove-service=dhcpv6-client