Do you have a good reason for using NOX-Classic?  As we're no longer doing any 
development with it, you might think about using POX (which already contains a 
simple L3 switch).

To more directly answer your question, you can use Wireshark to monitor the 
OpenFlow traffic between the controller and the switch.  The OpenFlow reference 
implementation contains the OpenFlow dissector, and there's also a github 
project for it.

What are you doing about non-IP traffic? More to the point, what are you doing 
about ARP?

-- Murphy

On Jul 19, 2012, at 4:46 PM, Rashmi Pujar wrote:

> Hi,
> I am trying to implement a static L3 Switch using NOX in Python. I have 
> hardcoded the IPs and hence I do not perform any 'IP learning' as such.
> My network topology looks as below.
> 
>       Switch2<---------->Switch3
>       |                       |
>       |                       |
>       H1                      H4
> 
> When Host1 tries to ping H4 i.e. an ICMP req to H4. The controller ensures 
> the destination mac address in this request is that of H4's; installs a flow 
> in Switch2 and forwards the packet to the next hop i.e. Switch3. At Switch3 
> the arriving ICMP req has no flow entry and hence is sent to controller. The 
> controller again checks against its IP table and installs a flow in Switch3 
> to finally forward the packet to the host at H4. I can see in my logs that a 
> flow entry is being made for action on an appropriate port connecting to H4. 
> However, I am expecting an ICMP echo reply from H4 to complete the ping 
> process and I do not see that happenening...Is there a way to debug this, to 
> actually see if an OF packet has been sent to the host at H4? Am I expected 
> to handle ICMP requests?
> 
> It would be great if you could help.
> 
> Thanks,
> Rashmi
> 

Reply via email to