Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can ping device from swith, not from my pc

Status
Not open for further replies.

dips00

IS-IT--Management
Apr 25, 2005
22
US
Hi,
I have a cisco 3550 with 4 ports used to connect 4 different devices (10.1.10.1/2/3/4). I can ping all 4 from the switch without a problem. I can also ping all 4 in a workgroup environment using a small 5-port switch and a laptop.

But from my desktop, i can only ping 10.1.10.1 & 2. I cannot ping 3 & 4.

They all are in the same vlan.

Any advice will be appreciated.
 
whats the config of the switch? is there a firewall on those hosts? or your desktop? are those ports in the same vlan? what is the IP of your workstation?
 
No firewalls on the switch. The ports are on the same vlan. My desktop ip is 10.111.x.x. But whats got me confused is from the same desktop, i can ping 10.1.10.1 & 2.

Both ports are configured exactly the same with the access to vlan 119.

Thanks.
 
is this through a layer 3 switch? what is your route statements look like? are there access lists? can you post a config of the switch?
 
Layer2.
No access lists. The config is below.


version 12.2
!
ip subnet-zero
ip routing
no file verify auto
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 2
name GreenNet
!
vlan 3
name 3rdFloor
!
vlan 5
name ELAN
!
vlan 6
name TLAN
!
vlan 26

!
vlan 67
name VideoConferencing
!
vlan 114

!
vlan 119
!
!
!
interface FastEthernet0/25
description SAN1 PRI
switchport access vlan 119
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/26
description SAN1 BACK
switchport access vlan 119
switchport mode access
spanning-tree portfast
!
!
interface Vlan119
ip address 10.1.10.1 255.255.0.0
!
router ospf 1
log-adjacency-changes
network 10.1.10 0.0.255.255 area 3
!
ip http server
!
!
!
!
line con 0
line vty 0 4
password 7 121A551B06192C0A79
login
line vty 5 15
password 7 1306471E1F1E242478
login
!
ntp clock-period 36029314
ntp server 10.110.51.1
!
end
 

you can not ping 10.1.10.3 and 10.1.10.4, what interface are they on? i dont see one. i only see fa0/25 and fa0/26

post sh vlan or make sure .3 and .4 are configured correctly

 
correct, .3 is on fa0/25 and .4 is on fa0/26.

VLAN Name Status Ports
---- -------------------------------- --------- ----------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/20, Fa0/21
Fa0/27, Fa0/28, Fa0/33, Fa0/
Fa0/36, Fa0/37, Fa0/38, Fa0/
Fa0/40, Fa0/41, Fa0/42, Fa0/
Fa0/44, Fa0/45, Fa0/46, Fa0/
Gi0/2, Gi0/4
2 GreenNet active
3 3rdFloor active
5 ELAN active Fa0/9, Fa0/10, Fa0/12, Fa0/1
Fa0/16, Fa0/18, Fa0/19, Fa0/
6 TLAN active Fa0/11, Fa0/13, Fa0/15, Fa0/
26 PHL active Fa0/1
67 VideoConferencing active Fa0/35
114 2-->CHI active Fa0/2
119 V active Fa0/22, Fa0/23, Fa0/24, Fa0/
Fa0/26, Fa0/29, Fa0/30, Fa0/
Fa0/32
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
 
so where is 10.1.10.1 and 10.1.10.2 configured? what ports?
 
.1 and .2 are fa0/23/24.

I am wondering if the gateway can be configured incorrectly.
 
Are you using a router for inter-vlan routing or is there any inter-vlan routing? I see you said your desktop was 10.111.x.x and you can ping the switch which is at 10.1.10.1 on vlan 119. Also i dont think you have to have a port dedicated to the switch, such as fa0/23 for vlan119(you stated you had 10.1.10.1 on port0/23), i think it is just logically assigned. Or is there a device connected to the port fa0/23-0/25. If so maybe there is a ip conflict with the switch being assigned 10.1.10.1 and another device.
 
You've left out much relevant config from your switch, making it more difficult for people to advise you.

Your devices on 10.1.10.3 & .4 have an incorrect default GW setting.
They are pingable from the switch because the switch is configured as a router and *presumably* has a VLAN interface configured with a 10.111.x.x subnet address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top