Страница 1 из 1

Disable ipv4 with /etc/sysctl.conf

Добавлено: 21 июн 2026, 10:09
ya
/etc/sysctl.conf

Код: Выделить всё

net.ipv4.conf.all.disable_ipv4 = 1
net.ipv4.conf.default.disable_ipv4 = 1

Код: Выделить всё

ip -4 addr show eth0
ip addr del 128.199.175.162/18 dev eth0

Код: Выделить всё

sysctl -p

Re: Disable ipv4 with /etc/sysctl.conf

Добавлено: 21 июн 2026, 10:19
ya
/etc/sysctl.d/99-disable-ipv4.conf

Код: Выделить всё

net.ipv4.conf.all.disable_ipv4 = 1
net.ipv4.conf.default.disable_ipv4 = 1
net.ipv4.conf.lo.disable_ipv4 = 0