Skip to content

Instantly share code, notes, and snippets.

@cicku
Created February 12, 2026 06:03
Show Gist options
  • Select an option

  • Save cicku/25d491a16d6fbb75d2f7badfbca75b62 to your computer and use it in GitHub Desktop.

Select an option

Save cicku/25d491a16d6fbb75d2f7badfbca75b62 to your computer and use it in GitHub Desktop.
DigitalOcean CentOS 10/Alma 10/Rocky 10 IPv6 configuration example
# Sensitive info is redacted
[connection]
id=cloud-init eth0
uuid=X
autoconnect-priority=120
type=ethernet
[user]
org.freedesktop.NetworkManager.origin=cloud-init
[ethernet]
mtu=1500
mac-address=X
[ipv4]
method=manual
may-fail=false
address1=<IPV4_ADDR>/20
route1=0.0.0.0/0,<IPV4_GATEWAY>
address2=<VPC_ADDR>/16
dns=<DNS1>,<DNS2>
[ipv6]
method=manual
may-fail=true
address1=<IPV6_ADDR>/64
route1=::/0,<IPV6_GATEWAY>
dns=<DNS1>,<DNS2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment