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.

I have little bit lack of linux networking understanding, so there is my question:

We have 2 computers (SRV1, SRV2).

Each of it has 1 NIC and both are connected by OpenVPN bridge

Configuration:

SRV1:

openvpnbr0 - 172.16.13.1
vmbr0 - 172.16.1.1

SRV1:

openvpnbr0 - 172.16.13.2
vmbr0 - 172.16.2.1

Both interfaces openvpnbr0 and vmbr0 are bridges, both of it should work as single network (172.16.0.0)

Is it possible approach?

Now the problem is when I ping 172.16.13.2 from 172.16.13.1 it tries to use 172.16.2.1 instead of 172.16.1.1

If there is needed more info - I will be glad to provide it.

Thanks.

share|improve this question
    
You should use only one bridge, there is no sense to use two bridges to do what you want. Remove all the interfaces from one bridge and add them to the other one. –  diegows Jun 28 '12 at 21:46
    
How are the 2 servers physically connected? You seem to be have a bridge for supporting virtual machines? What hypervisor are you using? –  Zoredache Jun 28 '12 at 22:40
    
@diegows, you're right, with 1 bridge (vmbr0) passed by openvpn all works, thanks! –  Anton Jun 29 '12 at 7:48
    
@Zoredache, servers are connected by openvpn too, we use Proxmox with openvz and KVM virtualization. –  Anton Jun 29 '12 at 7:49
    
@Anton,ok I'll write my comment as answer. Please, set this as solved. Thanks! –  diegows Jun 29 '12 at 18:00
add comment

1 Answer

up vote 1 down vote accepted

You should use only one bridge, there is no sense to use two bridges to do what you want. Remove all the interfaces from one bridge and add them to the other one.

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.