Working with a SPAN Port

droidus

Well-Known Member
Apr 5, 2020
112
2
58
35
I am connecting my second NIC card to a span port on my switch. Here is how I have my proxmox LInux Bridge setup and my VM host configured. I've attached vmbr1 to my VM. I can only ping the Linux Bridge device, but not my proxmox host, nor the gateway. What am I doing wrong? And is this the best way to do this?

screen.png

screen2.png
 
Hi,

normally a span port is a oneway connection, where you can sniff the data of the mirrored port.
Then remove the IP on the vmbr1, because it is not necessary.
Also, you have to set the vmbr1 in "Promiscuous Mode" to receive packages what are not for you MAC
 
I removed the IP. I do not see Promiscuous Mode as a setting.
 

Attachments

  • screen.png
    screen.png
    27.3 KB · Views: 6
This is an advanced topic and can't be set over the GUI.
You have to do this on the command-line.
 
Normally a pci-passthrough (NIC) is the better approach for such setups.
Because it needs less CPU time to handle the packages on multiple layers.