Created
March 21, 2021 09:36
-
-
Save kwilczynski/0eaf0bcc7022fa2625c8cf3825085318 to your computer and use it in GitHub Desktop.
Disable dhclient listening on IPv6 on Debian or Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allow-hotplug eth0 | |
iface eth0 inet manual | |
up /sbin/dhclient -4 -v -i -pf /run/dhclient.${IFACE}.pid \ | |
-lf /var/lib/dhcp/dhclient.${IFACE}.leases \ | |
-I ${IFACE} | |
down /sbin/dhclient -4 -v -i -pf /run/dhclient.${IFACE}.pid \ | |
-lf /var/lib/dhcp/dhclient.${IFACE}.leases \ | |
-I ${IFACE} \ | |
-r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment