Welcome to the Linux Foundation Forum!

Disable IPV6 in Debian Lenny?

tuxmania Posts: 19

I have tried various ways of disabling IPv6 on my primary workstation running Debian Lenny but it still sticks. Any ideas?



  • gbor
    gbor Posts: 3
    I didn't try it, but it may help you: link
  • tuxmania
    tuxmania Posts: 19

    Heh, i had made a spalling erorr in the config file the first time i tried.

    It works like a charm now, thanks mate.
  • Svyat
    Svyat Posts: 1
    try it
    echo blacklist ipv6 >> /etc/modprobe.d/blacklist.local
  • gbor
    gbor Posts: 3
    For the archive:


    By default you will have a line like this:

    alias net-pf-10 ipv6

    Replace that line with:

    alias net-pf-10 off
    alias ipv6 off

    (The second line may/may not be required with newer (2.26.+) kernels, but it won’t hurt anything)

    Also, while we’re at it, on your desktop machines, help out Firefox by disabling IPv6 there too. It’s simple, in the location bar enter:


    Then search for:


    and toggle its value to ‘true'
  • ben
    ben Posts: 134
    edit /etc/modprobe.d/aliases
    alias net-pf-10 off
    alias ipv6 off

    you can do it with everything else you don need it (X25, appletalk, ...)

    Hope it helps



Upcoming Training