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...!??!?!
Yes, I know this setup can be changed to run using BGP4 but it is not
possible to use it because my BBones do not use it and I have no
experiencia on it.
I tried some rules in ipfwadm like this:
/sbin/ipfwadm -F -a accept -m -P tcp -S 192.168.2.0/24 -D 0.0.0.0/0 -W
eth1
/sbin/ipfwadm -F -a accept -m -P udp -S 192.168.2.0/24 -D 0.0.0.0/0 -W
eth1
but it dont works...... :-(((
someone can PLEASE give me some clues on a way to make it run!??!?!
TIA and sorry for the big post.
Andre Correa
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]