www.centos.org Forum Index CentOS 5 - Networking Support How to disable ipv6?
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 4 Votes |
|---|
|
Re: How to disable ipv6? | #2 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/11/29
From Indiana
Posts: 2283
|
The /etc/modprobe.conf file is the first step, you do not need the 'alias ipv6 off' line however, but it does not hurt.
You also need to edit some other files, the first is /etc/sysconfig/network and the others are for example the /etc/sysconfig/network-scripts/ifcfg-eth0 file and others like maybe ifcfg-wlan0 for example. $ cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no NOZEROCONF=yes HOSTNAME=Aspire5100 $ cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. TYPE=Ethernet DEVICE=eth0 BOOTPROTO=dhcp USERCTL=yes IPV6INIT=no PEERDNS=yes ONBOOT=no $ cat /etc/sysconfig/network-scripts/ifcfg-wlan0 # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. TYPE=Wireless DEVICE=wlan0 HWADDR= BOOTPROTO=dhcp IPADDR= NETMASK= GATEWAY= DOMAIN= ONBOOT=yes ONHOTPLUG=yes USERCTL=yes IPV6INIT=no PEERDNS=no Also check the /etc/hosts file is configured for IPv4 and not IPv6 only, a sample follows; $ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 Aspire5100 localhost.localdomain localhost |
||
|
_________________
CentOS: The Sysadmins choice Congratulations NedSlider |
|||
Posted on: 2007/5/1 23:53
|
|||
|
Re: How to disable ipv6? | #3 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2006/5/29
From San Francisco, CA
Posts: 1483
|
Great stuff, Lenard!
But they sure have made it a PITA to turn off a feature that almost nobody needs (yet). I think it would make a lot more sense to have the default be "IPV6 disabled". |
||
Posted on: 2007/5/2 0:13
|
|||
|
Re: How to disable ipv6? | #4 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/11/29
From Indiana
Posts: 2283
|
Your welcome, but you have to remember the USA is being so very, very, very slow in adopting IPv6 while the rest of the world is doing so much (and have done so in many places) more quickly. It is a matter of $$$$ and the US ISP infrastructure is cheap and lazy on adding support when it affects the bottom line.
|
||
|
_________________
CentOS: The Sysadmins choice Congratulations NedSlider |
|||
Posted on: 2007/5/2 2:29
|
|||
|
Re: How to disable ipv6? | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/6/6
From Houston, Texas
Posts: 5
|
Thank you,
Wasn't sure how to do this it helped a bunch. Have a great day. ![]() |
||
Posted on: 2007/5/29 14:17
|
|||
|
Re: How to disable ipv6? | #6 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/11/29
From Indiana
Posts: 2283
|
Your welcome to houstonpcguy, glad to help.
|
||
|
_________________
CentOS: The Sysadmins choice Congratulations NedSlider |
|||
Posted on: 2007/5/29 16:17
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
4 Votes
bsder





You cannot start a new topic.
You can view topic.