Here is my situation:
I'm using SuSE 9.1 Pro.
I have two DSL connections both managed with Linksys routers.
Linksys #1- 192.168.1.1
Linksys #2- 192.168.1.50
I have the Linux box with two network cards setup as a gateway for the internal LAN.
eth0 - 192.168.0.1
eth1 - 192.168.1.253
The default route right now on the Linux box is 192.168.1.1 (Linksys#1)
I have successfuly setup NATing on the Linux box.
Right now my internal LAN points to 192.168.0.1 for a gateway and has internet access on Linksys #1.
I can simply switch my default gateway on the Linux box to 192.168.1.50 and then everyone has access on the second DSL connection (Linksys#2)
What I need to do is...
Get everyone accessing the net on the first DSL connection execpt for three clients.
I want three hosts on the internal LAN
to use the same gateway as everyone else (192.168.0.1) but get routed to use the second DSL connection.(192.168.1.50)
I have fooled around with NATing rules and route commands without success.
I am wondering if this "conditional routing" is possilbe with my current setup?
I have been able to setup multiple gateways depending on the traffic destination using route add -net etc... but that does not fully help me in my situation.
I hope this is clear. If I have missed sharing any needed information, please let me know and I will be happy to share more information.
Thanks so much for any light shed on my problem.