Ask Your Question

See log info?

asked 2015-10-02 05:57:14 -0700

g_trelos gravatar image

Hi guys, I want to see the log when a packet is received by the controller and i dont see anything. What I mean:i want to see the log in order to trace the packet fom the moment the controller gets it but it shows nothing.I ping between hosts using mininet and it is like packet never reached the controller.Am i doing something wrong? Thank you in advance.

edit retag flag offensive close merge delete



Have you tried changing the log level to debug?

Sania ( 2015-10-02 22:58:45 -0700 )edit

trying that thank you.I ll come back if more info needed + I now connected the eclipse debugger.

g_trelos ( 2015-10-04 23:42:04 -0700 )edit

additionally, you can run a packet capture locally to your controller (e.g. tcpdump) to make sure you are getting the packet-ins that you expect.

jamoluhrsen ( 2015-10-05 11:15:39 -0700 )edit

how do I do that, cause it sounds like what I want exactly.

g_trelos ( 2015-10-05 23:29:21 -0700 )edit

if you are on a linux system, try this command: "sudo tcpdump -ni eth0 port 6633" note, eth0 might be different for your system, but it should be the adapter that has the ip address of your controller

jamoluhrsen ( 2015-10-06 08:53:08 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-29 21:10:48 -0700

pande.gaurav gravatar image

You can also use the wireshark for packet capture as it captures the packet from the moment you start your controller, and moreover you can also hit the rest apis like network-topology apis to see whether the packet reched the desination or not.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-10-02 05:57:14 -0700

Seen: 37 times

Last updated: May 29 '16