Multiple gateways problem
rubenc at arrakis.es
Thu Mar 31 18:37:50 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
I have a quite simple setup in ony of my servers but I can't make
the conditional routing using iptables to work.
The server has:
eth1/eth2: reserved for future use
The eth3 is connected to a separate switch where 30 AP's are
connected to and a dhcp server running on the server gives IP's to
clients connected to the wireless lan. In the same way, eth0 is
connected to another set of switchs (isolated from the switch where
eth3 is connected to) where all LAN clients (192.168.2.0/23) are
I can use two gateways, both of them are accessed via eth0:
192.168.3.250 and 220.127.116.11. The default gateway for all the LAN
clients (192.168.2.0/23) is (and must be) 192.168.3.254 and just a
few people is allowed to use the other gateway.
The desired configuration is that I want to be able to route
certain clients from eth3 (10.10.100.0/24) via 192.168.3.250 instead
of the default gw of the server (192.168.3.254).
All the configurations I've tried, doesn't work or make LAN clients
loose connectivity with the server. How should I setup routes/rules?
- - Ruben.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1
-----END PGP SIGNATURE-----
More information about the netfilter