Benutzer-Werkzeuge

Webseiten-Werkzeuge


knowledge_base:linux:ipconfig:kernel

Network Kernel Settings

Forwarding

/etc/sysctl.conf
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1

To use dynamic ip configuration instead of static in ipv6 with fowarding on:

/etc/sysctl.conf
net.ipv6.conf.all.accept_ra = 2

Disable IPv6 completely

/etc/sysctl.conf
net.ipv6.conf.eth0.disable_ipv6 = 1 #replace eth0 with desired interface or all

IPv6: EUI-64

/etc/sysctl.conf
net.ipv6.conf.default.addr_gen_mode = 0
net.ipv6.conf.eth0.addr_gen_mode = 0
/app/www/public/data/pages/knowledge_base/linux/ipconfig/kernel.txt · Zuletzt geändert: 2025/02/19 14:45 von julian.lemmerich