Change Ceph from IPv4 to IPv6?

Allister

Member
Jul 12, 2023
41
3
8
Hey all --

I have a working Ceph install running on IPv4. I want to switch it over to using IPv6. IPv6 is active on the network devices and can ping each other just fine. What process should I go through to get Ceph moved over to using IPv6? Thanks for any suggestions anyone might have.

I edited the ceph config file and turned on IPv6 by setting ms_bind_ipv6 = false to true and it caused Ceph to not come up right. I didn't change anything else and IPv4 was enabled still. Not sure how to go about this. :-/
 
Last edited:
AFAIK Ceph cannot run dual stack.
And the MON addresses are recorded as IPv4 in the cluster map. The same goes for the public_network and cluster_network settings.
You would have to manually change the MON map and these settings and then adjust the ceph.conf.
 
I think I’ll just move my VMs to local storage, tear down the Ceph setup and rebuild it on IPv6. Not even sure there’s a benefit at this point.
 
Not even sure there’s a benefit at this point.
This!

Ceph is local, not world-wide reachable. Right? And there are endless RFC1918 addresses available. IPv4 is so much more handsome for strict local usage.

Just my 2 €¢...
 
  • Like
Reactions: BinaryCrash