cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
12199
Views
0
Helpful
47
Replies

Can't telnet any longer to router via port 23 once again

John Cheetley
Level 3
Level 3

Evening techs,

Can no longer telnet to router again from windows server 192.168.0.102. Was connected 4 days ago OK no problem

C:\Users\Administrator>telnet 192.168.0.12

Can telnet to switch OK on ip of 192.168.0.2

Error of :
Connecting To 192.168.0.12...Could not open connection to the host, on port 23:
Connect failed

Troubleshooting done

Have disabled and re-enabled telnet via services.msc

Have un-installed/re-installed telnet client/server

Firewall is off.

C:\Users\Administrator>tlntadmn \\thebeast config port=23
The settings were successfully updated.

C:\Users\Administrator>ping 192.168.0.12

Pinging 192.168.0.12 with 32 bytes of data:
Reply from 192.168.0.12: bytes=32 time<1ms TTL=64
Reply from 192.168.0.12: bytes=32 time<1ms TTL=64
Reply from 192.168.0.12: bytes=32 time<1ms TTL=64
Reply from 192.168.0.12: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.0.12:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\Administrator>tracert 192.168.0.12

Tracing route to 192.168.0.12 over a maximum of 30 hops

1 <1 ms <1 ms <1 ms 192.168.0.12

Trace complete.

netstat -a

Active Connections

Proto Local Address Foreign Address State
TCP 0.0.0.0:23 TheBeast:0 LISTENING

Is there a way that we can see what telnet is doing?

1 Accepted Solution

Accepted Solutions

I want to see what is the configuration of switchport 0/24.  Remember, effectively you have 3 vlans coming into the switch - 20, 30, and "native", whichever that is.  If you haven't declared it, that will be vlan1.

interface FastEthernet0/0
 ip address 192.168.0.12 255.255.255.0
 ip nat outside
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 description Data vlan 20
 encapsulation dot1Q 2
 ip address 192.168.1.2 255.255.255.0
!
interface FastEthernet0/0.2
 description Voice vlan 30
 encapsulation dot1Q 3
 ip address 192.168.2.2 255.255.255.0
 ip nat inside

View solution in original post

47 Replies 47

Deepak Kumar
VIP Alumni
VIP Alumni

Dear John,

Please check your switch or router configuration. If you are not familiar with Cisco then share here.. We will check and reply to you.

Regards,

Deepak Kumar

www.deepuverma.in

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Thanks deepak for your response.

My configuration hasn't changed since my last discussion raised. Unless you can't view that. Please let me know.

Hi John,

Please share again. 

Regards,

Deepak Kumar

www.deepuverma.in

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi Deepak,

As requested

Can you show us the description on the switchport that fast 0/0 is connected to?  You are trying to ping the interface itself, that the other 2 vlans are attached to.

Also, where are you attaching that you get the pings, but Telnet being refused (i.e. a port on one of the non-native vlans on the switch)?

Thanks pwwiddicombe for your reply

fa0/0 is connected directly (via eth) to default gateway of 192.168.0.1

The switchport is on fa0/24

I am attempting to connect from 192.168.0.102 (windows server 2008) like I have always done before.

Not the switch. The switch is 192.168.0.2 thanks if that makes sense

I want to see what is the configuration of switchport 0/24.  Remember, effectively you have 3 vlans coming into the switch - 20, 30, and "native", whichever that is.  If you haven't declared it, that will be vlan1.

interface FastEthernet0/0
 ip address 192.168.0.12 255.255.255.0
 ip nat outside
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 description Data vlan 20
 encapsulation dot1Q 2
 ip address 192.168.1.2 255.255.255.0
!
interface FastEthernet0/0.2
 description Voice vlan 30
 encapsulation dot1Q 3
 ip address 192.168.2.2 255.255.255.0
 ip nat inside

Hi pwwiddicombe,

I haven't made any changes to the switch yet

As requested.

Hi pwwiddicombe,

I have also captured network monitoring output of telnetting from 192.168.0.102 to 12 but as it turns out, can't upload .cap files to this site. Unless I import it by other means.

Zip it up?  7zip or other utility will create a compressed archive that can be uploaded here.

Thanks Deepak,

I never used that command before ...transport input telnet ssh..I'm not using putty at this moment though. Unless I'm not understanding what your asking?

Dear John,

I have seen your configuration and did not see any SSH configuration on the router. you are using telnet yet. Otherwise send me new configuration.

Regards,

Deepak Kumar

www.deepuverma.in 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi deepak,

Current router configuration is attached.

There is missing some VTY line configuration 

Plase share following command output

"sho running-config | be vty"

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card