Eduardo Soriano wrote:
> 
> Setting up a 4 layers LAN
> 
> Description:
> 
> -------------| eth0 |-----------|
> Internet     |<---->|Firewall   |
> -------------|      |-----------|
>                          |  eth1
>                          |
>      192.1.1.0           | NetAddress1 ------|
>                          |                   |
>                          |  eth0             |
>                     |-----------|       |-----------|
>                     |Router_1   |       |Client_1_1 |
>                     |-----------|       |-----------|
>                          |  eth1
>                          |
>      192.168.1.0         | NetAddress2 ------|
>                          |                   |
>                          |  eth0             |
>                     |-----------|       |-----------|
>                     |Router_2   |       |Client_2_1 |
>                     |-----------|       |-----------|
>                          |   eth1
>                          |
>      192.168.4.0         | NetAddress3
>                          |
>                     |-----------|
>                     |Client_3_1 |
>                     |-----------|
> 
> Before declaring any static route using netcfg,
> I configured:
> 
> Firewall:       route add -net NetAddress1 netmask 255.255.255.0 gw IpAddressRouter_1
>                 route add -net NetAddress2 netmask 255.255.255.0 gw IpAddressRouter_2
>                 route add -net NetAddress3 netmask 255.255.255.0 gw IpAddressRouter_3

You have to modify the setting on the firewall: 
Firewall:       route add -net NetAddress1 netmask 255.255.255.0 gw
IpAddressRouter_1
                route add -net NetAddress2 netmask 255.255.255.0 gw
IpAddressRouter_2
                route add -net NetAddress3 netmask 255.255.255.0 gw
IpAddressRouter_2

Try this and drop a message to say whether everything is ok :)

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

Reply via email to