IPv6無効化

 

(16)

ip a s

vim /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

sysctl -p
ip a s

reboot


ip a s

 

(18)
https://note.spage.jp/archives/413

ip a s

cat <<'EOF' | tee -a /etc/sysctl.d/70-disable-ipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOF

sysctl --system
ip a s

cat <<'EOF' | tee -a /etc/rc.local
#!/bin/bash
# /etc/rc.local

# Load kernel variables from /etc/sysctl.d
/etc/init.d/procps restart

exit 0
EOF

chmod 755 /etc/rc.local

reboot


ip a s

 

(9)


ip a s

cat <<'EOF' | tee -a /etc/sysctl.d/70-disable-ipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOF

sysctl --system
ip a s

cat <<'EOF' | tee -a /etc/rc.local
#!/bin/bash
# /etc/rc.local

# Load kernel variables from /etc/sysctl.d
/etc/init.d/procps restart

exit 0
EOF

chmod 755 /etc/rc.local

reboot


ip a s

 

(7)

ip a s

vim /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

sysctl -p
ip a s

reboot


ip a s

 

(2012R2)


NIC のプロパティのチェックボックス OFF