From: Carlos Rosário [mailto:carlos dot rosario at netcabo dot pt]
Sent: domingo, 4 de Setembro de 2005 21:08
To: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] Static Routing?
I have two LANs using different subnet masks, I want to connect them using 2
LAN - 192.168.1.1/24
WAN – 10.0.0.1/30 Gateway:10.0.0.2
The internet gateway for this subnet is at 192.168.1.254 and provides DHCP
to this subnet.
LAN – 192.168.2.1/24
WAN – 10.0.0.2/30 Gateway:10.0.0.1
I want hosts on Site B to get to the internet by using 192.168.1.254.
Also there are some servers on both subnets that need to be accessible by
hosts on the other subnet.
I tried a static route on 192.168.1.254:
LAN | Destination 192.168.2.0/24 | Gateway 192.168.1.1
Also activated Advanced Outbound NAT on 192.168.1.1 and 192.168.2.1, but
How can I build this kind of setup?