On a somewhat related topic, consider this scenerio:

I want a linux box to function sort of like a switch, passing through internet 
traffic, but isolating each network device from another.

Example:
eth0 = connection to a Masqing box (192.168.1.x network)
eth1 = office 1  (192.168.1.41-50)
eth2 = office 2  (192.168.1.51-60)
eth3 = office 3  (192.168.1.61-70)

In this box, I want no masquerading to take place.. I want a machine connected to eth1 
with an IP of 192.168.1.42 routed right out eth0 as the same IP.  Basically just like 
I had a dumb hub.  The reason for the need for some intelligience here is that I don't 
want Win95 machines in office 1 seeing machines in office 2 using their netbios / 
whatever protocol.

The reverse obviously has to work: if a packet comes into eth0 for 192.168.1.65, it 
should go right out eth3 with that same IP.  This means that eth0 will be responding 
to several IP numbers, not just its own.

If it makes it any easier, I can change eth0's network numbers to be on another 
network (like 10.0.0.x), but I still need the 1:1 mapping.

How/where in IPCHAINS???

Bob

Reply via email to