[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Stuck in a hell of routing :(



Hi All,

I'm stuck in a routing issue maybe someone has an idea.

I try to have a URL based routing which then gets routed to 6
different Modems accessing the internet.

As URL based routing is not possible I have setup different squid
instances which are now following some of the peer_cache rules.

With this I was able to have URL based routing.

but now I got stuck with the routing of the packages itself.

I have done each squid in a single class C network

example

master squid       192.168.0.100
first peer_cache   192.168.10.100
second peer cache  192.168.11.100
.......

the tcp_outgoind_address has been set to 192.168.x.100 for each squid
instance so that the packages for the requests launched in different
networks.

the second part is now a win2k3 system with all the modems connected
and with routing enabled.

the idea is now that the requests coming from 192.168.10.100 are
getting routed via modem A

example

first peer_cache   192.168.10.100 -> modem A
second peer cache  192.168.11.100 -> modem B
.......

as each modem is in priciple a 0.0.0.0 gateway, I get in trouble as
only one is allowed.

the problem by the way is still on the linux box which simply routes
the packages via df GW 0.0.0.0 on that linux box.

how do I need to setup the routing to get the squid packages deliverd
to the win2k3 system.

192.168.10.103  192.168.10.100  255.255.255.255 UGH   0      0        0 eth0
192.168.2.0     *               255.255.255.0   U     0      0        0 eth1
localnet        *               255.255.255.0   U     0      0        0 eth0
192.168.15.0    *               255.255.255.0   U     0      0        0 eth0
192.168.14.0    *               255.255.255.0   U     0      0        0 eth0
192.168.13.0    *               255.255.255.0   U     0      0        0 eth0
192.168.12.0    *               255.255.255.0   U     0      0        0 eth0
192.168.11.0    *               255.255.255.0   U     0      0        0 eth0
192.168.10.0    *               255.255.255.0   U     0      0        0 eth0

this was an idea to get my 192.168.10.0 packages to the win2k3 system
but this route is only valid for 192.168.10.x destinations so how
could I also deliver 0.0.0.0 destinated packages to 192.168.10.103
(win2k3)
and 192.168.11.x sourced packages to 192.168.11.103 which are for
0.0.0.0 and so on.

I have to use the different modems for 0.0.0.0 as any modem delivers
different rights in the net therefore all this :)


any ideas are welcome also its welcome to tell me a bloody stupid dump
if you have a solution at the end ;)

cheers
Werner













Reply to: