[ovs-discuss] OpenVPN / OpenVSwtich compatibility

DarkBls darkbls at yahoo.com
Wed Jul 7 08:38:49 UTC 2010


Hi.

I'm looking to bridge an OpenVPN tap and a VM tap together.

Here is my config:

[root at Phosphorus openvpn]# ovs-vsctl --db=tcp:192.168.93.201:1977 list-ports br0
tap0
tap1
tapVPN


tap0 and tap1 are two interfaces of a VM
tapVPN is the OpenVPN tap.

I'm trying to ping a VPN client from the VM and vice-versa with no success so 
far.

Both tap 1 and tapVPN are access port on VLAN 20 :

[root at Phosphorus openvpn]# ovs-vsctl --db=tcp:192.168.93.201:1977 list port
_uuid               : b5809a8c-c193-4466-b149-13b234b746cd
bond_downdelay      : 0
bond_fake_iface     : false
bond_updelay        : 0
external_ids        : {}
fake_bridge         : false
interfaces          : [f66c2b69-e552-4e67-8c73-036feed5c14d]
mac                 : []
name                : "tap0"
other_config        : {}
tag                 : 10
trunks              : []

_uuid               : 9359418c-4d42-4224-af5c-bb5514e93106
bond_downdelay      : 0
bond_fake_iface     : false
bond_updelay        : 0
external_ids        : {}
fake_bridge         : false
interfaces          : [f8d51bd3-c866-4acd-96a6-9234678bf40e]
mac                 : []
name                : tapVPN
other_config        : {}
tag                 : 20
trunks              : []

_uuid               : eb78a910-9f5f-4aa5-8e0b-f6dd410b24b5
bond_downdelay      : 0
bond_fake_iface     : false
bond_updelay        : 0
external_ids        : {}
fake_bridge         : false
interfaces          : [cb2d4537-4f93-4292-86a7-16a0fe698938]
mac                 : []
name                : "tap1"
other_config        : {}
tag                 : 20
trunks              : []

When I ping from the VM, a sniff on tap1 shows:
listening on tap1, link-type EN10MB (Ethernet), capture size 65535 bytes
09:34:49.710828 52:54:00:12:34:03 > Broadcast, ethertype ARP (0x0806), length 
42: Request who-has 172.16.19.100 tell 172.16.19.203, length 28
09:34:50.708852 52:54:00:12:34:03 > Broadcast, ethertype ARP (0x0806), length 
42: Request who-has 172.16.19.100 tell 172.16.19.203, length 28
09:34:51.706872 52:54:00:12:34:03 > Broadcast, ethertype ARP (0x0806), length 
42: Request who-has 172.16.19.100 tell 172.16.19.203, length 28

When I ping from the VPN client, a sniff shows:
listening on tapVPN, link-type EN10MB (Ethernet), capture size 65535 bytes
09:35:53.656022 00:ff:ee:85:68:56 > Broadcast, ethertype ARP (0x0806), length 
42: Request who-has 172.16.19.203 tell 172.16.19.100, length 28
09:35:59.156079 00:ff:ee:85:68:56 > Broadcast, ethertype ARP (0x0806), length 
42: Request who-has 172.16.19.203 tell 172.16.19.100, length 28

No ARP answer in either case. Did I do something worng or there is no way to 
bridge a VM tap with an OpenVPN tap ?

Thank you for your help.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100707/b82d15fb/attachment-0001.html>


More information about the discuss mailing list