Hi Again , Since I did not receive any reply on my query about help on OpenVPN configuration using OVS bridges, I am suspecting that may be somehow it's not posted properly so reposting this again so please bear with me if you see duplication of the same post.
Can anybody please look into my query and kindly help me ? I would highly appreciate any help in this direction. Thank you very much ! //Priyanki. 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 in bridged mode using 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. 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. 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 so that someone, who might have done this successfully can quickly have a look and help me. 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 Any On Mon, Feb 10, 2014 at 5:16 PM, 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. > > 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. > > 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
