faniislahul / mini-ryu

Research for Undergraduate degree. Ryu controller apps written in python.
0 stars 0 forks source link

openflow tp-link router support #1

Open mohamed199215 opened 7 years ago

mohamed199215 commented 7 years ago

hello, you seem to be familiar with turning the tp-link router into openflow switch can you tell me how you did that in detail please?

faniislahul commented 7 years ago

Hi, thank you. You can use any TP-Link router as long it supports OpenWRT. In my research I've used a TP-Link WR1043ND v1.11. You can use 2 approaching to turn it into an openflow switch. First you can install a direct openflow application (developed by Stanford University) but they only support OpenFlow 1.0 and OpenFLow 1.3 (also with old code and lack of references on that). The other way is to install Open-Wrt firmware to your router. After successfully install the firmware, you can install Open vSwitch from its repository. I'm using the second way. Because OVS is more robust and flexible. Mininet is also developed over OVS.

Here some good tutorials I found in internet. Turning TP-LINK WR1043NDv2.1 router into OpenFlow-enabled switch
Building and Configuring Open vSwitch on OpenWrt for Cloud Networking OpenFlow for OpenWRT (OpenFlow Wireless Network)

Try to read a lot of references first so you're not end up bricking your router. Good luck.

mohamed199215 commented 7 years ago

thank you for your reply, during installation the following link not found svn.openwrt.org/openwrt/trunk so the installation failes. do you have another way to install this ?? can you send me the .BIN openflow support file ? thanks in advance


On Fri, 7/28/17, Fani Islahul notifications@github.com wrote:

Subject: Re: [faniislahul/mini-ryu] openflow tp-link router support (#1) To: "faniislahul/mini-ryu" mini-ryu@noreply.github.com Cc: "mohamed199215" mohamed_ibrahem1992@yahoo.com, "Author" author@noreply.github.com Date: Friday, July 28, 2017, 2:39 PM

Hi, thank you.

You can use any TP-Link router as long it supports OpenWRT. In my research I've used a TP-Link WR1043ND v1.11. You can use 2 approaching to turn it into an openflow switch. First you can install a direct openflow application (developed by Stanford University) but they only support OpenFlow 1.0 and OpenFLow 1.3 (also with old code and lack of references on that). The other way is to install Open-Wrt firmware to your router. After successfully install the firmware, you can install Open vSwitch from its repository. I'm using the second way. Because OVS is more robust and flexible. Mininet is also developed over OVS. Here some good tutorials I found in internet.

Turning TP-LINK WR1043NDv2.1 router into OpenFlow-enabled switch

Building and Configuring Open vSwitch on OpenWrt for Cloud Networking

OpenFlow for OpenWRT (OpenFlow Wireless Network) Try to read a lot of references first so you're not end up bricking your router.

Good luck.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mohamed199215 commented 7 years ago

another question: why did you flow mod?? why did not you use just packetout?