Created
March 23, 2017 19:00
-
-
Save trozet/c705050b3beb43ea265f48f4d877b2dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### dhcp example | |
ovs-appctl ofproto/trace br-int in_port=7,udp,dl_src=fa:16:3e:f4:bd:de,dl_dst=ff:ff:ff:ff:ff:ff,nw_dst=255.255.255.255,udp_dst=67,udp_src=68 | |
Megaflow: recirc_id=0,udp,tun_id=0,in_port=7,dl_src=fa:16:3e:f4:bd:de,dl_dst=ff:ff:ff:ff:ff:ff,nw_ecn=0,nw_frag=no,tp_src=68,tp_dst=67 | |
Datapath actions: tnl_push(tnl_port(2),header(size=50,type=4,eth(dst=52:54:00:9b:2f:62,src=1e:36:0f:9e:1d:41,dl_type=0x0800),ipv4(src=11.0.0.21,dst=11.0.0.26,proto=17,tos=0,ttl=64,frag=0x4000),udp(src=0,dst=4789,csum=0x0),vxlan(flags=0x8000000,vni=0x138a)),out_port(4)),tnl_push(tnl_port(2),header(size=50,type=4,eth(dst=2a:da:01:b8:5f:46,src=1e:36:0f:9e:1d:41,dl_type=0x0800),ipv4(src=11.0.0.21,dst=11.0.0.28,proto=17,tos=0,ttl=64,frag=0x4000),udp(src=0,dst=4789,csum=0x0),vxlan(flags=0x8000000,vni=0x138a)),out_port(4)) | |
###vxlan packet | |
ovs-appctl ofproto/trace br-int in_port=4, | |
### arp example | |
recirc_id(0),in_port(2),eth(src=00:c4:62:d9:dc:42,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=192.168.37.1,tip=192.168.37.201,op=1/0xff), packets:14, bytes:588, used:1.058s, ac | |
tions:1 | |
ovs-appctl ofproto/trace br-int in_port=1,arp,dl_src=00:c4:62:d9:dc:42,dl_dst=ff:ff:ff:ff:ff:ff,arp_tpa=192.168.37.201,arp_spa=192.168.37.1,arp_op=1,arp_sha=00:c4:62:d9:dc:42 | |
###ovs show datplane | |
ovs-appctl dpctl/show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment