I'm having trouble setting up multiple network cards with the IP address
from the same subnet, on one machine. It should look like this:
eth0 10.1.1.1 --- switch (LAN) - workstations
eth1 10.1.1.2 ---/
So a server has two cards: eth0 (10.1.1.1), and eth1 (10.1.1.2).
Now what I want to achieve:
1) any workstation which connects (send packets, initiates connection)
to 10.1.1.1/eth0, should also receive packets from 10.1.1.1/eth0
2) any workstation which connects (send packets, initiates connection)
to 10.1.1.2/eth1, should also receive packets from 10.1.1.2/eth1
3) if the server initiates connection, I don't care which card it will
choose as an outhoing interface
4) if the network cable eth0-switch is broken, clients should be able to
connect to eth1, and vice versa.
After spending two day on reading Advanced Routing HOWTO and other
similar documents, all I'm able to do is:
1) pinging 10.1.1.2/eth1 results in replies from eth0
2) disconnecting eth0 results in 10.1.1.2/eth1 being unavailable.
I don't want to achieve it through aliases, which is trivial
--
Tomek
http://wpkg.org