Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #316 > unrolled thread
| Started by | Mark Hobley <markhobley@yahoo.donottypethisbit.co> |
|---|---|
| First post | 2011-05-25 20:56 +0000 |
| Last post | 2011-05-26 21:03 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.os.linux.networking
Debian: How do I disable ipv6? Mark Hobley <markhobley@yahoo.donottypethisbit.co> - 2011-05-25 20:56 +0000
Re: Debian: How do I disable ipv6? Rick Jones <rick.jones2@hp.com> - 2011-05-25 20:03 +0000
Re: Debian: How do I disable ipv6? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2011-05-26 21:03 +0200
| From | Mark Hobley <markhobley@yahoo.donottypethisbit.co> |
|---|---|
| Date | 2011-05-25 20:56 +0000 |
| Subject | Debian: How do I disable ipv6? |
| Message-ID | <irjqdq$v1f$1@dont-email.me> |
How do I disable ipv6 in Debian?
I have blacklisted the ipv6 module, but Debian has this compiled this into
the monolithic core, rather than building it as a module.
I have also added a file into the sysctl.d directory as follows:
cat /etc/sysctl.d/disableipv6.conf
net.ipv6.conf.all.disable_ipv6=1
And I have rebooted the server, but ipv6 persists:
Resolving ftp.uk.debian.org... 83.142.228.128, 2001:470:1f08:80b::2
^
ipv6
netstat -a
tcp6 0 0 [::]:43801 [::]:* LISTEN
tcp6 0 0 [::]:46874 [::]:* LISTEN
tcp6 0 0 [::]:52607 [::]:* LISTEN
tcp6 0 0 [::]:nfs [::]:* LISTEN
tcp6 0 0 [::]:56389 [::]:* LISTEN
tcp6 0 0 [::]:44584 [::]:* LISTEN
tcp6 0 0 [::]:sunrpc [::]:* LISTEN
tcp6 0 0 [::]:www [::]:* LISTEN
^ ^ ^
More ipv6
I don't want any ipv6 on this leg of the network.
Mark.
--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/
[toc] | [next] | [standalone]
| From | Rick Jones <rick.jones2@hp.com> |
|---|---|
| Date | 2011-05-25 20:03 +0000 |
| Message-ID | <irjna6$45n$3@usenet01.boi.hp.com> |
| In reply to | #316 |
Mark Hobley <markhobley@yahoo.donottypethisbit.co> wrote:
> How do I disable ipv6 in Debian?
> I have blacklisted the ipv6 module, but Debian has this compiled
> this into the monolithic core, rather than building it as a module.
> I have also added a file into the sysctl.d directory as follows:
> cat /etc/sysctl.d/disableipv6.conf
> net.ipv6.conf.all.disable_ipv6=1
> And I have rebooted the server, but ipv6 persists:
> Resolving ftp.uk.debian.org... 83.142.228.128, 2001:470:1f08:80b::2
> ^
> ipv6
That may be a function of whether the application making the
getaddrinfo() call is or is not setting the AI_ADDRCONFIG flag. If it
does, then addresses of a given family will only be returned if there
is an interface (other than loopback) configured with an address from
that family. If that flag is not set, even a "pure" IPv4 system may
return an IPv6 address via getaddrinfo(), having been given it by the
DNS server - even though/if the DNS query was carried in an IPv4
datagram.
> netstat -a
> tcp6 0 0 [::]:43801 [::]:* LISTEN
> tcp6 0 0 [::]:46874 [::]:* LISTEN
> tcp6 0 0 [::]:52607 [::]:* LISTEN
> tcp6 0 0 [::]:nfs [::]:* LISTEN
> tcp6 0 0 [::]:56389 [::]:* LISTEN
> tcp6 0 0 [::]:44584 [::]:* LISTEN
> tcp6 0 0 [::]:sunrpc [::]:* LISTEN
> tcp6 0 0 [::]:www [::]:* LISTEN
> ^ ^ ^
> More ipv6
Well, more addresses being displayed using IPv6 style at least, and
indicating that their owning applications may have been ported to be
able to accept connections via IPv6.
> I don't want any ipv6 on this leg of the network.
Are there any interfaces on the system configured with an IPv6
address? If not, then apart from the AI_ADDRCONFIG question,
everything else is really (IIRC) just cosmetic.
rick jones
> Mark.
> --
> Mark Hobley
> Linux User: #370818 http://markhobley.yi.org/
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> |
|---|---|
| Date | 2011-05-26 21:03 +0200 |
| Message-ID | <irm85l$1n3e$1@saria.nerim.net> |
| In reply to | #316 |
Hello, Mark Hobley a écrit : > How do I disable ipv6 in Debian? > > I have blacklisted the ipv6 module, but Debian has this compiled this into > the monolithic core, rather than building it as a module. You can add ipv6.disable=1 to the kernel command line in the boot loader setup.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.networking
csiph-web