Multihomed proxy serving 2 wireless networks

Paul Howarth paul at city-fan.org
Tue Mar 8 10:37:19 UTC 2005


Kevin Plew wrote:
> I'm trying to setup 2 wireless networks being served by one server with 2
> NICs. I need 2 wireless networks due to the number of subscibers. The
> server will provide dhcp, dns and a proxy. The proxy is required by my
> satellite provider. DHCP and DNS both work correctly, but the proxy is
> only able to connect to the server @ 10.10.11.50 via eth0. eth1 will not
> connect. I am able to route to eth0 but not to eth1. I have tried adding
> the following to /etc/sysconfig:
> 
> network-scripts/route-eth0 containing 10.10.11.50 via 192.168.1.1
> network-scripts/route-eth1 containing 10.10.11.50 via 192.168.100.1
> 
> The only route that shows up is the route via 192.168.1.1.
> 
> I have tried adding static routes, but then niether interface connected.
> 
> Is there any way to accomplish what I am trying to do?

Is your FC2 server also serving as a router to connect your 2 wireless 
LANs together?

I don't think you really need to be able to connect to 10.10.11.50 via 
both interfaces. If the clients on network 192.168.1.0/24 are assigned a 
gateway of 192.168.1.20 (your eth0) and the clients on network 
192.168.100.0/24 are assigned a gateway of 192.168.100.20 (your eth1), 
then they should all send packets for any off-net addresses such as 
10.10.11.50 to you. You only then need a single route to that IP in 
order to be able to forward those packets to the right destination.

So you should be able to get rid of network-scripts/route-eth1 and the 
clients on that network should still be able to send packets to 
10.10.11.50, by forwarding the packets to you (who has IP forwarding 
turned on), and you forward the packet via eth0 to 10.10.11.50.

Paul.




More information about the fedora-list mailing list