Packet capture from mirrored switch port to VM guest

Adam Moffett

New Member
Sep 16, 2016
2
0
1
44
I need to capture traffic from an LTE base station to assist the vendor in troubleshooting. I happened to have a Proxmox VE installation at the site already, so I wanted to try using that to capture traffic.

I have wireshark installed on a Windows guest. I had an extra NIC (eth3) on the host so I created a new bridge with eth3 as a member and then added a new e1000 interface to the guest. I confgured the switch to mirror traffic from the LTE unit to the port which host eth3 is connected to.

The bridge discards this traffic since the destination MAC addresses are not present on the bridge. This behavior makes perfect sense in hindsight, but I was wondering if there's any way around it. I found several (old) examples on the web which said to set the bridge ageing timeout to 0, but that doesn't seem to work for me. Any suggestions?

I can capture traffic on the Proxmox host, but the vendor's support person is more comfortable working in WIndows.
 
Hi,

try to use instead e1000 the virtio bus.

Or make a tcpdump file on the Host and send it to the support then he can analyse it with wireshark on windows.
 
Open a remote SSH tunnel from the monitoring box to the server to be monitored. Run TCPdump and let it stream to this machine. something like: tcpdump port 5060 -s 0 -w - if you want to see SIP packets.

You also can use this sollution to capture packets on a remote linux server and route it over a layer 3 network.
 

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!