Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

Tech

Setting up an IPv6 only VM

Too many applications are still using IPv4 only, which is a shame as IPv6 was standardised ~28 years ago. If you want to check if your application is IPv6 ready, best thing is to have a server or docker/podman network which is IPv6 only. I'm showing how to set up both variants here. Setting up RedHat 10 for IPv6 only Note Root access is, of course, required for all these commands. The following…

The article provides detailed instructions on how to set up a server or Docker/Podman network that operates exclusively on IPv6. To verify if an application is IPv6 ready, the author recommends creating an IPv6-only server or network. The steps include enabling IPv6 using sysctl, adding the changes to a configuration file, and syncing the network manager.

Next, the author instructs on disabling IPv4 to avoid connectivity issues when switching to IPv6-only. The process involves checking the IPv6 addresses, logging out and logging back in via IPv6, disabling IPv4, and re-uploading the network interface.

For Podman users, the guide explains how to create an IPv6-only network with a specific subnet. Containers launched in this network will receive IPv6 addresses starting from a designated sequence. The article emphasizes that Podman supports both IPv4 and IPv6 networks, but the example provided uses an IPv6-only setup.

Finally, the article notes that Podman's DNS plugin can handle both IPv4 and IPv6, allowing for proper container-to-container DNS resolution. The instructions conclude with a recommendation to use the --network parameter when starting containers to ensure they utilize the IPv6-only network.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Thursday 20 August →