I have two buildings:
A has one internet gateway and one IP camera(AC:CC:8E).
B has one internet gateway and a NAS(00:11:32).
It is possible to connect both buildings using ethernet wire.
Both internet gateways have the same non-changeable IP address, they also don't support static routes. I cannot replace them.
The IP camera of building A should be able to access the NAS of building B while maintaining internet connectivity through the internet gateway of building A. It should not use gateway from building B! It is not possible to assign more than one IP address to the camera!
I tried the following approach, but although I only allow the MAC address of NAS and camera, it is failing because they are sending wrong ARP broadcast replies for other devices when asked to the other network:
Code: Select all
/interface bridge port
add bridge=bridge1 hw=no interface=ether1
add bridge=bridge1 hw=no interface=ether2
/interface bridge filter
add action=accept chain=forward dst-mac-address=FF:FF:FF:FF:FF:FF/FF:FF:FF:FF:FF:FF src-mac-address=AC:CC:8E:??:??:??/FF:FF:FF:FF:FF:FF
add action=accept chain=forward dst-mac-address=00:11:32:??:??:??/FF:FF:FF:FF:FF:FF src-mac-address=AC:CC:8E:??:??:??/FF:FF:FF:FF:FF:FF
add action=accept chain=forward dst-mac-address=FF:FF:FF:FF:FF:FF/FF:FF:FF:FF:FF:FF src-mac-address=00:11:32:??:??:??/FF:FF:FF:FF:FF:FF
add action=accept chain=forward dst-mac-address=AC:CC:8E:??:??:??/FF:FF:FF:FF:FF:FF src-mac-address=00:11:32:??:??:??/FF:FF:FF:FF:FF:FF
add action=drop chain=forward