Accessing a Cisco on a LAN (with putty) when you only have a 1 static IP

Soldato
Joined
1 Dec 2004
Posts
23,079
Location
S.Wales
As above really

Quick fire question, I have


BE LLU Static IP (x1) assigned to my Netgear router, I have a Cisco 1720 on the inside of my lan which I will be configuring with a LAN IP on the F/E interface, if I wanted to access the Cisco externally is there a way to setup forwarding to get to the cisco remotely using putty, where would this be done?

Thanks in advance :)
 
Simplest way would be to choose a random port number such as 8888, and port forward that to port 23 on the 1720's internal IP.

So externally you'd connect to 11.22.33.44:8888
 
You could also just try running the netgear in bridge mode and give the public IP directly to the Cisco, far better solution IMO as it avoids double nat.
 
But that would involve him having to run the Cisco box as his actual router for his LAN. Given that its an exercise in playing with configs and learning his way round the IOS, it is strictly a testbed/lab.

He doesn't want to go remotely breaking his internet connection, so best to keep it NAT'd.
 
Para has got it correct, its only a test lab

I have assigned the FastEthernet0 192.168.0.10 255.255.255.0 where my main router is 192.168.0.1, I will probably end up putting the cisco's FE0 port on 192.168.1.10 and create a static route between the 192.168.0.X network and 192.168.1.X


Im going to be setting up SSH so I can SSH to the box instead of using console cable and connect over FastEthernet
 
Having trouble setting up so I can access the Cisco over the FastEthernet0 port instead of console, I was going to try SSH but im not sure if this router supports it.

I tried the ip ssh command to see if i get a list of options but I dont. I suppose I could use telnet but that sends command un-encrypted so would rather a secure way of connecting to the cisco over F/E0 if possible.

Any ideas?
 
Code:
morandarouter1#show version
Cisco Internetwork Operating System Software
IOS (tm) C1700 Software (C1700-Y7-M), Version 12.3(22), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by cisco Systems, Inc.
Compiled Wed 24-Jan-07 15:39 by ccai
Image text-base: 0x8000816C, data-base: 0x80B99150

ROM: System Bootstrap, Version 12.0(3)T, RELEASE SOFTWARE (fc1)
ROM: C1700 Software (C1700-Y7-M), Version 12.3(22), RELEASE SOFTWARE (fc2)

morandarouter1 uptime is 11 minutes
System returned to ROM by power-on
System restarted at 09:22:13 UTC Wed Aug 5 2009
System image file is "flash:y"

cisco 1720 (MPC860T) processor (revision 0x601) with 27667K/5101K bytes of memory.
Processor board ID JAD05350SP6 (3674387206), with hardware revision 0000
MPC860T processor: part number 0, mask 32
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
Apparently so

http://tools.cisco.com/ITDIT/CFN/Dispatch?showAllSoftware=true

Secure Shell SSH Terminal-line access
Secure Shell SSH Version 1 Integrated Client
Secure Shell SSH Version 1 Server Support

Im trying to setup default routes at the moment

I have

Netgear DG834GT
192.168.0.1 / 255.255.255.0

Cisco
192.168.1.2 / 255.255.255.0

I tried creating a default route from the cisco to the netgear

ip route 192.168.0.0 255.255.255.0 192.168.1.2

but cant ping from the cisco to the netgears lan address 192.168.0.1, am I doing this correctly? iv also tried creating a default route on my netgear to point towards the cisco
 
Last edited:
youve got the devices on 2 separate subnets. What you want is for the cisco port that is attached to the netgear to be in the 192.168.0.x /24 subnet.

Then all other ports on the cisco device can be set to whatever subnet you want and you just set the 192.168.0.x port to be the default route.
 
Hi all, just a quick one, im having a few issues with packet loss to my server when I have the cisco turned on. As soon as its off the network, I dont get it.

Anyway, here are the details

ping test is from LaptopA (192.168.0.6 pinging morandasrv1 192.168.0.5)

Cisco FastEthernet0 192.168.0.2 255.255.255.0
Cisco Ethernet0 192.168.1.1 255.255.255.0

Static route on Cisco (0.0.0.0 0.0.0.0 192.168.0.1)

You can ping between the two networks and the Cisco can ping out to the web however if I run a constant ping from laptop to server, there is packet loss until the Cisco is turned off

Got my netgear acting as the WAN router, with a cable feeding from the switches to my devices, then a LAN cable from the netgear to the FastEthernet0 port of the Cisco, eventually ill be plugging in my LAN into the Ethernet0 port (at the moment there is nothing plugged in however the interface has been configured)
 
Of topic sorry, but woo i love Cisco i just completed me CCNA course at college :)
You lot all sound like u know lots and lots :P
 
Back
Top Bottom