02-07-2024 07:43 AM - edited 02-07-2024 07:50 AM
I've encountered issue as the Cisco Switch 2960 (configured as S2) in the lab does not response to ping.
PC-A can ping PC-B and S1
PC-B can ping PC-A and S1
S1 can ping PC-A and PC-B
S2 failed to ping S1, PC-A and PC-B
S1, PC-A, PC-B failed to ping S2
It looks like to be S2 become a ghost device.
I followed the lab instruction to configure all devices.
Attached please find the package tracer for reference.
Any insight would be greatly appreciated
02-07-2024 09:05 AM
- FYI : Community group for Packet Tracer project questions
M.
02-07-2024 10:14 AM
it seems to be ok, all pings are fine after first 2 fail; remember before u can ping, ARPs must be resolved
u must give some time for switches /PCs to build ARP and MAC tables
Regards, ML
**Please Rate All Helpful Responses **
02-07-2024 03:30 PM
Thanks for your information.
I've no problem in packet tracer. But I have problem pinging S2 in the same setup in actually lab in school.
02-07-2024 12:27 PM
Switch(config)#hostname S2 S2(config)#interface vlan 1 S2(config-if)#ip address 192.168.1.12 255.255.255.0 S2(config-if)#no shutdown S2(config)#line console 0 S2(config-line)#password cisco S2(config-line)#login S2(config-line)#line vty 0 15 S2(config-line)#pass cisco S2(config-line)#login S2(config-line)#exit S2(config)#enable secret class
Best Regards,
02-07-2024 03:32 PM
Thanks Said73, your answer was what I did in the actually lab in school. And I can't ping S2 in the lab. No problem in package tracer though. Tried couple times in different lab but S2 still remains unresponsive to ping
02-07-2024 03:35 PM
Below is how I setup the switch
>enable
# show flash
# delete vlan.dat
# erase startup-config
# reload (no/no)
> enable
# config terminal
For S1 only:
# hostname S1
For S2 only:
# hostname S2
# interface vlan 1
For S1 only:
# ip adress 192.168.1.11 255.255.255.0
For S2 only:
# ip address 192.168.1.12 255.255.255.0
# no shutdown
# line console 0
# password cisco
# line vty 0 15
# password cisco
# login
# end
# configure terminal
# enable secret class
02-07-2024 04:27 PM
oh, so those are real c2960 switches in classroom with lots of users using it (i.e. previous class);
can directly connected PC to s2 ping its switch s2 ? make sure PC firewall is off.
can switch 1 ping switch 2 ?
then check CAT5 cables, use crossover cable between switches; check interface vlan 1 is UP UP (interface vlan no shut with IP address), make sure all ports are in vlan 1 for now. other useful commands are: show vlan brief , show interface trunk ; show interface status ; and show interface status err-disable, show arp , show mac-address-table
You should delete vlan.dat, erase startup-config, write (copy run start), add your new configs and reload choosing YES to save configs again and reboot.
Regards, ML
**Please Rate All Helpful Responses **
02-07-2024 04:43 PM
Hi Martin,
PC-B (the one connected to S2) cannot ping its switch S2. PC-B can ping all the other three devices. So PC firewall is not an issue.
Switch 1 cannot ping Switch 2 as well. Switch 2 is totally un-pingable by any devices.
But PC-A can PC-B so both switch is actually working as expected. Switch 2 just not responsible to ping.
I did reset both switch before setup as per your mentioned. (delete vlan.dat, erase startup-config then reload)
I'll try those show commands in next lab.
Thanks a lot.
02-09-2024 09:40 AM
is interface vlan 1 UP UP state? earlier I forgot one of major commands show ip int brief that shows u IP and state of interface. it should be UP UP. And is there a MAC addresses listed (added) in show run under interface vlan 1? Maye there is MAC conflict with other PCs
Finally, check SDM template/ profile of Switch2 and set to default, save and reboot switch - Forgot exact command for SDM. Not likely that is fault of failure but does not hurt to check it.
Regards, ML
**Please Rate All Helpful Responses **
10-13-2024 10:08 AM - edited 10-13-2024 10:10 AM
It is like 8 months and I happened to revisit this and everythings is working now. Not sure what's wrong 8 months ago though. Thanks a lot guys.
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