I have a fully setup dedicated server with OVH right now, we need to upgrade but they can't just upgrade the hardware...we have to purchase a new dedicated server and blah blah blah. Both are Proxmox 4.4.
Basically, we have the dedicated server's IP (where Proxmox is) which for example is 192.168.1.1. Then we have 4 other IPs, 192.168.2.1-4. This works on the current setup.
In the /etc/network/interfaces on the dedicated we added:
up ip route add 192.168.2.1 dev vmbr0
For each IP address.
Each container in the network, we have set for a static IP with 192.168.2.1/32 with the gateway as 192.168.1.1. This works. Unless I'm missing something we did in the past. We never touched the interfaces or hosts on the container. They just work right out of the box because of the changes on the host node.
Now we have a second dedicated server and this process just doesn't work.
So summed up, here's my end goal.
We have the host node as the main IP, but each container has a different IP address from the host node. The IPs are linked/associated to the dedicated server in OVH. I'm just...I don't know. It worked once, now it's not. I'm just flat out confused.
Basically, we have the dedicated server's IP (where Proxmox is) which for example is 192.168.1.1. Then we have 4 other IPs, 192.168.2.1-4. This works on the current setup.
In the /etc/network/interfaces on the dedicated we added:
up ip route add 192.168.2.1 dev vmbr0
For each IP address.
Each container in the network, we have set for a static IP with 192.168.2.1/32 with the gateway as 192.168.1.1. This works. Unless I'm missing something we did in the past. We never touched the interfaces or hosts on the container. They just work right out of the box because of the changes on the host node.
Now we have a second dedicated server and this process just doesn't work.
So summed up, here's my end goal.
We have the host node as the main IP, but each container has a different IP address from the host node. The IPs are linked/associated to the dedicated server in OVH. I'm just...I don't know. It worked once, now it's not. I'm just flat out confused.