Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Firewall Wizards: Re: Forward 2 networks

Re: Forward 2 networks

From: Dave Piscitello <dave_at_corecom.com>
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:

192.168.2.0/24
192.168.3/24

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:

> Hi,
>
> 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, 192.68.2.7
>
> 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.
> Regards,
> Rudi
>
> _______________________________________________
> firewall-wizards mailing list
> firewall-wizards_at_honor.icsalabs.com
> http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
>

_______________________________________________
firewall-wizards mailing list
firewall-wizards_at_honor.icsalabs.com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
Received on Dec 05 2004

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos