ubuntu 7.10 Gutsy can not disable ipv6

ok
ubuntu 7.10 gutsy cannot disable ipv6
add this text to the end of /etc/modprobe.d/blacklist
install ipv6 /bin/true

then
reboot


normally disable ipv6 on linux
add this text to the end of /etc/modprobe.d/blacklist
blacklist ipv6

then
reboot

[b]but that code can not work with 7.10 gutsy version[/b]

oops
[b]how to check if the ipv6 is disable?[/b]
you can use following cmd:
ifconfig 
ip a | grep inet6
lsmod | grep ipv6

[b]for instance[/b]
before
lsmod | grep ipv6

will output
ipv6                  251393  335

after reboot server
lsmod | grep ipv6 will output nothing


[b]update[/b]
now i find why 'blacklist ipv6' cat not work on ubuntu 7.10 gutsy version

first of all i install shorewall with default installation
and shorewall default will need nf_conntrack_h323, nf_nat_h323 these two module in linux kernel which is used by ipv6

here is perfect solution for disable ipv6 on ubuntu 7.10 gutsy version
add "blacklist ipv6" to /etc/modprobe.d/blacklist
copy the file /usr/share/doc/shorewall/default-config/modules to /etc/shorewall, edit /etc/shorewall/modules file, comment nf_nat_h323 and nf_conntrack_h323 these two module, then reboot your server
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值