You are not logged in.
I've been trying to disable Ipv6 as per the instructions on the wiki using sysctl I've set the following in /etc/sysctl,d/99-sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.enp4s0.disable_ipv6 = 1
After rebooting I still have an ipv6 address.
output of ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether f0:2f:74:b2:74:8a brd ff:ff:ff:ff:ff:ff
inet 192.168.0.25/24 brd 192.168.0.255 scope global dynamic noprefixroute enp4s0
valid_lft 84689sec preferred_lft 84689sec
inet6 fd13:ed41:aeff:0:4ab9:1ee6:bc67:83a1/64 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 2a02:c7e:3300:7a00:afd9:8812:7aee:66a4/64 scope global dynamic noprefixroute
valid_lft 2609sec preferred_lft 2609sec
inet6 fe80::cc53:57de:c32a:748d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Offline
/etc/sysctl,d/99-sysctl.conf
sysctl net.ipv6.conf 2>/dev/null | grep disableAdding ipv6.disable=1 to the kernel line disables the whole IPv6 stack, which is likely what you want if you are experiencing issues
Last edited by seth (2023-05-05 08:15:02)
Offline