On Tue, 13 Oct 1998, Andre Correa wrote:

> Hi, I got a complicated network situation and now I can't find the exit.
> 
> I have 30 computers separeted in 3 subnets (192.168.0.0 192.168.1.0
> 192.168.2.0) and 3 connections with the Internet (1 is a digital leased
> line running 64Kbps and the 2 other are dialup connections). For the
> 64Kbps line I use s Lucent Office Router to connect and the 2 dial-ups
> are running in a linux slack 2.0.35
> 
> 
>           |     |
>         dial1  dial2
>           |     |
>           |     |
>         ------------                      -----------------
>         |  linux   |----------------------| Office Router |---64Kbps--
>         ------------\                      -----------------
>              |       \                     \
>              |        \NIC: 200.230.1.130   \
>            -----                             \ether0: 200.230.1.129
>            |Hub|
>            -----
>              |
>              |
>         local networks 
>         192.168.0.0 1.0 2.0
> 
> So I want that the people in 192.168.0.0 access the Net via dial1,
> 192.168.1.0 access the Net via dial2 and the guys in 192.168.2.0 access
> the Internet via 64Kbps line.
> My linux have in the ethernet NIC ips of the 3 192.168 nets, so it talks
> to all the machines in the local network, and the Office Router.
> 
> The problem is how to setup masquerade/forward in linux to make all the
> traffic from 192.168.2.0 go to the Office Router like it was originated
> from the 200.230.1.130 IP that is a real IP and that Office Route knows
> how to route...!??!?!

There is an backage called routing-2.0.33 or route-2.0.33, which is an
path to 2.0.33 kernel, which allows source-routing (packets are routed not
only according to dectination, but according to source (origin) too.

There are some patches fot netutils too (you have to get or recompile
'route' and I'm sure other commands, ehich allows it).

I have tried it, but due to no enough of time i (still) didn't succeed
(and I need not it yet)...

                                Regards...
                                       +-----------------------------------+
                                       |                                   |
                                       |            Radim HABALA           |
                                       |                                   |
                                       |   e-mail:   [EMAIL PROTECTED]    |
                                       |                                   |
                                       |   Englisova 13, OPAVA,  746 01    |
                                       |      Czech Republic (Europe)      |
                                       |                                   |
                                       |   tel :  (0653)   21 46 34        |
                                       |                                   |
                                       +-----------------------------------+


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to