Showing posts with label IPv6. Show all posts
Showing posts with label IPv6. Show all posts

How to disable ipv6 in ubuntu linux

FREQUENTLY ASKED QUESTIONS (Ubuntu)
Q: How to disable IPv6 in ubuntu linux?

Disable IPv6 if you do not use in your network.
Edit the sysctl configuration file in /etc/ directory 



user@ubuntu:~$ sudo vi /etc/sysctl.conf
#Add the below line to bottom of the "sysctl.conf" file
net.ipv6.conf.all.disable_ipv6=1
#(save the file)
click to enlarge (disable ipv6 in ubuntu)
And now reboot your ubuntu machine
user@ubuntu:~$ sudo reboot


Verify the IPv6 is disabled
user@ubuntu:~$ ifconfig                 (verify ipv6 address is not showing)





Disable IPv6 in Linux RPM distributions

FREQUENTLY ASKED QUESTIONS  (Linux)
Q: How to disable IPv6 module in Linux? (Fedora,CentOS,Redhat)


Disable IPv6 networking if not using. Add a new configuration file in "/etc/modprobe.d/"
[root@server ~#]vi /etc/modprobe.d/ipv6.conf
install ipv6 /bin/true
# (add the above line and save the file)

Remove ipv6tables from startup
[root@server ~#]service ipv6tables stop
[root@server ~#]chkconfig ipv6tables off

Reboot the machine to take effect.
[root@server ~#]reboot

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons