cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1986
Views
0
Helpful
2
Replies

SG300-10 Unable to ping from vlans

jornelas74
Level 1
Level 1

Having issues with machine pinging from VLAN. I can ping each VLAN from CLI on the switch. I can ping the VLAN IP from the workstation. When I try to ping outside it fails.

PRI-CORE-SG300-10#show run
config-file-header
PRI-CORE-SG300-10
v1.3.5.58 / R750_NIK_1_35_647_358
CLI v1.0
set system mode router

file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
spanning-tree mode mst
vlan database
vlan 10,15,20,30,35,99
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1
hostname PRI-CORE-SG300-10
line console
no autobaud
exit
line console
speed 9600
exit

clock timezone " " -8
clock summer-time web recurring usa
sntp anycast client enable ipv4
sntp broadcast client enable ipv4
clock source sntp
sntp unicast client enable
sntp unicast client poll
sntp server time.nist.gov poll
ip name-server  8.8.8.8 8.8.4.4
!
interface vlan 1
 no ip address dhcp
!
interface vlan 10
 name Data
 ip address 192.168.10.1 255.255.255.0
!
interface vlan 15
 name WiFi
 ip address 192.168.15.1 255.255.255.0
!
interface vlan 20
 name Lab
 ip address 192.168.20.1 255.255.255.0
!
interface vlan 30
 name SecCam
 ip address 192.168.30.1 255.255.255.0
!
interface vlan 35
 name GuestWiFi
 ip address 192.168.35.1 255.255.255.0
!
interface vlan 99
 name MGMT-VLAN
 ip address 192.168.11.254 255.255.255.0
!
interface gigabitethernet7
 no spanning-tree portfast
 switchport mode access
 switchport access vlan 20
!
interface gigabitethernet8
 no spanning-tree portfast
 switchport mode access
 switchport access vlan 20
!
interface gigabitethernet9
 shutdown
 no spanning-tree portfast
 switchport mode access
 switchport access vlan 99
!
interface gigabitethernet10
 spanning-tree portfast
 switchport mode access
 switchport access vlan 99
!
exit
ip default-gateway 192.168.11.1
PRI-CORE-SG300-10#

2 Replies 2

intport1231
Level 1
Level 1

- from switch do: ping <vlan_XYZ--interface_ip_address> source <vlan_10-interface_ip_address> count 10

If it goes everytime you have already inter vlan IP switching.

- What vlan is your workstation located at ?

from switch do:

show arp (look for your WS hw address and IP and vlan)

then do:

ping <WS-interface_ip_address> source <vlan_XX-interface_ip_address> count 10

if it doesn't go then you have a problem in the return of packets from WS to switch

- What are you trying to ping? all vlan ip addresses from WS-host machine at vlan 20? are you specifying the correct interface in the host?

- What is the IP configuration of the workstation? Dynamic(from where?)/Static DNS/no-DNS, netstat -rn, arp -a

- What's between your workstation and the switch? if you have a router you'll need to add a manual route to your vlan in the router

- How many paths are there to your workstation? disable spanning tree to see effects.

brianw2
Cisco Employee
Cisco Employee

I would like to gather more information to help diagnose this issue. What outside IP address are you trying to ping from the host? Also, what IP address is configured on the host? What type of device is the host directly connected to? Are you using a layer 2 or layer 3 switch?