[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2676
  • Last Modified:

I cannot PING VLAN 1 from the console on my Cisco Catalyst 2960

Hello,

I made the following configurations on a freshly reset switch and I cannot PING it from the managmement console.

switch# conft
switch(config)#int VLAN 1
switch(config-if)#ip address 192.168.100.3 255.255.255.0
switch(config-if)# exit
switch(config)#exit
switch# wr

When I try to ping 192.168.100.3 from the console there are no replies.  Is there anything I am doing wrong?
0
evansjam
Asked:
evansjam
  • 3
  • 3
  • 3
  • +2
5 Solutions
 
wgray05Commented:
Is the IP address you are pinging from on that subnet? If not, then you need to set the default gateway,

ip default-gateway 192.168.100.x

Also, at the switch console prompt, type "sh ip int Vlan3" and verify that the Vlan interface is up.
0
 
evansjamAuthor Commented:
Yes it is.  I looked at the SH ip VLAN 1 and it is down.
0
 
wgray05Commented:
The VLAN is probably administratively down then.. Go into the vlan config and type,

no shutdown

exit back to the main console screen and see if the ping works.
0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
wgray05Commented:
From your config above, here would be the steps:

switch# conft
switch(config)#int VLAN 1
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)#exit
switch# wr

0
 
RKinspCommented:
afaik Interface VLAN will stay down until at least 1 port on that VLAN goes up.

Plug anything on a port on VLAN 1 and try again.

-RK
0
 
CigeoSenior Network EngineerCommented:
Try als to configure a default gateway to the switch and then try again

Switch(config)#ip default-gateway <ip_to_the_router>
0
 
kdearingCommented:
@RKinsp is correct.
The VLAN will stay down until an assigned port comes up.
0
 
evansjamAuthor Commented:
Hello all and sorry for the late replies.  My Internet is back up and running again.  Two of the ports that are within VLAN 1 are up.  I do not have the switch attached to a router so do not need to configure a default gatway (I have not done this in the past).  Sadly I still cannot PING VLAN 1 from the console.  Is there anything else I can try?
0
 
CigeoSenior Network EngineerCommented:
Can you post the run config ?
0
 
CigeoSenior Network EngineerCommented:
Can you try to configure a loopback lets say 10.0.0.0 255.255.255.255 and the try to ping...
0
 
evansjamAuthor Commented:
Hello all.

Thanks for your help but I managed to find the problem.  I did not issue the command "No Shut" on VLAN 1.  Now that this has been issued I can ping it.

Cheers,
James
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now