I have a series of modules (similar to a RPi) that run a Linux flavor each having an Ethernet NIC. I have 4 of these and I want to connect them to a switch to be able to send UDP packets to each one individually from a host connected to the same switch. Each one has its own IP address in the 192.168.1.0 subnet. It seems simple enough to get this to work, the problem is all of them have the same MAC Address (except for the host). This of course causes problems with the switch when sending packets to the modules. Packets to the host are received fine.
I am not able to change their MAC Addresses, only the IP Addresses, although that won't help much given that the switch works based on MAC entries.
With this setup the only way to make sure the UDP packets actually reach the modules every time would be to broadcast them all over the subnet. The problem with this approach is that they don't handle very well the fact of being constantly flooded with packets that initially aren't for them. The time spent handling the packet causes timeouts in the system which renders this solution unfeasible.
Another solution would be to isolate each in one VLAN in order to separate broadcast domains and configure the routing paths accordingly. The problem with this is that I don't have spare equipment that I could use to do this and even if I had, my networking knowledge is limited when it comes to VLANs.
At this point I would need an advice about this problem... maybe a scenario that I haven't thought about yet in which I could get this to work with as few extra hardware as possible?
Thank you in advance!