control PLC with duplicated ip

Hello,

Hope this is the right category for my question.

We got 4 PLC’s (http://en.wikipedia.org/wiki/Programmable_logic_controller)
They are all internal connected to each other

Each PLC got 1 UTP, so we got an total of 4 UTP cables.
With each UTP cable you can connect to each PLC.
So when you put in all the 4 cables to a switch you got duplicated mac’s and ips.

So easy, only connect 1 UTP to the switch you think…
Right, that is not what to customer wants.

They could not change the internal layout so they will be connected together internal.
But the customer would like to test purposes of the software and PLC’s that when they disconnect cable 3, PLC 3 stops working.

What I tried, but a Mikrotik (RB951Ui-2HnD) in Bridge mode.
Port 1: Internal switch
Port 2: PLC 1 (192.168.12.10)
Port 3: PLC 2 (192.168.12.20)
Port 4: PLC 3 (192.168.12.30)
Port 5: PLC 4 (192.168.12.40)

I create 4 firewall block rules.
If ip is not 192.168.12.40 on port 5 then block.
If ip is not 192.168.12.30 on port 4 then block
If ip is not 192.168.12.20 on port 2 then block
If ip is not 192.168.12.10 on port 3 then block

The following rules above are working when i put in a single cable but when i put in all the cables to port 2,3,4 and 5 only the rule from port 5 is working.

Is there a way to control the incomming traffic, like is traffic is looking for 192.168.12.10 got to port 2.
I port 2 is disconnected or could not find 192.168.12.10 then drop.

I hope you guys understand what i trie to make and give me the solution.
Thanks in advance!