10-13-2008 09:55 AM - edited 03-03-2019 11:54 PM
Hi im a newbie in networking and im doing self study. my problem is i can't connect through Telnet because of this problem. i copy and paste it in command prompt and tera term. thank you.
command prompt
C:\>telnet 67.177.164.2
Connecting To 67.177.164.2...Could not open connection to the host, on port 23:
Connect failed
TeraTerm
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CBTswitch
!
enable secret 5 $1$8GzJ$R6puyoCRZvx22IdFDCffo1
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface FastEthernet1/1
!
interface FastEthernet1/2
!
interface FastEthernet1/3
!
interface FastEthernet1/4
!
interface VLAN1
ip address 67.177.164.2 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
ip default-gateway 67.177.164.1
!
line con 0
password cisco
login
transport input none
stopbits 1
line vty 0 1
password cisco
login
line vty 2 4
login
line vty 5 15
login
!
end
10-13-2008 10:05 AM
What is the IP address of your device that you are telnetting from ?
What is the 67.177.164.1 ?
Jon
10-13-2008 10:14 AM
hi thank you for your reply. here is my IP addresss and my default gateway. 67.177.164.1 is my default gateway.
IP Address. . . . . . . . . . . : 67.177.164.204
Subnet Mask . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . : 67.177.164.1
10-13-2008 10:18 AM
Can you
1) ping the vlan 1 switch IP from your desktop ?
If not can you ensure that the vlan 1 interface on the switch is up/up
2) Can you ping the default-gateway 67.177.164.1 from the switch ?
Jon
10-13-2008 10:42 AM
my VLAN 1 is up, line protocol is up, i just check it.
i cannot ping the switch from my desktop it says the same thing.
C:\>telnet 67.177.164.2
Connecting To 67.177.164.2...Could not open connection to the host, on port 23:
Connect failed
and i cannot ping my desktop from my switch either.
CBTswitch#ping
Protocol [ip]:
Target IP address: 67.177.164.204
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 67.177.164.204, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CBTswitch#
10-13-2008 10:46 AM
i dont know how to ping my default-gateway. can you teach me how to do it. thanks
10-13-2008 10:59 AM
On switch do the same as you did when you tried to ping your device just use 67.177.164.1 as the destination IP address.
By the way can your PC ping the default-gateway of 67.177.164.1
Jon
10-13-2008 11:17 AM
i wont let me ping the default-gateway from the switch it says
CloydSwitch#ping
Protocol [ip]: 67.177.164.1
% Unknown protocol - "67.177.164.1", type "ping ?" for help
but i can ping my default-gateway from my pc.
C:\>ping 67.177.164.1
Ping statistics for 67.177.164.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 34ms, Average = 19ms
10-13-2008 11:19 AM
Protocol [ip]: 67.177.164.1
You shouldn't type in the address here, just hit return as it's asking for the protocol.
Easier thing to do is on the switch just type "ping 67.177.164.1"
Jon
10-13-2008 11:53 AM
hi sorry for the late reply. it says
CloydSwitch#ping 67.177.164.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 67.177.164.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
CloydSwitch#
10-13-2008 12:02 PM
If you can't ping the router
1) Can you post the output of "sh vlan"
2) The switch interface that the router is connected to - is it up/up.
Jon
10-13-2008 12:09 PM
i dont know how to do that can you give me the commands thank you.
by the way i dont have a router this is just a switch.
10-13-2008 12:11 PM
If you don't have a router then what device is 67.177.164.1 ??
Jon
10-13-2008 12:24 PM
im sorry man if i confused you. im a newbie in networking. in the command prompt when i type the command ipconfig it shows my ip address and default gateway. maybe the default-gateway is my modem from comcast.
10-13-2008 12:26 PM
so if i dont have a router i cannot telnet my switch from my pc?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide