Re: [fw-wiz] Forward 2 networks
From: Dave Piscitello (dave_at_corecom.com)
To: Rudi Starcevic <firstname.lastname@example.org> Date: Thu, 02 Dec 2004 18:47:15 -0500
This is the wrong forum - your question is about routing - but I
believe I can answer for you.
Based on what you say, I believe you have two subnets:
The default gateway for 192.168.2.0/24 is 192.168.2.1, which I assume
is your access to the Internet.
Hosts on your network 192.168.3.0/24 can forward traffic to
192.168.3.7 as the gateway to 192.168.2.0/24 and, more generally, as
the default gateway to any network/Internet.
You must enable routing on the PC joining the two networks.
The other half of the routing solution is that you must tell your
current default gateway 192.168.2.1 that a network 192.168.3.0/24 is
reachable via 192.168.2.7.
You can accomplish this easily with static routes at your dual-
connected PC and 192.168.2.1. You could enable a routing protocol at
the PC and 192.168.2.1 but that is probably overkill.
On 29 Nov 2004 at 18:57, Rudi Starcevic wrote:
> I've been trying to figure this one out but am getting a little lost
> and confused.
> I have 2 NICs:
> eth0 192.168.2.7
> eth1 192.168.3.7
> each has it's own 10/100 switch.
> On eth0, 192.168.2.7, I have a small network of PC happily using NAT
> with a default gateway of 192.168.2.1
> I'd like to forward traffic for eth1, 192.168.3.7 out eth0, 22.214.171.124
> With one NIC I'm confident but with two, or more, I'm lost.
> I have checked out Lartc but am still unsure, perhaps I should be
> posting this there?
> Please help.
> Many thanks.
> firewall-wizards mailing list
firewall-wizards mailing list