openvswitch packet-out example

Even
Dec 18, 2020

--

First, need to dump hex string from Wireshark like below

Enter the ovs-ofctl command

ovs-ofctl packet-out switch in_port actions packet...

Example:

sudo ovs-ofctl packet-out s3 packet=c402326b0000c4013258000008060001080006040001c401325800000a000001c402326b00000a000002000000000000000000000000000000000000,action=mod_vlan_vid:10,output:1

There is no example on the internet, just share the simple command.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response