I would like to set up a machine with 2 network interfaces in the following setup:
LAN1 <---> PC <---> LAN2
The tricky part is that the PC should be accessible from both LAN1 and LAN2 with the same IP address, and LAN1 and LAN2 should not be connected. So far I've tried:
1) Setting up a bridge on the two interfaces; however bridges are generally designed to forward traffic, and I do not want that behaviour.
2) Setting up a bonding interface with mode 3. This works but sends any reply from the PC out on both interfaces.
Do you guys know any alternatives?
Thanks,
Sander