Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have 3 physical servers (each with 1 NIC) in different datacentres, all of them are interconnected by openvpn bridged private network (10.x.x.x).

Inside this network we have fully functional 3 nodes Proxmox 2.1 cluster. So, actually question is:

Is there any "proper" way to make "global" local network (172.16.x.x) for all VMs inside cluster, so even if we move VM from one node to other we could reach it by static IP regardless of it's physical location?

BTW, we can't add dedicated NIC to each server.

Thanks in advance.

EDIT:

I have tried to make a separate openvpn bridge for 172.16.x.x, now I have at each server two interfaces:

SRV1:
openvpnbr1 - 172.16.13.1
vmbr0 - 172.16.1.1

SRV2:
openvpnbr1 - 172.16.13.2
vmbr0 - 172.16.2.1

But now there is no connection between those ifaces:

SRV1:
ping 172.16.13.2
From 172.16.1.1 icmp_seq=2 Destination Host Unreachable

SRV2:
ping 172.16.13.1
From 172.16.2.1 icmp_seq=2 Destination Host Unreachable

If I shut down vmbr0 interfaces, so there is connection between servers over openvpn, but vmbr0 is used by Proxmox...

Where I am wrong?

share|improve this question
    
Why can't you do it exactly the same way you do it with the private network? –  David Schwartz Jun 27 '12 at 13:02
    
My thoughts was to build private network (10.x.x.x) just for hardware nodes, all virual nodes should be inside it's own network (172.16.x.x) and this network should not cross bounds of 10.x.x.x, if it possible. –  Anton Jun 27 '12 at 14:49
    
David, I have tried that way. Updated Question –  Anton Jun 28 '12 at 10:27
    
Have you considered using vLANs? What's with the OpenVPN bridging?? –  Chris S Jun 28 '12 at 13:36
    
Unfortunately vLANs are not available over our physical network –  Anton Jun 28 '12 at 15:06
add comment

2 Answers 2

up vote 1 down vote accepted

Solution was to use only one bridge (vmbr0) instead of two, and pass it by OpenVPN tunnel.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.