Hello,

ceph doesn't support dual-stack networking.
Cluster components bind to either v4 or v6 address.

It's the same with multiple subnets. You can have multiple subnets configured in your cluster, but each component binds only to one of these subnets.

> - How does the mon process decide which address to use?
Lookup ms_bind_ipv4 and ms_bind_ipv6. (these options are exclusive, as I mentioned above)


Best regerds
Adam Prycki

On 15/01/2026 14:10, Burkhard Linke via ceph-users wrote:
Hi,


we are currently migrating our ipv4 infrastructure to ipv6, and maybe later to ipv6 only. This also include our ceph clusters.

My naive approach this is:

1. add a forth (ipv4) mon as safe guard and remove an existing mon

2. set ms_bind_ipv6 to true and add ipv6 networks to public_network (both in ceph.conf and via ceph config)

3. manually re-add the removed mon with current map and key

4. repeat with other mons and afterwards restart osds and other services to bind to ipv6, too


The re-added mon in step 3 does not bind to ipv6, only to ipv4. (both port 3300 and 6789). According to the `ceph tell mon.XYZ config show` output both the ms_bind_ipv6 and the public_network settings are recognized by the process.


So the questions are:

- Is dual stack supported for mons? The documentation does not mention it explicitly...

- Can a mon bind to multiple addresses at all, e.g. one IPv4 and one IPv6?

- How does the mon process decide which address to use?


Best regards,

Burkhard

_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to