2509 Reverse Telnet Configuration Help Needed
chess2
Member Posts: 6 ■□□□□□□□□□
in CCNA & CCENT
I'm trying to set my router up for Reverse Telnet and have a few questions. I'm new at this.
1. Is the "connect" command basically the same as the "Telnet" command?
2. Can you use the console port or do you have to use the ethernet port?
3. Can the Access Router be in the same segment as the routers you want to Telnet into?
In other words do I have to have a dedicated workstation to log into the Access Rourter with both on a separate segment from everything else.
4. This is the response I'm getting when I try to connect. Any Ideas?
It works fine if I do this directly on both devices.
AccessRT1#telnet rt1841
Trying RT1841 (192.168.1.1, 2001)...
% Connection refused by remote host
This is my config below.
Current configuration : 796 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname AccessRT1
!
enable password xxx
!
ip subnet-zero
no ip domain-lookup
ip host SW2950 2002 192.168.1.1
ip host RT1841 2001 192.168.1.1
!
!
!
!
interface Loopback0
ip address 192.168.1.1 255.255.255.0
!
interface Ethernet0
description 10BaseT Port 0
ip address 192.168.10.10 255.255.255.0
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
ip default-gateway 192.168.1.254
ip classless
ip http server
ip pim bidir-enable
!
!
!
!
line con 0
exec-timeout 0 0
password xxx
logging synchronous
login
line 1 8
exec-timeout 0 0
no exec
transport input all
line aux 0
line vty 0 4
password xxx
logging synchronous
login
!
end
Show Version Below
AccessRT1#show ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS-L), Version 12.2(T, RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 13-Feb-02 21:11 by ccai
Image text-base: 0x0306DA78, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTLDR: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
AccessRT1 uptime is 2 hours, 26 minutes
System returned to ROM by power-on
System image file is "flash:c2500-is-l.122-8.T.bin"
cisco 2509 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 05228835, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
8 terminal line(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
AccessRT1#show ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0 192.168.10.10 YES NVRAM up up
Loopback0 192.168.1.1 YES manual up up
Serial0 unassigned YES NVRAM administratively down down
Serial1 unassigned YES NVRAM administratively down down
1. Is the "connect" command basically the same as the "Telnet" command?
2. Can you use the console port or do you have to use the ethernet port?
3. Can the Access Router be in the same segment as the routers you want to Telnet into?
In other words do I have to have a dedicated workstation to log into the Access Rourter with both on a separate segment from everything else.
4. This is the response I'm getting when I try to connect. Any Ideas?
It works fine if I do this directly on both devices.
AccessRT1#telnet rt1841
Trying RT1841 (192.168.1.1, 2001)...
% Connection refused by remote host
This is my config below.
Current configuration : 796 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname AccessRT1
!
enable password xxx
!
ip subnet-zero
no ip domain-lookup
ip host SW2950 2002 192.168.1.1
ip host RT1841 2001 192.168.1.1
!
!
!
!
interface Loopback0
ip address 192.168.1.1 255.255.255.0
!
interface Ethernet0
description 10BaseT Port 0
ip address 192.168.10.10 255.255.255.0
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
ip default-gateway 192.168.1.254
ip classless
ip http server
ip pim bidir-enable
!
!
!
!
line con 0
exec-timeout 0 0
password xxx
logging synchronous
login
line 1 8
exec-timeout 0 0
no exec
transport input all
line aux 0
line vty 0 4
password xxx
logging synchronous
login
!
end
Show Version Below
AccessRT1#show ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS-L), Version 12.2(T, RELEASE SOFTWARE (fc2)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Wed 13-Feb-02 21:11 by ccai
Image text-base: 0x0306DA78, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTLDR: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1)
AccessRT1 uptime is 2 hours, 26 minutes
System returned to ROM by power-on
System image file is "flash:c2500-is-l.122-8.T.bin"
cisco 2509 (68030) processor (revision D) with 16384K/2048K bytes of memory.
Processor board ID 05228835, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
8 terminal line(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
AccessRT1#show ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0 192.168.10.10 YES NVRAM up up
Loopback0 192.168.1.1 YES manual up up
Serial0 unassigned YES NVRAM administratively down down
Serial1 unassigned YES NVRAM administratively down down
Comments
-
Plazma Member Posts: 503I have never setup reverse telnet before but take a gander at this link
http://en.wikipedia.org/wiki/Reverse_telnetCCIE - COMPLETED! -
dynamik Banned Posts: 12,312 ■■■■■■■■■□Here are a couple more:
http://www.thebryantadvantage.com/CCNACCNPHomeLabAccessServerTutorial.htm
http://www.petri.co.il/how-to-configure-cisco-router-as-terminal-server.htm
I'll be keeping an eye on this thread. I need to do this soon as well -
chess2 Member Posts: 6 ■□□□□□□□□□Thanks for you help. I looked at those links and was a little confused because they show the loopback subnet mask as 255.255.255.255 but most people I ask or check their config use 255.255.255.0. Does it matter?
-
nicklauscombs Member Posts: 885most people will usually configure 255.255.255.255 as their loopback subnet so it doesn't waste addresses, all in all it doesn't really matter though especially in a home lab environmentWIP: IPS exam
-
chess2 Member Posts: 6 ■□□□□□□□□□Ok, I got it now. I did not realize that you still have to add Transport input Telnet to the line devices vty config even though you are accessing them through the Console Port.