Bluehost.com Web Hosting $6.95

Turn off IPv6, HOW?

This is a discussion on Turn off IPv6, HOW? within the Linux Networking forums, part of the Linux Forums category; How do I turn off IPv6 on this Linux workstation? -- Regards, Peter. http://www.pelicom.net.nz...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2006
Peter Lowrie
 
Posts: n/a
Default Turn off IPv6, HOW?

How do I turn off IPv6 on this Linux workstation?
--
Regards,
Peter.
http://www.pelicom.net.nz
Reply With Quote
  #2 (permalink)  
Old 01-21-2006
Dan C
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

On Sat, 21 Jan 2006 23:38:30 +1300, Peter Lowrie wrote:

> How do I turn off IPv6 on this Linux workstation?


Add the following line to /etc/modprobe.conf
alias net-pf-10 off

--
If you're not on the edge, you're taking up too much space.
Linux Registered User #327951

Reply With Quote
  #3 (permalink)  
Old 01-22-2006
Christoph Scheurer
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

Am Samstag, den 21.01.2006, 23:38 +1300 schrieb Peter Lowrie:
> How do I turn off IPv6 on this Linux workstation?


In /etc/modules.conf (depends on your Distro) add
alias net-pf-10 off

greets
Chris


Reply With Quote
  #4 (permalink)  
Old 01-22-2006
Bit Twister
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

On Sun, 22 Jan 2006 00:45:40 +0100, Christoph Scheurer wrote:
> Am Samstag, den 21.01.2006, 23:38 +1300 schrieb Peter Lowrie:
>> How do I turn off IPv6 on this Linux workstation?

>
> In /etc/modules.conf (depends on your Distro) add


and release level, a few releases back and you are correct.
Newest release it can be /etc/modprobe.conf
Reply With Quote
  #5 (permalink)  
Old 01-22-2006
Timothy Murphy
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

Dan C wrote:

> On Sat, 21 Jan 2006 23:38:30 +1300, Peter Lowrie wrote:
>
>> How do I turn off IPv6 on this Linux workstation?

>
> Add the following line to /etc/modprobe.conf
> alias net-pf-10 off


I always add the line
IPV6INIT=no
to /etc/sysconfig/network-scripts/ifcfg-eth0
[or eth<X>].

Is that sufficient?

Incidentally, isn't it crazy that one has to write
gibberish like "alias net-pf-10 off" ?
What on earth does this mean?

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Reply With Quote
  #6 (permalink)  
Old 01-22-2006
Dan C
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

On Sun, 22 Jan 2006 17:47:28 +0000, Timothy Murphy wrote:

> I always add the line
> IPV6INIT=no
> to /etc/sysconfig/network-scripts/ifcfg-eth0
> [or eth<X>].
>
> Is that sufficient?


Don't know. That directory doesn't even exist on my (Slackware) system.

> Incidentally, isn't it crazy that one has to write
> gibberish like "alias net-pf-10 off" ?
> What on earth does this mean?


Can't recall off the top of my head, but there is a list of a bunch of
these standardized items... Google would find it if you cared.

--
If you're not on the edge, you're taking up too much space.
Linux Registered User #327951

Reply With Quote
  #7 (permalink)  
Old 01-22-2006
Rick Moen
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

Timothy Murphy <tim@birdsnest.maths.tcd.ie> wrote:

[disabling ipv6:]

> I always add the line
> IPV6INIT=no
> to /etc/sysconfig/network-scripts/ifcfg-eth0
> [or eth<X>].
>
> Is that sufficient?


If your system is encumbered by the hideous mess of dereferenceable
environment variables that is a Red Hat-style /etc/sysconfig/ tree, yes,
that is indeed one different way to accomplish the same thing. Unlike
the other answer cited, it doesn't apply to Linux generally.

> Incidentally, isn't it crazy that one has to write
> gibberish like "alias net-pf-10 off" ?
> What on earth does this mean?


It means don't load the net-pf-10 kernel module, which handles ipv6.

Reply With Quote
  #8 (permalink)  
Old 01-22-2006
Michael Heiming
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

In comp.os.linux.networking Timothy Murphy <tim@birdsnest.maths.tcd.ie>:
> Dan C wrote:


>> On Sat, 21 Jan 2006 23:38:30 +1300, Peter Lowrie wrote:
>>
>>> How do I turn off IPv6 on this Linux workstation?

>>
>> Add the following line to /etc/modprobe.conf
>> alias net-pf-10 off


> I always add the line
> IPV6INIT=no
> to /etc/sysconfig/network-scripts/ifcfg-eth0
> [or eth<X>].


> Is that sufficient?


If you are on redhat or alike, it doesn't look that bad.

> Incidentally, isn't it crazy that one has to write
> gibberish like "alias net-pf-10 off" ?
> What on earth does this mean?


Don't even attempt to load the ipv6 (net-pf-10) module.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 197: I'm sorry a pentium won't do, you need an
SGI to connect with us.
Reply With Quote
  #9 (permalink)  
Old 01-22-2006
Timothy Murphy
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

Michael Heiming wrote:

>> Incidentally, isn't it crazy that one has to write
>> gibberish like "alias net-pf-10 off" ?
>> What on earth does this mean?

>
> Don't even attempt to load the ipv6 (net-pf-10) module.


If net-pf-10 means "ipv6" why not call it "ipv6".
Or would that make it too easy for Linux users?
Sigh ...


--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Reply With Quote
  #10 (permalink)  
Old 01-23-2006
Michael Heiming
 
Posts: n/a
Default Re: Turn off IPv6, HOW?

In comp.os.linux.networking Timothy Murphy <tim@birdsnest.maths.tcd.ie>:
> Michael Heiming wrote:


>>> Incidentally, isn't it crazy that one has to write
>>> gibberish like "alias net-pf-10 off" ?
>>> What on earth does this mean?

>>
>> Don't even attempt to load the ipv6 (net-pf-10) module.


> If net-pf-10 means "ipv6" why not call it "ipv6".
> Or would that make it too easy for Linux users?


Flexibility might be a reason for the module alias system, so you
can load another module, your own or whatever for some subsystem
if you want? Looks pretty clever to me, "alias ipv6 ipv6" would
look curious and you couldn't tell what the alias name and what
the module name on the first view.

There are a couple of net-pf-[nn] aliases. Unsure why you seem to
dislike the flexibility of the Linux kernel?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 385: Dyslexics retyping hosts file on servers
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0