[ovs-discuss] Nicira extension TTL

Warsang warsang at minet.net
Fri Sep 9 02:38:09 UTC 2016


Hello, I am trying to add a rule in ryu to drop packets where TTL=0.
However in ovs when I use sudo ovs-ofctl -O OpenFlow14 add-flow 0_0_1 
"nw_ttl=0 actions=DROP"

And then do: mininet at mininet-vm:~$ sudo ovs-ofctl dump-flows 0_0_1

I get NXST_FLOW reply (xid=0x4):
  cookie=0x0, duration=495.989s, table=0, n_packets=236, n_bytes=14160, 
idle_age=3, priority=65535,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc 
actions=CONTROLLER:65535
  cookie=0x0, duration=496.138s, table=0, n_packets=30, n_bytes=1260, 
idle_age=680, priority=0 actions=CONTROLLER:65535
  cookie=0x0, duration=45.276s, table=0, n_packets=135, n_bytes=5670, 
idle_age=363, actions=drop
  cookie=0x0, duration=1.943s, table=0, n_packets=0, n_bytes=0, 
idle_age=1, priority=1,udp6 actions=dec_ttl


And when I generate traffic, these packets are not dropped. Any idea why 
that is? Thank you in advance.




More information about the discuss mailing list