On Mon, Feb 10, 2014 at 8:16 AM, Priyanki Vashi
<[email protected]> wrote:
> Hi There ,
>
> I am new to openvswitch and also new to networking in general. I am in the
> process of setting up a VPN tunnel with OVS + OpenVPN.
>
> OVS version, I am running is 2.0.0 and OpenVPN is 2.2.1. I have successfully
> created certificate for server and client. Just to understand basic concept
> I tried to setup a tunnel without bridging mode and it worked fine meaning
> that I successfully able to ping VPN Client and VPN server.
What does "setup a tunnel without bridging mode" mean? Open vSwitch
has a concept of "tunnel" and so does OpenVPN. So you will have to
clarify.

>
> Now when I am trying to setup the tunnel in a bridged mode (using OVS
> bridges), I am phasing problems.
> In this configuration, I am able to successfully create TAP interfaces and
> they are also added in my bridge but I still can't ping VPN server and
> Client with these newly created TAP interfaces.
Is the VPN client and VPN server in a VM? And OVS is on the hypervisor?
if so, I would suggest to get pings working without the VPN component.


>
> After reading some of the already existing post on this topic, I understand
> that OpenVswitch + OpenVPN could be configured successfully but I could not
> get much configuration info from this post.
> (http://openvswitch.org/pipermail/discuss/2010-July/004135.html)
>
> Also, there is a problem that these newly created TAP interfaces are not
> shown as a data path in the output of ovs-dbctl show but I am not sure what
> could be the problem.
>
> I am not sure if my scripts (up and down), which creates and configures TAP
> interfaces are missing something so I am sharing my up/down script as well
> as Server.conf file so that someone, who might have done this successfully
> can quickly have a look and help me.
>
> Thank you in advance but I am hoping to get some help on my problem.
>
> Best Regards,
> Priyanki.
>
> Up script
> #!/bin/bash
>
>
> # Define Bridge Interfaces
> BR=tipc-br
> TAPDEV=tap11
> ifconfig $TAPDEV 0.0.0.0 promisc up
> ovs-vsctl add-port $BR $TAPDEV -- set interface $TAPDEV type=internal
> ifconfig $TAPDEV 192.168.169.110 netmask 255.255.255.0
> ifconfig $TAPDEV txqueuelen 5000
> ovs-vsctl show
>
>
>
> Down script
> #!/bin/bash
>
> # Define Bridge Interfaces
> BR=tipc-br
> TAPDEV=tap11
>
> /sbin/ifconfig $TAPDEV 0.0.0.0 down
> ovs-vsctl del-port $BR $TAPDEV
> ovs-vsctl show
>
>
>
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to