Fedora Linux Support Community & Resources Center
  #1  
Old 10th March 2012, 02:15 PM
myset Offline
Registered User
 
Join Date: Jan 2010
Location: romania
Posts: 5
linuxfirefox
Question Fedora 16 disable IPV6

Hi all,

I've tried to disable ipv6 accordingly with the following work:
uname -a
Linux monsterm 3.1.0-7.fc16.i686.PAE #1 SMP Tue Nov 1 20:53:45 UTC 2011 i686 i686 i386 GNU/Linux

- I've added a file /etc/modprobe.d/disable-ipv6.conf with
#
# Disable ipv6
#
options ipv6 disable = 1
alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off
install ipv6 /bin/true
install ip6table_filter /bin/true
install ip6_tables /bin/true
blacklist ipv6
blacklist ip6table_filter
blacklist ip6_tables


- And the then
chmod -x /etc/sysconfig/network-scripts/init.ipv6-global


- And then i've edited /etc/sysctl.conf the following
....
# Disable ipv6
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1


>sysctl -a | grep 'ipv6.*disable'

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.wlan0.disable_ipv6 = 1
net.ipv6.conf.p3p1.disable_ipv6 = 1




I've rebooted laptop

and

no kernel ipv6modules or ip6tables ....

netstat -tnapu still show
....
tcp 0 0 :::47918 :::* LISTEN
tcp 0 0 :::111 :::* LISTEN
tcp 0 0 :::631 :::* LISTEN
udp 0 0 :::807 :::*
udp 0 0 :::323 :::*
udp 0 0 :::19316 :::*
udp 0 0 :::43579 :::*
udp 0 0 :::111 :::*
udp 0 0 :::123 :::*
....


Any help is appreciated ..


Cheers
Reply With Quote
  #2  
Old 10th March 2012, 04:51 PM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,685
linuxfedorafirefox
Re: Fedora 16 disable IPV6

Do any ipv6 services show up when you run "systemd-analyze blame"? If so then stop and disable them.
__________________
OS: Fedora 20 x86_64 | Machine: HP Pavilion a6130n | CPU: AMD 64 X2 Dual-Core 5000+ 2.6GHz | RAM: 5GB PC5300 DDR2 | Disk: 400GB SATA | Video: ATI Radeon HD 4350 512MB | Sound: Realtek ALC888S | Ethernet: Realtek RTL8201N
Reply With Quote
  #3  
Old 10th March 2012, 06:28 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,917
linuxfirefox
Re: Fedora 16 disable IPV6

net-pf-10 hasn't existed as separate modules since dinosaurs roamed the earth. Most of your modules configs are totally useless.

This is the only thing you need .....
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1


You shouldn't care much if ip6_tables or netfilter is setup - since that portion of the stack is disabled.
Similarly you shouldn't really care if some app opens an IPv6 socket - since it's going nowhere.


It is annoying that the default ipv6 addresses still appear on the interfaces - but you can eliminate it with ....
ip addr del ::1/128 dev lo
ip addr del fe80::218:f3ff:fe78:b643/64 dev p37p1
of course tailored to your system.


The Fedora kernel has some ipv6 internal support built-in (not loadable modules). If having the ipv6 stack framework in place really puts a twist in your knickers- you'll need to build your own kernel. It MAY break some service apps - I dunno about that.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 10th March 2012 at 06:31 PM.
Reply With Quote
  #4  
Old 10th March 2012, 07:34 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,062
linuxfirefox
Re: Fedora 16 disable IPV6

So is it sufficient yet to just run system-config-network tool and uncheck the "Enable IPv6 configuration for this interface" box?

Or does that not get rid of the modules?
Reply With Quote
  #5  
Old 10th March 2012, 09:16 PM
myset Offline
Registered User
 
Join Date: Jan 2010
Location: romania
Posts: 5
linuxfirefox
Re: Fedora 16 disable IPV6

Quote:
Originally Posted by stevea View Post
net-pf-10 hasn't existed as separate modules since dinosaurs roamed the earth. Most of your modules configs are totally useless.

This is the only thing you need .....
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1


You shouldn't care much if ip6_tables or netfilter is setup - since that portion of the stack is disabled.
Similarly you shouldn't really care if some app opens an IPv6 socket - since it's going nowhere.


It is annoying that the default ipv6 addresses still appear on the interfaces - but you can eliminate it with ....
ip addr del ::1/128 dev lo
ip addr del fe80::218:f3ff:fe78:b643/64 dev p37p1
of course tailored to your system.


The Fedora kernel has some ipv6 internal support built-in (not loadable modules). If having the ipv6 stack framework in place really puts a twist in your knickers- you'll need to build your own kernel. It MAY break some service apps - I dunno about that.
Thank you for your answer,
I like the part with dinosaurs ...
....
The part with
[QUOTE]...
The Fedora kernel has some ipv6 internal support built-in (not loadable modules). If having the ipv6 stack framework in place really puts a twist in your knickers- you'll need to build your own kernel
...[/QUUOTE]
it's also my opinion...

I'l dig further ...

---------- Post added at 01:16 AM ---------- Previous post was at 01:14 AM ----------

Quote:
Originally Posted by RupertPupkin View Post
Do any ipv6 services show up when you run "systemd-analyze blame"? If so then stop and disable them.
Thank you for hint ...
No ipv6 or inet6 within results.
Reply With Quote
Reply

Tags
disable, fc16, fedora, ipv6

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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ipv6 disable in Fedora 16 not enough Tikhon03 Servers & Networking 9 10th January 2012 04:16 PM
How to disable IPv6 in Fedora 14? peterparks Servers & Networking 9 18th June 2011 03:30 AM
fedora real disable ipv6 and disable sit0 ssb Servers & Networking 2 27th January 2011 01:43 PM
Can i disable IPV6 in FC 9? amfpg Servers & Networking 6 21st August 2008 05:40 AM
Disable IPv6 in Fedora 8 Lukast Servers & Networking 3 29th December 2007 05:15 PM


Current GMT-time: 06:17 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Kufstein - Kyabe Instagram Photos - Mustang Travel Photos on Instagram