# Building the Cluster

Setting IP ADdress

I did my best to simplify the network design:

<span style="white-space: pre-wrap;">There are 3 PVE hosts with corresponding management IP’s: </span>

- prox1 – 192.168.0.201
- prox2 – 192.168.0.202
- prox3 – 192.168.0.203

<span style="white-space: pre-wrap;">Each PVE host has 3 network adapters: </span>

- Adapter 1: A Bridged Adapter that connects to the \[physical\] internal network.
- <span style="white-space: pre-wrap;">Adapter 2: Host only Adapter #2 that will serve as the \[virtual\] isolated cluster network. </span>
- <span style="white-space: pre-wrap;">Adapter 3: Host only Adapter #3 that will serve as the \[virtual\] dedicated migration network. </span>

<span style="white-space: pre-wrap;">Each network adapter plugs into a different \[virtual\] network segment with a different ip range: </span>

- <span style="white-space: pre-wrap;">Adapter 1 (vmbr0) (nic0) – 192.168.0.0/24 </span>
- <span style="white-space: pre-wrap;">Adapter 2 (nic1) – 192.168.101.0/24 </span>
- <span style="white-space: pre-wrap;">Adapter 3 (nic2) – 192.168.102.0/24 </span>

<span style="white-space: pre-wrap;">Each PVE hosts’ IP on each network roughly corresponds to its hostname: </span>

- <span style="white-space: pre-wrap;">prox1 – 192.168.0.201, 192.168.101.1, 192.168.102.1 </span>
- <span style="white-space: pre-wrap;">prox2 – 192.168.0.202, 192.168.101.2, 192.168.102.2 </span>
- rox3 – 192.168.0.203, 192.168.101.3, 192.168.102.3

## Prox 1 Example

```
auto lo
iface lo inet loopback

iface nic0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.0.201/24
        gateway 192.168.0.1
        bridge-ports nic0
        bridge-stp off
        bridge-fd 0

# cluster network
auto nic1
iface nic1 inet manual
        address 192.168.101.1/24
        
# migration network
auto nic2
iface nic2 inet manual
        address 192.168.102.1/24

source /etc/network/interfaces.d/*
```

[![{A92F3188-2A76-407B-8D93-25476AE1360D}.png](https://wiki.zn80.net/uploads/images/gallery/2026-03/scaled-1680-/a92f3188-2a76-407b-8d93-25476ae1360d.png)](https://wiki.zn80.net/uploads/images/gallery/2026-03/a92f3188-2a76-407b-8d93-25476ae1360d.png)