troubleshooting Question

Can't ping my default gateway (a vlan on a Cisco switch)

Avatar of ndalmolin_13
ndalmolin_13Flag for United States of America asked on
Switches / Hubs
10 Comments1 Solution11508 ViewsLast Modified:
Hello Cisco Experts,
I have a strange problem that I can’t seem to find a solution for.  I have configured a vlan on a switch.  I have assigned the vlan (vlan 21) and IP address of  I have assigned a single port to that vlan.  I have connected a PC into the port assigned to vlan 21 and given the PC the following configuration:
For some reason, I cannot ping from the PC.

Below is the vlan config from the switch:

Vlan21 is up, line protocol is up
  Internet address is
  Broadcast address is
  Address determined by non-volatile memory
  MTU is 1500 bytes
  Helper address is not set
  Directed broadcast forwarding is disabled
  Multicast reserved groups joined:
  Outgoing access list is not set
  Inbound  access list is BADGE-SERVER
  Proxy ARP is enabled
  Local Proxy ARP is disabled
  Security level is default
  Split horizon is enabled
  ICMP redirects are always sent
  ICMP unreachables are always sent
  ICMP mask replies are never sent
  IP fast switching is enabled
  IP Flow switching is disabled
  IP CEF switching is enabled
  IP CEF switching turbo vector
  IP Null turbo vector
  IP multicast fast switching is enabled
  IP multicast distributed fast switching is disabled
  IP route-cache flags are Fast, CEF
  Router Discovery is disabled
  IP output packet accounting is disabled
  IP access violation accounting is disabled
  TCP/IP header compression is disabled
  RTP/IP header compression is disabled
  Probe proxy name replies are disabled
  Policy routing is disabled
  Network address translation is disabled
  BGP Policy Mapping is disabled
  Input features: Access List, MCI Check
  WCCP Redirect outbound is disabled
  WCCP Redirect inbound is disabled
  WCCP Redirect exclude is disabled

Below is the config for the port:

interface GigabitEthernet2/13
 switchport access vlan 21
 switchport mode access
 spanning-tree portfast

SW1#show ip interface gigabitEthernet 2/13
GigabitEthernet2/13 is up, line protocol is up
  Inbound  access list is not set
  Outgoing access list is not set

Any ideas?

As always, your help is much appreciated.

Sr. Security Consultant

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros