Re: OT - accessing home lab via the internet

From: Erick B. (erickbe@xxxxxxxxx)
Date: Tue Apr 24 2001 - 03:21:46 GMT-3


   
A Cisco router interface can't be both NAT Inside and
outside. Only one. A few people have tried some funky
ways to try to get it working (loopbacks, policy
routing, etc) and I tried it once too but as far as I
know no one has succesfully got it working.

Your best bet is to get a LinkSys Cable/DSL router or
similar product that lets you forward ports. $125 or
so for 4 port LinkSys model. Worth it, unless you have
another router with 2 LAN interfaces capable of doing
NAT.

--- Bob Dixon <bobdixon@mediaone.net> wrote:
> Guys,
>
> Need some help from those of you that have setup
> Internet access to your home
> labs (for telnetting in while you're at work, etc).
> Please keep in mind that I
> am trying to do this with only the equipment
> described below. In other words,
> it would be easy to do what I am trying to do if I
> had a router with 2
> ethernet interfaces, but I don't.
>
> Scenario:
> I have a stack of equip that I access via a 2509
> whose 8 async cables are
> connected to the console of each device. I have
> cable modem access and have
> been successful at getting the e0 on the 2509 to get
> an IP via DHCP (my
> provider offers only dhcp; no static ip). This is
> accomplished with the
> command "ip address dhcp" available on IOS 12.1(2)T.
>
> The pc that I use at home is addressed as
> 10.0.0.3/24 and I setup a secondary
> ip address on the 2509's e0 as 10.0.0.1/24. Now the
> tough part. I need to
> configure NAT so that I can access the internet via
> the 2509. I also need the
> 2509's e0 to keep getting it's primary ip via dhcp
> so that I can telnet in
> from work. I can get everything to work except that
> I can't get access to the
> Internet now from my pc. "debug ip nat" output seems
> to indicate that the
> router is not doing NAT for the 10.0.0.3/24, but it
> is doing NAT for
> 10.0.0.1/24.
>
> Questions:
> 1. Can you use NAT to create translations between 2
> ip addresses that are
> configured on the same interface?
> 2. Is there an easier way to do this with existing
> equipment and/or PC
> software that I am overlooking?



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:29:54 GMT-3