The environment: I try to add router (TP-LINK 1043nd) with Lede-17.01 .4 and openvswitch installed on it to an SDN controlled by Opendaylight. I used this tutorial http://blog.ljdelight.com/turning-tp-link-wr1043ndv2-1-router-into-openflow-enabled-switch/ in order to install and configure OVS on LEDE and everything seems working fine: the switch is successfully connected to the controller, laptops connected to the switch can communicate between each other and I can see both hosts and the switch from the Opendaylight api.
The problem: how to connect the resulting switch to the rest of the SDN switches using gre or vxlan tunnels so that hosts connected to different switches could communicate between each other? In Ubuntu for example I would use something like
ovs-vsctl add-port br-int gre0 -- set interface gre0 type=gre options:remote_ip=123.123.123.123
but it does not seem working in LEDE. After running the command above, there is an error that indicates that interface gre0 does not exist. Even though after the command the port gre0 can be seen from
ovs-vsctl show
it is not listed in
ovs-ofctl -OOpenflow13 dump-ports br-int
and therefore traffic from a host connected to one switch is not sent to the host connected to another switch. Worth mentioning that I have all necessary packages gre, grev4 and gre-kmod installed on the router.
Does anybody have experience in such kind of configurations? Any help would be appreciated.