[pox-dev] Using POX controller with openwrt

Sayed Qaiser Ali Shah 11msitqshah at seecs.edu.pk
Tue Dec 10 09:08:12 PST 2013


Thank you Murphy.


On Tue, Dec 10, 2013 at 2:32 AM, Murphy McCauley
<murphy.mccauley at gmail.com>wrote:

> I can't answer the OpenWRT parts, but see inline...
>
> On Dec 9, 2013, at 1:13 PM, Sayed Qaiser Ali Shah <
> 11msitqshah at seecs.edu.pk> wrote:
>
> > I just want to confirm because I followed following links and none of
> them work for me
> >
> >
> http://danny270degree.blogspot.com/2012/06/openflow-update-and-setup-tp-link-tl.html
> >
> >
> http://archive.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration_2
> >
> > I have POX controller on my laptop and I am assigning following IP's
> > Laptop having POX controller is connected to WAN port.
> > IP of WAN port of tp-link 1043 192.168.1.1
> > IP to my laptop as 192.168.1.10
> >
> > IP of tp-link interface 0.1 192.168.2.1
> > IP of System connected to interface 0.1 is 102.168.2.10
> >
> >
> > IP of tp-link interface 0.2 192.168.2.2
> > IP of System connected to interface 0.1 is 102.168.2.20
> >
> > I am running POX controller with IP address similar to my PC. I don't
> know whether I am doing it right or wrong.
> > I am running pox controller with IP given below and I am also not sure
> about port. I am just giving port 6633
> > sudo ./pox.py openflow.of_01 --address=192.168.1.10 --port=6633
>
> I wouldn't specify the address unless I had a good reason.  Also, 6633 is
> the default, so you don't need to specify it.  So basically, I wouldn't
> specifically enter openflow.of_01 and its options in this line.
>
> You shouldn't generally need to run POX with special permissions, so you
> shouldn't need to sudo.
>
> You aren't running a POX component that actually takes care of forwarding.
>  Even if everything was working correctly, POX isn't actually setting up
> flows here so ping won't work.
>
> All together, I'd say a better commandline to start out with would be the
> first one shown in the POX manual (in the "Quick Start" box in the
> "Invoking POX" section):
> ./pox.py samples.pretty_log forwarding.l2_learning
>
> You should be able to at least see if switches are connecting.  If you're
> still having trouble, turn up the logging and post your logs to the mailing
> list.  (You can increase the logging detail with ./pox.py
> samples.pretty_log --DEBUG forwarding.l2_learning).
>
> > When I tried to ping one host from another pox controller is still not
> working. Can anybody please tell me how should I do this and am I using
> correct IP networks??
> >
> >
> >
> > On Wed, Dec 4, 2013 at 1:50 AM, Sayed Qaiser Ali Shah <
> 11msitqshah at seecs.edu.pk> wrote:
> > Thanks I got it from the links which you provided by using "vi"
> > Let me try.
> > :)
> >
> >
> > On Wed, Dec 4, 2013 at 1:47 AM, Sayed Qaiser Ali Shah <
> 11msitqshah at seecs.edu.pk> wrote:
> > Thank you so much for your help.
> > I have no idea how to enter /etc/config/openflow.
> > Can you please tell me. When I ssh the openwrt I tried "cd ~/etc" but
> didn't work. How can I enter /etc? I have no idea about openwrt.
> >
> >
> > On Wed, Dec 4, 2013 at 1:30 AM, Alison Chan <chan7781 at kettering.edu>
> wrote:
> > HI Sayed,
> > In /etc/config/openflow on the openwrt router, there will be a line
> > that specifies the controller IP and port. Change that to the computer
> > that's running pox, and run:
> >
> > /etc/config/openflow restart
> >
> > to make the switch talk to your pox instance.
> >
> > These links should also be of use to you:
> >
> >
> http://danny270degree.blogspot.com/2012/06/openflow-update-and-setup-tp-link-tl.html
> >
> >
> http://archive.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT#Network_Configuration_2
> >
> > (Sorry for the lack of very specific answers, I'm not nearby our
> > TL-WR1043NDs today.)
> >
> > Cheers,
> > Alison
> >
> > On Tue, Dec 3, 2013 at 2:37 PM, Sayed Qaiser Ali Shah
> > <11msitqshah at seecs.edu.pk> wrote:
> > > Thanks Alison. It worked. Do you have idea how to use POX with openwrt?
> > >
> > >
> > > On Wed, Dec 4, 2013 at 12:31 AM, Alison Chan <chan7781 at kettering.edu>
> wrote:
> > >>
> > >> Did you set a root password in the openwrt box? If so, then you need
> > >> to use ssh instead of telnet to log into it.
> > >>
> > >> Cheers,
> > >> Alison
> > >>
> > >> On Tue, Dec 3, 2013 at 2:29 PM, Sayed Qaiser Ali Shah
> > >> <11msitqshah at seecs.edu.pk> wrote:
> > >> > Hello Everybody,
> > >> >
> > >> > I want to use POX controller with openwrt which I have installed on
> > >> > TP-Link
> > >> > WR1043ND. I searched for it but didn't work for me. I am new to
> openwrt.
> > >> > I
> > >> > tried to telnet my TP-Link device but it didn't log in. When I
> checked
> > >> > Telnet in browser, it is enabled. I got this:
> > >> >
> > >> > Trying 192.168.1.1...
> > >> > Connected to 192.168.1.1.
> > >> > Escape character is '^]'.
> > >> > Login failed.
> > >> > Connection closed by foreign host.
> > >> >
> > >> > Can anybody help me how can I use pox controller with openwrt???
> > >>
> > >>
> > >>
> > >> --
> > >> Alison Chan
> > >> chan7781 at kettering.edu
> > >> +1 909 278 7753
> > >>
> > >> Sedulously eschew obfuscatory hyperverbosity or prolixity.
> > >
> > >
> > >
> > >
> > > --
> > > Regards
> > >
> > > Sayed Qaiser Ali Shah
> > > MSIT-12
> > > NUST (SEECS)
>
> -- Murphy




-- 




*RegardsSayed Qaiser Ali ShahMSIT-12NUST (SEECS)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20131210/a6397b64/attachment-0002.htm>


More information about the pox-dev mailing list