Hi,
We’ve reviewed the relevant wiki articles, and we’re looking for feedback on a networking strategy for our Proxmox and Ceph cluster setup. Specifically, we aim to avoid using multiple arbitrary IPs and would prefer to use a single /24 network for all traffic, including Ceph cluster traffic. Here’s our current idea:
Setup Overview:
The first three nodes have additional configurations for ens18 and ens19 as follows:
Key Points:
Thanks!
We’ve reviewed the relevant wiki articles, and we’re looking for feedback on a networking strategy for our Proxmox and Ceph cluster setup. Specifically, we aim to avoid using multiple arbitrary IPs and would prefer to use a single /24 network for all traffic, including Ceph cluster traffic. Here’s our current idea:
Setup Overview:
- Proxmox Cluster: We have five Proxmox servers with IPs 192.168.2.50 through 192.168.2.55.
- Ceph Cluster Network: The first three machines (with additional 10G NICs) will be used to create the Ceph mesh network. These machines will have some extra network configuration for ens18 and ens19.
- Routing: All five machines will use 192.168.2.1/24 as the default gateway via a switch. (4 LACP bonded 1G UTP connections)
The first three nodes have additional configurations for ens18 and ens19 as follows:
Code:
/etc/network/interfaces
auto lo
iface lo inet loopback
# ens18 connected to Node2 (192.168.2.51)
auto ens18
iface ens18 inet manual
address 169.254.50.51
netmask 255.255.0.0
post-up ip route add 192.168.2.51/32 dev ens18
post-down ip route del 192.168.2.51/32 dev ens18
# ens19 connected to Node3 (192.168.2.52)
auto ens19
iface ens19 inet manual
address 169.254.50.52
netmask 255.255.0.0
post-up ip route add 192.168.2.52/32 dev ens19
post-down ip route del 192.168.2.52/32 dev ens19
# Primary bridge for external communication
auto vmbr0
iface vmbr0 inet static
address 192.168.2.50
netmask 255.255.255.0
gateway 192.168.2.1
bridge_ports ens20
bridge_stp off
bridge_fd 0
Key Points:
- 169.254.x.y/16 local-link addresses: Used for the Layer 2 direct peer-to-peer connection between cluster nodes.
- Regular Traffic: Routed to the default gateway/switch (no change).
- Specific Traffic to the other node: Only the traffic specifically for the specific other node is routed directly between the two connected nodes.
- IP Usage: Each cluster server uses just one IP from the 192.168.2.0/24 subnet, leaving the remaining IPs available for other purposes.
- Ceph Cluster Access: Even the two non-meshed nodes (without 10G connections) can still access the Ceph cluster.
- Is this approach valid as a meshed network configuration for Proxmox + Ceph, even though it’s not listed in the wiki?
- Any potential issues with using 169.254.x.y addresses for peer-to-peer communication instead of using addresses from our /24?
Thanks!
Last edited: