[ovs-discuss] How to add openvpn device to ovs

Jesse Gross jesse at nicira.com
Thu Apr 28 16:25:17 UTC 2011


On Wed, Apr 27, 2011 at 11:50 PM, Yue ZHANG <cassidy.zy at gmail.com> wrote:
> Hi,
>
> I have problem adding tun0 to ovs.
>
> The tun0 is an openvpn device:
> tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>          inet addr:10.8.0.10  P-t-P:10.8.0.9  Mask:255.255.255.255
>          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>          RX packets:4108 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:3738 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:100
>          RX bytes:345072 (336.9 KiB)  TX bytes:327656 (319.9 KiB)

This is a point-to-point device, meaning that it operates on IP
packets.  Open vSwitch is an Ethernet switch, which is why it refuses
to attach the device.  I believe that Open VPN has a mode that will
create a L2 tunnel instead of L3.



More information about the discuss mailing list