Question : How do I route with multiple NIC's in Linux

I have 20 users accessing our network remotely.  All have static IP's, are on the same network and come into our network via a cisco router/WAN Connection.  Using a linux box with multiple NICS I need to route specific remote users to networks on the muliple NICS, based on their static IP Numbers.   For example IP number 192.168.1.25 should be routed to servers on eth1/192.168.2.1 wheras IP number 192.168.1.26 should be routed to servers on eth2/192.168.3.1.  I am currently using OpenSUSe 11 but could change distributions if considered expedient.  I have a fair knowledge of Linux but my linux networking is limited so would appreciate any directions.

Answer : How do I route with multiple NIC's in Linux

OK, in that case all what you need to do is use iptables to stop traffic to other IPs. Is your linux box configured to act as a router?

here a link for iptables:

http://iptables-tutorial.frozentux.net/iptables-tutorial.html

When I posted my solution, I thought you are talking about remote systems on different places and that you have multiple links to route traffic over.
Random Solutions  
 
programming4us programming4us