Skip to main content

Disable IPv6 for GravityZone

The GravityZone appliance is not compatible with IPv6, so it must be disabled manually.

Warning

This procedure disables IPv6 for the first network interface (eth0). IPv6 must remain active in the kernel and on the loopback (lo) network interface.

To disable IPv6 on the GravityZone console, follow these steps:

  1. Login to GravityZone using PuTTy or any another SSH client.

  2. Run the following commands:

    sudo su
    vim/etc/sysctl.conf
  3. Add the following lines in the sysctl.conf file:

    net.ipv6.conf.all.disable_ipv6 = 0
    net.ipv6.conf.default.disable_ipv6 = 0
    net.ipv6.conf.lo.disable_ipv6 = 0
    net.ipv6.conf.eth0.disable_ipv6 = 1

    Note

    If the network interface is named differently, replace eth0 with the name you have selected.

  4. Save the file and apply the changes using the following command:

    sysctl -p