RedHat/Centos Disable IPv6 Networking


 
Thread Tools Search this Thread
Special Forums IP Networking RedHat/Centos Disable IPv6 Networking
# 1  
Old 05-01-2012
RedHat/Centos Disable IPv6 Networking

Guide on how to disable ipv6 for Centos and RedHat



1) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change:

NETWORKING_IPV6=yes to NETWORKING_IPV6=no


2) Edit /etc/modprobe.conf and add these lines:

Code:
alias net-pf-10 off
alias ipv6 off

3) Stop the ipv6tables service:

service ip6tables stop

4) Disable the ipv6tables service:

chkconfig ip6tables off

Finally, reboot of your system.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. IP Networking

Centos/Redhat 7 - Team or Bond

Hello my dears, I preparing system running linux. I found that team is advantage than bond with the option "load-balancing for LACP support" and some minor advantages. 8.3. Comparison of Network Teaming to Bonding - Red Hat Customer Portal. But what exactly meaning of this option I don't... (1 Reply)
Discussion started by: tien86
1 Replies

2. Red Hat

How can i configure ipv6 on centos?

HI Forum, i was trying to configure ipv6 on my centos box with 2 physical interface bonded as bond0. what all things need to change? Regards, Ben (0 Replies)
Discussion started by: bentech4u
0 Replies

3. Red Hat

Help with setting up Networking for XEN on CentOS 5.9

Hey guys, I've reached the point of setting up VM's on XEN but the net installations seem to be failing when I am in the netinstall on the actual VM, so this leads me to believe that the networking on the host machine is not set up correctly. I am running CentOS 5.9 along with XEN and was just... (0 Replies)
Discussion started by: mccabec123
0 Replies

4. Solaris

Solaris 11 disable IPv6

I've new installed Solaris 11 on Sparc T4-1. I'd like to disable IPv6 but with no luck. lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 net0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2 inet... (6 Replies)
Discussion started by: samer.odeh
6 Replies

5. UNIX and Linux Applications

Konqueror disable IPv6

Does anyone know how to disable IPv6 in Konqueror in Fedora? (5 Replies)
Discussion started by: cokedude
5 Replies

6. Red Hat

IPv4 and IPv6 Related Question to CentOS VMs

Hello, I was wondering if it would be possible to run two VMs one with services for IPv4 and the other one with services for IPv6. The main physical system would be connected to a IPv6 switch. I think it should be fine but I would like to hear out your comments. (1 Reply)
Discussion started by: svalenciatech
1 Replies

7. UNIX for Dummies Questions & Answers

problem of networking in centos

Hello, I am using dual boot of linux, one is ubuntu and the other is one is centos. I have three NIC's and only one of them connected with cable. The thing is that when I boot from the ubuntu, it does recognize it and I am connected to the Internet. When I boot from the centos I am not... (6 Replies)
Discussion started by: programAngel
6 Replies

8. Linux

HOW TO DISABLE SIT0 in REDHAT LINUX 5.1

Hi All, I want to configure static IP4 address in my Linux system. I just found sit0 is enabled in my system. ifconfig -a returns sit0 Link encap:IPv6-in-IPv4, but there is no eth0. I tried with $ system-config-network & and changed static IP Add: 192.168.1.10 but no result after... (2 Replies)
Discussion started by: gohappy
2 Replies
Login or Register to Ask a Question
IFCFG-BONDING(5)					       Network configuration						  IFCFG-BONDING(5)

NAME
ifcfg-bonding - interface bonding configuration SYNOPSIS
/etc/sysconfig/network/ifcfg-bond* Bonding Interfaces To setup a bonding interface you need a configuration file ifcfg-bond<X> with the usual network settings. But you must add additional vari- ables BONDING_MASTER must be set to 'yes' to identify this interface as a bonding interface BONDING_SLAVE_<X> here you specify the interface name representing the slave network interfaces. BONDING_MODULE_OPTS contains bonding options. Here you can set interface timeouts or working modes ('mode=active-backup' for backup mode). For addi- tional information take a look into the documentation mentioned at the bottom. Note, that this options are not passed as parameters to the bonding kernel module any more, but set via sysfs interface. This variable will be renamed in the feature. BONDING_SKIP_REMOVE_WORKAROUND When set to "yes", a bonding interface will be not removed while ifdown any more to avoid problems, e.g. when some third party ker- nel module, such as Veritas 'llt' module, does not react correctly to the UNREGISTER event and does not remove its references to the bonding interface causing all network related operation to stuck. Note: the bonding options are not reverted when this option is enabled and it is required to either explicitly keep the old options and set them to their default setting on bonding configuration changes or to reboot. Example Example for a bonding interface on eth0 and eth1 using the backup mode ifcfg-bond0 STARTMODE='onboot' BOOTPROTO='static' IPADDR='192.168.0.1/24' BONDING_MASTER='yes' BONDING_SLAVE_0='eth0' BONDING_SLAVE_1='eth1' BONDING_MODULE_OPTS='mode=active-backup miimon=100' Additional Information For additional and more general information take a look into /usr/src/linux/Documentation/networking/bonding.txt. Maybe you need to install the kernel sources to get this additional documentation. The configuration of routes for this kind of interface does not differ from ordinary interfaces. See man routes for details. BUGS
Please report bugs at <http://www.suse.de/feedback> AUTHOR
Christian Zoz <zoz@suse.de> -- ifup script Wilken Gottwalt <wgottwalt@suse.de> -- ifcfg-bonding manual page SEE ALSO
ifcfg(5), ifup(8). sysconfig April 2005 IFCFG-BONDING(5)