Skip to content

Instantly share code, notes, and snippets.

@mavenugo
Created March 2, 2014 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mavenugo/9307021 to your computer and use it in GitHub Desktop.
Save mavenugo/9307021 to your computer and use it in GitHub Desktop.
[fedora@fedora4 devstack]$ sudo tcpdump -i tapabc617ee-43 -e
tcpdump: WARNING: tapabc617ee-43: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tapabc617ee-43, link-type EN10MB (Ethernet), capture size 65535 bytes
07:34:36.861192 fa:16:3e:46:24:8c (oui Unknown) > Broadcast, ethertype ARP (0x0806), length 42: Request who-has 10.210.1.3 tell 10.210.1.2, length 28
07:34:36.861926 fa:16:3e:2b:6f:f0 (oui Unknown) > fa:16:3e:46:24:8c (oui Unknown), ethertype ARP (0x0806), length 42: Reply 10.210.1.3 is-at fa:16:3e:2b:6f:f0 (oui Unknown), length 28
5 packets captured
5 packets received by filter
0 packets dropped by kernel
[fedora@fedora4 devstack]$ sudo ovs-ofctl dump-flows br-int -O OpenFlow13 | grep table=10 | grep 102
cookie=0x0, duration=1855.259s, table=10, n_packets=799, n_bytes=33558, send_flow_rem priority=8192,tun_id=0x102 actions=goto_table:20
cookie=0x0, duration=1857.584s, table=10, n_packets=125, n_bytes=6038, send_flow_rem priority=16384,tun_id=0x102,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,goto_table:20
cookie=0x0, duration=1857.474s, table=10, n_packets=0, n_bytes=0, send_flow_rem ip,tun_id=0x102,dl_dst=fa:16:3e:46:24:8c actions=output:2,set_field:8->nw_tos_shifted,goto_table:20
cookie=0x0, duration=1857.61s, table=10, n_packets=0, n_bytes=0, send_flow_rem ip,tun_id=0x102,dl_dst=fa:16:3e:0f:11:8e actions=output:2,set_field:8->nw_tos_shifted,goto_table:20
[fedora@fedora4 devstack]$ sudo ovs-ofctl dump-flows br-int -O OpenFlow13 | grep table=0 | grep 102
cookie=0x0, duration=1903.322s, table=0, n_packets=958, n_bytes=41994, send_flow_rem tun_id=0x102,in_port=2 actions=goto_table:20
cookie=0x0, duration=1901.022s, table=0, n_packets=962, n_bytes=41192, send_flow_rem in_port=3,dl_src=fa:16:3e:2b:6f:f0 actions=set_field:0x102->tun_id,goto_table:10
[fedora@fedora4 devstack]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment