My vz.conf
http://fips.at/how-to-disable-ipv6-in-debian.html
Unsuccessfully...
The second attempt ...
Unsuccessfully...
and...
How to disable ipv6 in proxmox?
Code:
grep -i ipv6 /etc/vz/vz.conf
## Enable IPv6
IPV6="no"
## IPv6 ip6tables kernel modules
My /etc/modprobe.d/aliasesDisabling IPv6 in the kernel
First you'll need to edit a couple of configuration files. If »/etc/modprobe.d/aliases« is present, look for this line:
alias net-pf-10 ipv6
Change it to this (with that one extra line):
alias net-pf-10 off
alias ipv6 off
If »/etc/modutils/aliases« is present, look for this line, uncomment it and add that one extra line:
# alias net-pf-10 off
alias ipv6 off
Now, IPv6 has been disabled in the kernel. Execute the following command and reboot:
# update-modules
Code:
##disable ipv6
#alias net-pf-10 ipv6
alias net-pf-10 off
alias ivp6 off
##
Code:
ip a |grep inet6
inet6 ::1/128 scope host
inet6 fe80::215:60ff:feac:565a/64 scope link
inet6 fe80::215:60ff:feac:565a/64 scope link
inet6 fe80::215:60ff:feac:565a/64 scope link
inet6 fe80::215:60ff:feac:565a/64 scope link
inet6 fe80::215:60ff:feac:565a/64 scope link
inet6 fe80::215:60ff:feac:565a/64 scope link
Code:
echo "blacklist ipv6" >> /etc/modprobe.d/blacklist
reboot
and...
Code:
lsmod | grep ipv6
ipv6 342016 31 vzmon
modprobe --show-depends vzmon
insmod /lib/modules/2.6.24-2-pve/kernel/kernel/ve/vzdev.ko
insmod /lib/modules/2.6.24-2-pve/kernel/net/ipv6/ipv6.ko
insmod /lib/modules/2.6.24-2-pve/kernel/kernel/ve/vzmon.ko