thanks for the reply.. It is working for me aswelll.. For some reason it
was not working before.. I did "sudo mn -c" and then repeated and it
worked..

But I wanted to know when h0 pings h2 where exactly are these packets
dropped?
I wanted to keep track of the packets that come from other autonomous
systems.
How can i do this because i dont see any log message saying dropping packet
so and so..
Do the packets from one autonomous systems reach the controller of the
other autonomous system ?


On Tue, Nov 6, 2012 at 10:27 AM, William Emmanuel Yu <[email protected]> wrote:

> Hmmm. Mine works properly.
>
> Here is the log for the controller is 6633 after doing a "h0 ping h1":
>
> POX 0.0.0 / Copyright 2011-2012 James McCauley, et al.
> DEBUG:samples.of_sw_tutorial_oo:Initializing switch SW_IDEALPAIRSWITCH.
> DEBUG:samples.of_sw_tutorial_oo:Attach switch SW_IDEALPAIRSWITCH.
> DEBUG:core:POX 0.0.0 going up...
> DEBUG:core:Running on CPython (2.7.2+/Oct 4 2011 20:03:08)
> DEBUG:core:Platform is
> Linux-3.0.0-12-generic-i686-with-Ubuntu-11.10-oneiric
> INFO:core:POX 0.0.0 is up.
> This program comes with ABSOLUTELY NO WARRANTY.  This program is free
> software,DEBUG:openflow.of_01:Listening on 0.0.0.0:6633
>
> and you are welcome to redistribute it under certain conditions.
> Type 'help(pox.license)' for details.
> Ready.
> POX> INFO:openflow.of_01:[00-23-20-87-c6-b0 1] connected
> DEBUG:samples.of_sw_tutorial_oo:Broadcasting 46:b3:cd:7a:fe:46.1 ->
> ff:ff:ff:ff:ff:ff.65532
> DEBUG:samples.of_sw_tutorial_oo:Installing 46:b3:cd:7a:fe:46.1 ->
> 32:81:09:4d:1e:54.2 AND 32:81:09:4d:1e:54.2 -> 46:b3:cd:7a:fe:46.1
>
> Here is the log for the controller is 6644 after doing a "h2 ping h3":
>
> POX 0.0.0 / Copyright 2011-2012 James McCauley, et al.
> DEBUG:samples.of_sw_tutorial_oo:Initializing switch SW_IDEALPAIRSWITCH.
> DEBUG:samples.of_sw_tutorial_oo:Attach switch SW_IDEALPAIRSWITCH.
> DEBUG:core:POX 0.0.0 going up...
> DEBUG:core:Running on CPython (2.7.2+/Oct 4 2011 20:03:08)
> DEBUG:core:Platform is
> Linux-3.0.0-12-generic-i686-with-Ubuntu-11.10-oneiric
> INFO:core:POX 0.0.0 is up.
> DEBUG:openflow.of_01:Listening on 0.0.0.0:6644
> This program comes with ABSOLUTELY NO WARRANTY.  This program is free
> software,
> and you are welcome to redistribute it under certain conditions.
> Type 'help(pox.license)' for details.
> Ready.
> POX> INFO:openflow.of_01:[00-23-20-99-90-f5 1] connected
> DEBUG:samples.of_sw_tutorial_oo:Broadcasting 9a:95:3c:81:2d:ff.1 ->
> ff:ff:ff:ff:ff:ff.65532
> DEBUG:samples.of_sw_tutorial_oo:Installing 9a:95:3c:81:2d:ff.1 ->
> 3e:76:94:03:87:39.2 AND 3e:76:94:03:87:39.2 -> 9a:95:3c:81:2d:ff.1
>
> Here are the results of pingall (as expected):
>
> mininet> pingall
> *** Ping: testing ping reachability
> h0 -> h1 X X
> h1 -> h0 X X
> h2 -> X X h3
> h3 -> X X h2
> *** Results: 66% dropped (8/12 lost)
>
> It shouldn't matter but can I see your code for sample/of_tutorial.py?
> Let me see if I can run it in my setup.
>
> On Tue, 2012-11-06 at 10:13 +0530, yashwanth kp wrote:
> > Hi all,
> >
> >
> > I have a network with 2 controllers.
> > I have attached the network file.
> >
> >
> > I am running the 2 remote controllers as:
> > sudo ./pox.py log.level --DEBUG samples.of_tutorial openflow.of_01
> >  --port=6633
> > sudo ./pox.py log.level --DEBUG samples.of_tutorial openflow.of_01
> >  --port=6644
> >
> >
> > and then starting the network in mininet as:
> > sudo python ./of_double_controller.py
> >
> >
> > But the controller at 6644 is not getting the switch request and
> > response and the controller at 6633 is responding to all the requests.
> >
> >
> > What i expected was that requests from h0 and h1 to be responded by
> > conroller at 6633 and requests from h2 and h3 to be responded from
> > controller at 6644..
> >
> >
> > But its not happening..
> >
> >
> > --
> > Regards,
> >
> >
> > Yashwanth K P
> > Final Year , B.Tech
> > NITK, Surathkal
> > Contact: +91-9538403606
> >
> >
>
> --
> -------------------------------------------------------
> William Emmanuel S. Yu, Ph.D. (杨怀义)
> Department of Information Systems and Computer Science
> Ateneo de Manila University
> email  :  wyu at ateneo dot edu
> blog   :  http://hip2b2.yutivo.org/
> web    :  http://CNG.ateneo.edu/cng/wyu/
> phone  :  +63(2)4266001 loc. 4186
> GPG    :  http://CNG.ateneo.net/cng/wyu/wyy.pgp
>
> Confidentiality Issue:  This message is intended only for the use of the
> addressee and may contain information that is privileged and
> confidential. If you are not the intended recipient, you are hereby
> notified that any use or dissemination of this communication is strictly
> prohibited.  If you have received this communication in error, please
> notify us immediately by reply and delete this message from your system.
>
>


-- 
Regards,

Yashwanth K P
Final Year , B.Tech
NITK, Surathkal
Contact: +91-9538403606

Reply via email to