Most cloud providers will happily hand you an IPv6 address. What they
will not always do is put it on the interface for you. The console shows
an address, the network expects traffic, and ping6 returns
nothing — which sends people looking at firewalls when the problem
is one layer below that.
1. Is the address actually configured on the NIC?
ip -6 addr show dev ens3
ip -6 route show default
An assigned address that never made it onto the interface looks like a provider problem and is usually just cloud-init not having run, or having run before the address existed. Adding it by hand takes one command, and then it has to survive reboot — which is the part people forget.
2. Does the prefix match what the provider says?
A /128 on the interface with a /64 on-link route
missing is a common shape. Without the route, the host has no idea how to
reach the gateway and everything silently fails.
3. Can you reach the gateway, then the internet?
ping6 -c3 $(ip -6 route show default | awk '{print $3}')
ping6 -c3 2606:4700:4700::1111
Splitting it this way tells you immediately whether it is local configuration or upstream. If the gateway answers and the internet does not, the instance is fine and the problem belongs to the network.
Here is the part that cost me an evening. IPv6 connectivity was working — ICMP, TCP, all of it — but throughput was a fraction of what the same host did over IPv4. Not a firewall, not MTU, not the server.
tracert -6 example.host
The path looked normal for ten hops, then latency jumped from about 20 ms to well over 200 ms, entering a transit provider on a completely different continent before coming back. The IPv4 path reached the same destination in about a third of the time.
Two stacks, two completely different routes. Nothing is broken; the announcement is just further away.
There is no setting on the server that fixes this. The useful conclusion is the diagnostic order: confirm the address, confirm the route, confirm the peer — and only then start blaming your own configuration. If the path is bad, keep both stacks and let the client pick. A node that is slow over one family is still a working fallback.
ip addr add; otherwise it disappears on reboot and the
next person to look at it starts from zero.nftables and half in iptables is how you end
up debugging a rule that is not the rule in effect.