<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I assumed you were trying to look at the packet for which you'd done the rewriting (which I would not expect to be OpenFlow) to see if it had been rewritten correctly.<div><br></div><div>If you want to look at the flow_mod to make sure it looks correct, the correct interface to look at depends on your configuration. If you're using Mininet in a VM and POX in your host environment, it's the virtual adapter between the VM and host (the default sets this up as eth0). But perhaps an easier way is to run the openflow.debug POX component, which will generate a .pcap trace file in the POX directory that you can load into Wireshark.</div><div><br></div><div>-- Murphy</div><div><br><div><div>On Jul 23, 2013, at 3:20 AM, Silvia Fichera wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Same situation if I whatch, e.g. h1-eth0, and it is pinging. I have only UDP, ARP and ICMP. No OF packet.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/23 Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>What happens if you watch the host's interface instead? If you don't see the packets there, it seems like you may have a problem elsewhere...</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Murphy</div></font></span><div><div class="h5"><div><br></div><div><div><div>On Jul 23, 2013, at 3:08 AM, Silvia Fichera wrote:</div><br><blockquote type="cite">
<div dir="ltr">I've filtered of packets and I can see it ONLY if I choose "any" interface. <div>If I'm on a switch (the right switch) interface, I see nothing with that filter. Without filter I can see only ARP, ICMP and UDP packets.
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/23 Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>A couple tips:</div><div><br></div>Make you sure you're running wireshark on the right interface (e.g., the outgoing interface of the switch or the interface of the destination host).<div>
<br></div><div>Make sure you are doing the output action AFTER you do the rewrite action.</div><span><font color="#888888"><div><br></div><div>-- Murphy</div></font></span><div><div><div><br></div>
<div><div>On Jul 23, 2013, at 2:48 AM, Silvia Fichera wrote:</div><br><blockquote type="cite"><div dir="ltr"><br clear="all"><div><span style="font-family:arial,sans-serif;font-size:13px">Hi all,</span><div style="font-family:arial,sans-serif;font-size:13px">
I added in l3_learning the action of changeing dst IP with </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">action.append.(of.ofp_action_nw_addr.set_dst(IPAddr(new_dstaddr)))</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">where new_dstaddr is the new destination IP.</div><div style="font-family:arial,sans-serif;font-size:13px">How can I check if the action of changing dstip had success?</div>
<div style="font-family:arial,sans-serif;font-size:13px">In wireshark I've checked srcip and dstip of the ipv4 packet but the destination is unchanged... <br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div><br></div><div>Thanks</div></div></div>-- <br>Silvia Fichera
</div>
</blockquote></div><br></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Silvia Fichera
</div>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Silvia Fichera
</div>
</blockquote></div><br></div></body></html>