[ovs-discuss] Steps for establishing CAPWAP tunnel between 2 Linux machines

Rahul Arora rahul1991.arora at gmail.com
Tue Dec 10 06:39:55 UTC 2013


Hi Vivek

I have one query regarding this. Is ovs version 1.11 has support of CAPWAP
or not?

Thanks for the help in advance.

..
Regards

Rahul Arora



On Mon, Dec 9, 2013 at 11:27 PM, Vivek Kumar (EPG) <kvivek at juniper.net>wrote:

>
>
> Sharing the steps I used for establishing CAPWAP tunnel between 2 Linux
> machines running OVS. Please find them below:
>
> *Linux machine* *1**:*
>
>
>     1. ovsdb-tool create /usr/local/etc/openvswitch/conf.db
>    vswitchd/vswitch.ovsschema
>
>
>
>
>     1. ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock
>    \
>
> --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
> --private-key=db:Open_vSwitch,SSL,private_key \
> --certificate=db:Open_vSwitch,SSL,certificate \
> --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \
> --pidfile --detach
>
>
>     1. ovs-vsctl --no-wait init
>
>
>
>     1. ovs-vswitchd --pidfile –detach
>
>
> (Kill all instances of DHCP Client.)
>
>
>     1. ifconfig eth0 0.0.0.0
>
>
>
>     1. ovs-vsctl add-br br0
>
>
>
>     1. ovs-vsctl add-port br0 eth0
>
>
>
>     1. ifconfig br0 192.168.1.5
>
>
>
>     1. ovs-vsctl add-port br0 p0
>
>
>
>     1. ovs-vsctl set interface p0 type=internal
>
>
>
>     1. ip link set p0 up
>
>
>
>     1. ifconfig p0 10.0.0.1
>
>
>
>     1. ovs-vsctl add-port br0 cw0
>
>
>
>     1. ovs-vsctl set interface cw0 type=capwap options:local_ip=10.0.0.1
>    options:remote_ip=10.0.0.2 options:key=1234
>
>
> *Linux machine* *2:*
>
>
>     1. ovsdb-tool create /usr/local/etc/openvswitch/conf.db
>    vswitchd/vswitch.ovsschema
>
>
>
>     1. ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock
>    \
>
> --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
> --private-key=db:Open_vSwitch,SSL,private_key \
> --certificate=db:Open_vSwitch,SSL,certificate \
> --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \
> --pidfile --detach
>
>
>     1. ovs-vsctl --no-wait init
>
>
>
>     1. ovs-vswitchd --pidfile –detach
>
>
> (Kill all instances of DHCP Client.)
>
>
>     1. ifconfig eth0 0.0.0.0
>
>
>
>     1. ovs-vsctl add-br br0
>
>
>
>     1. ovs-vsctl add-port br0 eth0
>
>
>
>     1. ifconfig br0 192.168.1.6
>
>
>
>     1. ovs-vsctl add-port br0 p0
>
>
>
>     1. ovs-vsctl set interface p0 type=internal
>
>
>
>     1. ip link set p0 up
>
>
>
>     1. ifconfig p0 10.0.0.2
>
>
>
>     1. ovs-vsctl add-port br0 cw0
>
>
>
>     1. ovs-vsctl set interface cw0 type=capwap options:local_ip=10.0.0.2
>    options:remote_ip=10.0.0.1 options:key=1234
>
>
>
> Thanks
> Vivek
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131210/85338564/attachment.html>


More information about the discuss mailing list