We need a way to insert a device between a target device and the network, ideally without needing to change any IP addresses.
Currently, the situation is (please excuse the ASCII art)
----------- -------------
| x.x.x.5 | ----- | x.x.x.10 |
----------- -------------
What we are trying to do is insert a device with two network interfaces, and what we'd LIKE to do is arrange the IPs so each side thinks it's talking to the orignal device. We'll take care of moving the data from one interface to the other.
----------- -------------------------------- ------------
| x.x.x.5 | --- | eth0 x.x.x.10 x.x.x.5 eth1 |--- | x.x.x.10 |
----------- -------------------------------- ------------
Is there a way to setup the routing table such that a request for x.x.x.10 that comes in from eth0 gets sent out eth1, and requests for x.x.x.5 that arrive via eth1 get sent out eth0?
The middle box is running Linux.
No comments:
Post a Comment