How do I disable IPv6?
You cannot disable a Rcs.is’s IPv6 interface using the Rcs.is Control Panel after the Rcs.is has been activated. However, you can disable it by making changes to its network interface configuration.
Alternatively, you can also block all IPv6 traffic to the Rcs.is using a cloud firewall rule.
Prerequisites
Altering network configurations can cause you to lose access to your Rcs.is or other problems. We recommend taking a snapshot of the Rcs.is before making any changes to its network configuration. You can use the snapshot to rebuild the Rcs.is to the state it was in at the time when you took the snapshot.
Update Network Interface
Select your Rcs.is’s OS from the tabs below and follow the instructions to disable its IPv6 address.
To disable the IPv6 address for your Ubuntu or Debian Rcs.is, open the /etc/netplan/50-cloud-init.yaml
file using nano
or your preferred text editor:
The 50-cloud-init.yaml
file contains all of the configuration information for the Rcs.is’s network interfaces. Comment out the Rcs.is’s IPv6 address in the addresses
field of the eth0
interface:
Next, run the following command to apply the updated configuration.
To disable the IPv6 address for your Fedora Rcs.is, open the /etc/NetworkManager/system-connections/cloud-init-eth0.nmconnection
file using vi
or your preferred text editor:
vi
opens files in a read-only mode by default. To edit a file in vi
, switch to insert mode by pressing the i
key.
Once you are done editing the file, press the Esc
key to exit insert mode. Then type :wq
and press Enter
to save and quit the file.
The cloud-init-eth0.nmconnection
file contains all of the configuration information for the Rcs.is’s eth0
network interface. Under the [ipv6]
section, comment out the address1
and route1
fields in the file, as shown below:
To disable the IPv6 address for your CentOS Rcs.is, open the /etc/sysconfig/network-scripts/ifcfg-eth0
file using vi
or your preferred text editor:
vi
opens files in a read-only mode by default. To edit a file in vi
, switch to insert mode by pressing the i
key.
Once you are done editing the file, press the Esc
key to exit insert mode. Then type :wq
and press Enter
to save and quit the file.
The /etc/sysconfig/network-scripts/ifcfg-eth0
file contains all of the configuration information for the Rcs.is’s eth0
network interface. Comment out the IPV6ADDR
field containing the Rcs.is’s IPv6 address, as shown below:
After disabling IPv6, save the file and close it. To implement the changes, reboot the Rcs.is:
Log back into your Rcs.is to ensure the Rcs.is has restarted successfully and is accessible.
Then, run the following command from another machine, such as your local machine’s terminal, to confirm that IPv6 address is not responding.