NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

peet1's avatar
peet1
Guide
Apr 27, 2017

Disable IPv6 via command?

Is there a simple command to disable ipv6? It seems to like to turn itself back on from time to time and I'd just like to set up a simple script to see if it's enabled, turn it off, then restart a process.

 

Thanks in advance for any help.

 

Cheers.Peet

5 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    You just disable it from the network settings wheel in the web ui.

     

    I've never seen it come back on.

    • jak0lantash's avatar
      jak0lantash
      Mentor

      StephenB wrote:

      You just disable it from the network settings wheel in the web ui.


      As StephenB said, it's actually better to do this type of configuration via the Web UI. This is also because most config parameters are stored in a database and frequently reapplied to the actual configuration files. So your modifications via CLI may get overwritten by the values from the database (as defined in the Web UI).

    • peet1's avatar
      peet1
      Guide

      It is possible that it's something I've done that turns it back on. But another part of what I need is a reproducable environment across multiple NAS's that doesn't require me to touch every one.

       

      Thanks.Peet

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        You could try

        1. sysctl -w net.ipv6.conf.all.disable_ipv6=1
        2. sysctl -w net.ipv6.conf.default.disable_ipv6=1
  • Thanks guys. I understand what you are saying, and I guess I just wasn't as clear as I should've been.

    What I am looking for is a way to call the same sub system that is called by frontview so that my settings don't get stomped on by ReasyNAS OS.

    I'll keep poking a stick at it. If anyone has any advice to achieve this, it would be greatly appreciated.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More