Persist OVS Port Mirror After Reboots

0xBEN

Member
May 6, 2020
13
0
6
I'll keep the post short and to the point:

I have successfully configured a port mirror using ovs-vsctl.
I have read somewhere that I can add the mirror to /etc/network/interfaces in order for it to persist reboots.
However, I don't know the exact syntax to use. Can anyone advise how to add the mirror to the interfaces file?

Thank you in advance.
 
What about issuing that command in a post-up line of the interface? Disclaimer: I don't really have much experience with OVS.
 
What about issuing that command in a post-up line of the interface? Disclaimer: I don't really have much experience with OVS.
Sad to say that did not seem to do the trick.
Guess I'm going to have to do what everyone else seems to do -- write a script.
Thanks for the suggestion, though.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!