Re: OT - accessing home lab via the internet

From: sanjay (ccienxtyear@xxxxxxxxxxx)
Date: Tue Apr 24 2001 - 15:06:07 GMT-3


   
Bob,

Look at my configs (partial) below. I am using a 3640 router and cable
modem. I don't get static IP from my ISP and also, I have DHCP running on
the 3640. It works like a charm.

thanks,
Sanjay

ip dhcp excluded-address 10.1.1.1
ip dhcp excluded-address 10.1.1.2

ip dhcp pool ippool
network 10.1.1.0 255.255.255.0
dns-server 151.60.16.183 151.60.11.140
netbios-name-server 151.68.200.28 151.68.2.100
domain-name xxxx.com
default-router 10.1.1.1
lease infinite

ip multicast-routing

interface Ethernet0/0 <---this is connected to my cat1900 switch, private
network
ip address 10.1.1.1 255.255.255.0
ip nat inside
full-duplex

interface Ethernet0/1 <---this is connected to the cable modem, outside
network
ip address dhcp
ip nat outside
half-duplex
ip nat inside source list 101 interface Ethernet0/1 overload

ip classless

ip route 0.0.0.0 0.0.0.0 Ethernet0/1

Hope this helps.

access-list 101 permit ip 10.1.1.0 0.0.0.255 any
----- Original Message -----
From: "Bob Dixon" <bobdixon@mediaone.net>
To: <ccielab@groupstudy.com>
Sent: Monday, April 23, 2001 8:20 PM
Subject: OT - accessing home lab via the internet

> 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?
>
> Thanks,
> Bob
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



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