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.
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. -- Murphy On Jul 23, 2013, at 3:20 AM, Silvia Fichera wrote: > Same situation if I whatch, e.g. h1-eth0, and it is pinging. I have only UDP, > ARP and ICMP. No OF packet. > > > 2013/7/23 Murphy McCauley <[email protected]> > 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... > > -- Murphy > > On Jul 23, 2013, at 3:08 AM, Silvia Fichera wrote: > >> I've filtered of packets and I can see it ONLY if I choose "any" interface. >> 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. >> >> >> 2013/7/23 Murphy McCauley <[email protected]> >> A couple tips: >> >> 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). >> >> Make sure you are doing the output action AFTER you do the rewrite action. >> >> -- Murphy >> >> On Jul 23, 2013, at 2:48 AM, Silvia Fichera wrote: >> >>> >>> Hi all, >>> I added in l3_learning the action of changeing dst IP with >>> >>> action.append.(of.ofp_action_nw_addr.set_dst(IPAddr(new_dstaddr))) >>> >>> where new_dstaddr is the new destination IP. >>> How can I check if the action of changing dstip had success? >>> In wireshark I've checked srcip and dstip of the ipv4 packet but the >>> destination is unchanged... >>> >>> Thanks >>> -- >>> Silvia Fichera >> >> >> >> >> -- >> Silvia Fichera > > > > > -- > Silvia Fichera
