We are developing equipment used to test hardware devices which communicate through network. Something like unit testing, but with hardware. For one scenario we would like to redirect some part of network traffic into a PC but leave other traffic switched directly. The traffic would be selected using IP addresses and TCP/UDP port number. I think this could be done using filter-based VLANs (am I right?).
When using filter-based VLAN which will route some TCP ports on one target device and other ports of the same IP address on another target device, how could be MAC addresses handled? Do I need to setup both target devices to have same MAC address? Can switch modify MAC address when passing packets between VLANs?