Jeff Liebermann <(E-Mail Removed)> wrote in
news:(E-Mail Removed):
> On Fri, 24 Oct 2008 16:40:27 +0000 (UTC), DanS
> <(E-Mail Removed)> wrote:
>
>>>>Now, hang a Cisco 1750 (or like) on the 192.168.1.0/24 network, and
>>>>give the Cisco's other NIC a 192.168.2.0/24 address. Add PC's on the
>>>>Cisco's 192.168.2.0/24 NIC all addressed for 192.168.2.0/24.
>>>
>>> No problem. That's called "double NAT". It works but has problems
>>> with some protocols that need port forwarding from the internet
>>> through both routers. For example, if you wanted to use some remote
>>> control software to your desktop, you would need to port forward in
>>> BOTH routers.
>
>>It's NOT double NAT.....and that was my reason for posting the info.
>>There was no NAT at the Cisco rtr, only the actual IP routing
>>functions.
>
> Then say so.
I did in the OP.
> When you generalized with translating 192.168.1.0/24 to
> 192.168.2.0/24, I assumed you intended to use NAT. However, we're now
> talking Cisco-speak, so that's really PAT (port address translation).
> NAT (network address translation) is a 1:1 IP to IP translation. So,
> you assign a block of IP's on the outside (WAN) port of the Cisco
> router, which maps to a corresponding list of IP's on the inside (LAN)
> port. No need for port forwarding with that arrangement.
>
> I think this covers Cisco style 1:1 NAT:
> <http://www.cisco.com/en/US/technolog...8/technologies
> _white_paper09186a0080091cb9.html>
>
>>An internet bound packet from the .2.0 subnet is sent to the default
>>g/w, the Cisco rtr. The Cisco rtr then sends that packet to its
>>default G/W, .1.1, the consumer grade Linksys rtr that DOES provide
>>NAT for the network.
>
> Agreed. The outside port of the Cisco may have a block of IP
> addresses, but all of them have a default gateway pointing to the
> Linksys LAN side IP address.
>
>>At the Linksys rtr, that IS the internet connection, the packet is
>>STILL addressed as being from the .2.0 network, then NAT'd and sent to
>>wherever on the internet.
>
> Agreed. That's the way the Linksys works.
>
>>This is where the static route comes in. The Linksys rtr needs to know
>>how to get back to the .2.0 subnet, so a static route is set in the
>>Linksys rtr having the Cisco as the g/w for .2.0.
>
> No it does not. The default gateway of any device plopped onto the
> LAN side of the Linksys router has a default route set to the LAN side
> IP address of the Linksys.
What does not ?
In the Linksys rtr (effectively, if it had a cmd prompt).....
route add 192.168.2.0 mask 255.255.255.0 192.168.1.222
This is absolutely needed in the Linsys so packets will get back to the
..2.0 subnet.
> Meanwhile, the outside (WAN) port of the Cisco router has a block of
> IP addresses available but all of them have a default route pointing
> to the Linksys LAN side IP address. Actually, that's not quite
> correct. There is a block of IP's, but only one default route for the
> Cisco which points to the Linksys IP (192.168.1.1).
The Cisco has no blocks of IP addresses. All it has it 2 eth
interfaces...one on each subnet.
>>As for incoming connections. A port only needs to be mapped at the
>>Linksys internet router. For instance, a web server on port 80, needs
>>to be forwarded to 192.168.2.100. And that's it, since it's got a
>>static route back to .2.0. There's nothing to do in the Cisco rtr.
>
> Yep, with 1:1 NAT, that's the way it works.
>
>>So, in conclusion, the Linksys BEFSR41 wired-only rtr properly NAT's
>>'off-subnet' traffic.
>
> Sure, with the help of an additional router.
Well there would be no other way to get a routed packet from a different
subnet onto the Linksys LAN otherwise.
> Incidentally, make sure that the block of ouside (WAN) side IP's on
> the Cisco do not land inside the DHCP assigned area on the Linksys.
Uh.......am I confused...or you ?
As I said in the OP...."The 'real' rtr is is configured to a bare
minimum, only the IP info of each interface set and G/W & DNS are
pointing to the ISP rtr, 192.168.1.1."
I don't know where you are getting 'blocks of IP address' from . The
Cisco rtr was:
1. Turned on to it's default unconfigured state.
2. Had ether1 set to: 192.168.1.222/24 g/w:192.168.1.1
3. DNS was set to 192.168.1.1 (and to forward DNS requests)
4. Then ether2 set to 192.168.2.222/24
5. Save changes.
The Linksys rtr then had a static route added:
192.168.2.0/24 g/w'd to 192.168.2.222
And that's it. No DCHP. Just plain routing, no additional addressing of
any kind, or additional configuration.
Now, any device plugged into the 192.168.2.0 side of the Cisco needs
obviously an IP in the .2.0/24 range, and DNS & G/W set to 192.168.2.222
(the Cisco rtr), and that's it.
And I was shocked when the Linksys NAT'd this properly.