<---- template headericclude ----->
Fedora 16 disable IPV6
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Location
    romania
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  2. #2
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    8,726
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)

    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 39 x86_64 | Machine: Lenovo ThinkCentre M91P | CPU: Intel Core i5-2500 (4)@3.30GHz | RAM: 32GB PC3-12800 DDR3 | Disks: Seagate Barracuda ST500DM002 500GB SATA, Seagate Constellation ES.3 ST1000NM0033 1TB SATA | Video: Intel HD Graphics 2000 128MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Intel 82579LM

  3. #3
    stevea Guest

    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.
    Last edited by stevea; 10th March 2012 at 07:31 PM.

  4. #4
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    11,362
    Mentioned
    87 Post(s)
    Tagged
    0 Thread(s)

    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?

  5. #5
    Join Date
    Jan 2010
    Location
    romania
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 16 disable IPV6

    Quote Originally Posted by stevea
    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
    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.

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]