Skip to content

Instantly share code, notes, and snippets.

@dav1x
Created January 24, 2018 16:50
Show Gist options
  • Save dav1x/f44463cbf7bdec6675efae58dbd0b654 to your computer and use it in GitHub Desktop.
Save dav1x/f44463cbf7bdec6675efae58dbd0b654 to your computer and use it in GitHub Desktop.
[root@infra-0 ~]# curl -kv 10.129.1.4:5000
* About to connect() to 10.129.1.4 port 5000 (#0)
* Trying 10.129.1.4...
* Connected to 10.129.1.4 (10.129.1.4) port 5000 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 10.129.1.4:5000
> Accept: */*
>
* Connection #0 to host 10.129.1.4 left intact
[root@infra-0 ~]# ovs-ofctl -O openflow13 dump-flows br0
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=3302.115s, table=0, n_packets=0, n_bytes=0, priority=250,ip,in_port=2,nw_dst=224.0.0.0/4 actions=drop
cookie=0x0, duration=3302.135s, table=0, n_packets=48, n_bytes=2016, priority=200,arp,in_port=1,arp_spa=10.129.0.0/16,arp_tpa=10.129.1.0/24 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[],goto_table:10
cookie=0x0, duration=3302.128s, table=0, n_packets=29, n_bytes=2454, priority=200,ip,in_port=1,nw_src=10.129.0.0/16 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[],goto_table:10
cookie=0x0, duration=3302.123s, table=0, n_packets=0, n_bytes=0, priority=200,ip,in_port=1,nw_dst=10.129.0.0/16 actions=move:NXM_NX_TUN_ID[0..31]->NXM_NX_REG0[],goto_table:10
cookie=0x0, duration=3302.111s, table=0, n_packets=9, n_bytes=378, priority=200,arp,in_port=2,arp_spa=10.129.1.1,arp_tpa=10.129.0.0/16 actions=goto_table:30
cookie=0x0, duration=3302.107s, table=0, n_packets=7209, n_bytes=903724, priority=200,ip,in_port=2 actions=goto_table:30
cookie=0x0, duration=3302.119s, table=0, n_packets=0, n_bytes=0, priority=150,in_port=1 actions=drop
cookie=0x0, duration=3302.104s, table=0, n_packets=8, n_bytes=648, priority=150,in_port=2 actions=drop
cookie=0x0, duration=3302.100s, table=0, n_packets=61, n_bytes=2562, priority=100,arp actions=goto_table:20
cookie=0x0, duration=3302.096s, table=0, n_packets=5979, n_bytes=2290633, priority=100,ip actions=goto_table:20
cookie=0x0, duration=3302.093s, table=0, n_packets=21, n_bytes=1674, priority=0 actions=drop
cookie=0x0, duration=3301.901s, table=10, n_packets=7, n_bytes=501, priority=100,tun_src=10.19.114.244 actions=goto_table:30
cookie=0x0, duration=1720.403s, table=10, n_packets=9, n_bytes=378, priority=100,tun_src=10.19.114.242 actions=goto_table:30
cookie=0x0, duration=1720.349s, table=10, n_packets=14, n_bytes=1114, priority=100,tun_src=10.19.114.243 actions=goto_table:30
cookie=0x0, duration=811.180s, table=10, n_packets=21, n_bytes=882, priority=100,tun_src=10.19.114.241 actions=goto_table:30
cookie=0x0, duration=3302.089s, table=10, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3097.002s, table=20, n_packets=57, n_bytes=2394, priority=100,arp,in_port=5,arp_spa=10.129.1.4,arp_sha=0a:58:0a:81:01:04 actions=load:0->NXM_NX_REG0[],note:66.fc.09.59.9e.d1.3b.37.20.13.c5.c7.9f.86.48.2b.42.2a.b7.fc.49.a7.54.0e.57.74.27.d6.3a.1d.4b.44.00.00.00.00.00.00,goto_table:21
cookie=0x0, duration=3096.998s, table=20, n_packets=5868, n_bytes=2263907, priority=100,ip,in_port=5,nw_src=10.129.1.4 actions=load:0->NXM_NX_REG0[],goto_table:21
cookie=0x0, duration=3302.086s, table=20, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3302.082s, table=21, n_packets=6040, n_bytes=2293195, priority=0 actions=goto_table:30
cookie=0x0, duration=3302.078s, table=30, n_packets=6, n_bytes=252, priority=300,arp,arp_tpa=10.129.1.1 actions=output:2
cookie=0x0, duration=3302.067s, table=30, n_packets=5835, n_bytes=2261445, priority=300,ip,nw_dst=10.129.1.1 actions=output:2
cookie=0x0, duration=3302.074s, table=30, n_packets=57, n_bytes=2394, priority=200,arp,arp_tpa=10.129.1.0/24 actions=goto_table:40
cookie=0x0, duration=3302.060s, table=30, n_packets=7238, n_bytes=906178, priority=200,ip,nw_dst=10.129.1.0/24 actions=goto_table:70
cookie=0x0, duration=3302.071s, table=30, n_packets=55, n_bytes=2310, priority=100,arp,arp_tpa=10.129.0.0/16 actions=goto_table:50
cookie=0x0, duration=3302.063s, table=30, n_packets=111, n_bytes=26726, priority=100,ip,nw_dst=10.128.0.0/16 actions=goto_table:60
cookie=0x0, duration=3302.056s, table=30, n_packets=33, n_bytes=2462, priority=100,ip,nw_dst=10.129.0.0/16 actions=goto_table:90
cookie=0x0, duration=3302.052s, table=30, n_packets=0, n_bytes=0, priority=50,ip,in_port=1,nw_dst=224.0.0.0/4 actions=goto_table:120
cookie=0x0, duration=3302.049s, table=30, n_packets=0, n_bytes=0, priority=25,ip,nw_dst=224.0.0.0/4 actions=goto_table:110
cookie=0x0, duration=3302.045s, table=30, n_packets=0, n_bytes=0, priority=0,ip actions=goto_table:100
cookie=0x0, duration=3302.041s, table=30, n_packets=0, n_bytes=0, priority=0,arp actions=drop
cookie=0x0, duration=3096.994s, table=40, n_packets=50, n_bytes=2100, priority=100,arp,arp_tpa=10.129.1.4 actions=output:5
cookie=0x0, duration=3302.037s, table=40, n_packets=3, n_bytes=126, priority=0 actions=drop
cookie=0x0, duration=3301.894s, table=50, n_packets=2, n_bytes=84, priority=100,arp,arp_tpa=10.129.3.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.244->tun_dst,output:1
cookie=0x0, duration=1720.398s, table=50, n_packets=19, n_bytes=798, priority=100,arp,arp_tpa=10.129.0.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.242->tun_dst,output:1
cookie=0x0, duration=1720.344s, table=50, n_packets=2, n_bytes=84, priority=100,arp,arp_tpa=10.129.2.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.243->tun_dst,output:1
cookie=0x0, duration=811.176s, table=50, n_packets=0, n_bytes=0, priority=100,arp,arp_tpa=10.129.5.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.241->tun_dst,output:1
cookie=0x0, duration=3302.034s, table=50, n_packets=30, n_bytes=1260, priority=0 actions=drop
cookie=0x0, duration=3302.030s, table=60, n_packets=111, n_bytes=26726, priority=200,reg0=0 actions=output:2
cookie=0x0, duration=3301.782s, table=60, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=10.128.0.1,nw_frag=later actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3248.562s, table=60, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=10.128.96.180,nw_frag=later actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3172.212s, table=60, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=10.128.235.33,nw_frag=later actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3096.752s, table=60, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=10.128.14.21,nw_frag=later actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3301.778s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.0.1,tp_dst=443 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3301.774s, table=60, n_packets=0, n_bytes=0, priority=100,udp,nw_dst=10.128.0.1,tp_dst=53 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3301.770s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.0.1,tp_dst=53 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3248.555s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.96.180,tp_dst=80 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3248.545s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.96.180,tp_dst=443 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3248.537s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.96.180,tp_dst=1936 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3172.207s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.235.33,tp_dst=5000 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3096.745s, table=60, n_packets=0, n_bytes=0, priority=100,tcp,nw_dst=10.128.14.21,tp_dst=9000 actions=load:0->NXM_NX_REG1[],load:0x2->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3302.027s, table=60, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3096.990s, table=70, n_packets=7109, n_bytes=750649, priority=100,ip,nw_dst=10.129.1.4 actions=load:0->NXM_NX_REG1[],load:0x5->NXM_NX_REG2[],goto_table:80
cookie=0x0, duration=3302.023s, table=70, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3302.019s, table=80, n_packets=7080, n_bytes=748195, priority=300,ip,nw_src=10.129.1.1 actions=output:NXM_NX_REG2[]
cookie=0x0, duration=3301.955s, table=80, n_packets=158, n_bytes=157983, priority=200,reg0=0 actions=output:NXM_NX_REG2[]
cookie=0x0, duration=3301.951s, table=80, n_packets=0, n_bytes=0, priority=200,reg1=0 actions=output:NXM_NX_REG2[]
cookie=0x0, duration=3267.319s, table=80, n_packets=0, n_bytes=0, priority=100,reg0=0xed6ced,reg1=0xed6ced actions=output:NXM_NX_REG2[]
cookie=0x0, duration=3302.015s, table=80, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3301.888s, table=90, n_packets=5, n_bytes=345, priority=100,ip,nw_dst=10.129.3.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.244->tun_dst,output:1
cookie=0x0, duration=1720.393s, table=90, n_packets=8, n_bytes=592, priority=100,ip,nw_dst=10.129.0.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.242->tun_dst,output:1
cookie=0x0, duration=1720.340s, table=90, n_packets=12, n_bytes=886, priority=100,ip,nw_dst=10.129.2.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.243->tun_dst,output:1
cookie=0x0, duration=811.171s, table=90, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=10.129.5.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.241->tun_dst,output:1
cookie=0x0, duration=3302.012s, table=90, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3302.008s, table=100, n_packets=0, n_bytes=0, priority=0 actions=goto_table:101
cookie=0x0, duration=3302.005s, table=101, n_packets=0, n_bytes=0, priority=51,tcp,nw_dst=10.19.114.245,tp_dst=53 actions=output:2
cookie=0x0, duration=3302.001s, table=101, n_packets=0, n_bytes=0, priority=51,udp,nw_dst=10.19.114.245,tp_dst=53 actions=output:2
cookie=0x0, duration=3301.997s, table=101, n_packets=0, n_bytes=0, priority=0 actions=output:2
cookie=0x0, duration=3301.993s, table=110, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=811.166s, table=111, n_packets=0, n_bytes=0, priority=100 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.19.114.241->tun_dst,output:1,set_field:10.19.114.242->tun_dst,output:1,set_field:10.19.114.243->tun_dst,output:1,set_field:10.19.114.244->tun_dst,output:1,goto_table:120
cookie=0x0, duration=3301.985s, table=120, n_packets=0, n_bytes=0, priority=0 actions=drop
cookie=0x0, duration=3301.982s, table=253, n_packets=0, n_bytes=0, actions=note:01.05.00.00.00.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment