cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4060
Views
10
Helpful
7
Replies

Cannot ping Lan Devices from Vlan

hantu12
Level 1
Level 1

Hello,

I've been looking for a solution to this for the past week without success. I came across a Cisco C3560 which is being used because of it's poe capability to power some Voip Deskphones. While the poe works great, the machines connected to the switch can only communicate among each other and cannot ping or otherwise access any device that is connected directly to the router of the network.

The Cisco Switch is configured with one vlan, and a default-gateway, but nothing goes out from behind the switch. The machines connected to it can ping the default gateway (192.168.0.1 - a tp-link router), successfully receive a dhcp lease from said router, and can connect to the internet, but on the local lan nothing works.(can't connect to printer connetced directly to router or other computers connected directly to the router.

Any advice? I'm new to cisco switches, not sure what I'm doing here. I'm just trying to get the devices that are connected directly to the switch to communicate with devices connected directly to the router.

Switch#show run
Building configuration...
Current configuration : 1528 bytes
!
version 12.2
service config
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable secret 5 {}{}{}{}{}{}{}{}{}{}{}{}
!
no aaa new-model
clock timezone UTC 2
system mtu routing 1500
ip subnet-zero
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport mode access
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.0.26 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.0.1
ip classless
ip default-network 192.168.0.0
ip http server
!
access-list 1 permit any log
!
control-plane
!
!
line con 0
line vty 0 4
password XXXXXXXXX
login
length 0
line vty 5 15
password XXXXXXXX
login
length 0
!
end

Switch#show interface

Vlan1 is up, line protocol is up
Hardware is EtherSVI, address is 001e.bd27.c4c0 (bia 001e.bd27.c4c0)
Internet address is 192.168.0.26/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 3 packets/sec
138534 packets input, 9472693 bytes, 0 no buffer
Received 0 broadcasts (68 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
30296 packets output, 2248820 bytes, 0 underruns
0 output errors, 1 interface resets
0 output buffer failures, 0 output buffers swapped out

FastEthernet0/2 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c484 (bia 001e.bd27.c484)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:56, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 46000 bits/sec, 37 packets/sec
5 minute output rate 582000 bits/sec, 71 packets/sec
1941044 packets input, 327622438 bytes, 0 no buffer
Received 38375 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 30699 multicast, 0 pause input
0 input packets with dribble condition detected
3224783 packets output, 2069682884 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out

FastEthernet0/4 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c486 (bia 001e.bd27.c486)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
129069 packets input, 64947010 bytes, 0 no buffer
Received 9953 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 9759 multicast, 0 pause input
0 input packets with dribble condition detected
600269 packets output, 45540585 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out


FastEthernet0/6 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c488 (bia 001e.bd27.c488)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:50, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
32693 packets input, 4244428 bytes, 0 no buffer
Received 9942 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 9759 multicast, 0 pause input
0 input packets with dribble condition detected
588460 packets output, 45003331 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out


FastEthernet0/8 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c48a (bia 001e.bd27.c48a)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:30, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
32694 packets input, 4243413 bytes, 0 no buffer
Received 9934 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 9757 multicast, 0 pause input
0 input packets with dribble condition detected
588485 packets output, 45009466 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out



FastEthernet0/12 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c48e (bia 001e.bd27.c48e)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:28, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
32742 packets input, 4252075 bytes, 0 no buffer
Received 9947 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 9763 multicast, 0 pause input
0 input packets with dribble condition detected
588497 packets output, 45019272 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out



FastEthernet0/13 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c48f (bia 001e.bd27.c48f)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:13, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
148160 packets input, 73818106 bytes, 0 no buffer
Received 9973 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 9760 multicast, 0 pause input
0 input packets with dribble condition detected
599666 packets output, 49045070 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out




FastEthernet0/14 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c490 (bia 001e.bd27.c490)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:05, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
129165 packets input, 68409495 bytes, 0 no buffer
Received 9982 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 9773 multicast, 0 pause input
0 input packets with dribble condition detected
600283 packets output, 45551497 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out




FastEthernet0/18 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c494 (bia 001e.bd27.c494)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:49, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 21000 bits/sec, 18 packets/sec
5 minute output rate 13000 bits/sec, 16 packets/sec
606386 packets input, 88151136 bytes, 0 no buffer
Received 159883 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 55198 multicast, 0 pause input
0 input packets with dribble condition detected
941617 packets output, 308269004 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out




FastEthernet0/20 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c496 (bia 001e.bd27.c496)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:54, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 1000 bits/sec, 1 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
515813 packets input, 87006769 bytes, 0 no buffer
Received 21466 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 19952 multicast, 0 pause input
0 input packets with dribble condition detected
1858112 packets output, 1700009146 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out



FastEthernet0/24 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.bd27.c49a (bia 001e.bd27.c49a)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1000 bits/sec, 1 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
546556 packets output, 41182636 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out



GigabitEthernet0/1 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 001e.bd27.c481 (bia 001e.bd27.c481)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 1000Mb/s, link type is auto, media type is 10/100/1000BaseTX SFP
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 556000 bits/sec, 83 packets/sec
5 minute output rate 76000 bits/sec, 63 packets/sec
4457827 packets input, 3961330567 bytes, 0 no buffer
Received 15028 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 11213 multicast, 0 pause input
0 input packets with dribble condition detected
3822373 packets output, 728132696 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out


Switch#show vlan
VLAN Name     Status         Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9, Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20, Fa0/21, Fa0/22, Fa0/23, Fa0/24, Gi0/1, Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------

Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

Hi

first thing please edit your post and remove your access password from the remote vty lines

never post passwords on public forum for production equipment just in case

line vty 0 4
password xxxxxx

***********************

Your issue

whats the setup of the router as the switch looks to be working correctly from what you say and what I see configured its doing its job , remember you said you cant route between the router and switch the router would take care of that , whats the vlan the router ports are on is it the same subnet do they get an ip address in same subnet off dhcp that the switch devices do , if they do and you cant ping them from same subnet theres something up on the router side as it would handle layer 3 ip traffic for routing

can the router ping the devices in attached to the cisco switch and can the device on the router ping any of the switches  devices

if you ,move a device off the router and attach it to the switch doe sit still work ok , reach the internet talk to other devices on the switch ?

As its a layer 2 switch you don't need this command as you have your gateway you can remove it ....ip default-network 192.168.0.0

View solution in original post

7 Replies 7

Mark Malone
VIP Alumni
VIP Alumni

Hi

first thing please edit your post and remove your access password from the remote vty lines

never post passwords on public forum for production equipment just in case

line vty 0 4
password xxxxxx

***********************

Your issue

whats the setup of the router as the switch looks to be working correctly from what you say and what I see configured its doing its job , remember you said you cant route between the router and switch the router would take care of that , whats the vlan the router ports are on is it the same subnet do they get an ip address in same subnet off dhcp that the switch devices do , if they do and you cant ping them from same subnet theres something up on the router side as it would handle layer 3 ip traffic for routing

can the router ping the devices in attached to the cisco switch and can the device on the router ping any of the switches  devices

if you ,move a device off the router and attach it to the switch doe sit still work ok , reach the internet talk to other devices on the switch ?

As its a layer 2 switch you don't need this command as you have your gateway you can remove it ....ip default-network 192.168.0.0

Hi Mark,

Thanks for the password notice ;) missed it...

Let's see if this explains how the lan is setup and my issue:

All devices are on the same network/subnet.

  • PC2 can communicate with the Voip Phone and the voip phone can communicate with PC2.
  • PC2 and Voip Phone can ping the router and can reach the Internet.
  • PC2 can communicate with the Switch.
  • PC1 can communicate with the Network Printer, the Router and the Internet.
  • PC2 cannot communicate with the printer or PC1.
  • The router can ping all devices connected: PC1, PC2, Printer, Cisco Switch, Voip Phone.
  • PC1 cannot reach the switch (telnet to management ip or ping it), PC2 or the Voip Phone.

What I want to do is enable PC2 to communicate with the the Network Printer and PC1 and vice versa.

If I connect PC2 or the Voip Phone directly to the router they can communicate with each other and the other devices connected to the router without any issue, which leads me to believe the problem is with the switch configuration.

I tried the default-network command thinking it might to the trick since nothing else seems to be working. Obviously didn't work. :)

As far as I can see all devices that are connected to the switch can communicate with each other but can't reach any device not connected to the switch except for the router.

Thanks for taking the time to answer.

Hi

Its not the switch causing that your looking in wrong device , the router looks after routing if you cannot ping through it the issue is on the router itself not the switch , the switch is just pumping all its traffic to the router , if the router does not know what to do with it its not the switch issue if you get me

the router looks after destination layer 3 traffic no matter what you change on the switch wont help you here as the switch is working as it should its switching traffic to the layer 3 router to be processed , the problem reading that is the router is not processing layer 3 packets between the devices correctly even though there on the same subnet either something's blocking communication or something's not set right or its faulty

PC2 cannot communicate with the printer or PC1.---- router issue as the switch can reach gateway , after the switch hits the gateway its up to the router routing table to process how it gets to the pc1 not the switch

if the switch can ping the gateway which is on the router then the router is the issue

is there any access-list applied on the router

is layer 3 routing fully enabled

what options does that router provide is there an arp table or route table to view or mac table ?

even though switch is basic configuration its still right , all you need is default gateway so it knows how to get back and your all vlan 1 so only access connection required to router

I understand what you're saying now. The traffic is forwarded from the switch to the router (gateway) but the router can't handle it. It still feel's weird that the router can ping all devices but can't handle communication between the devices connected to the switch and the rest.

The router is a  TpLink TL-ER6020.

The routing table looks like this:

Route Table
No. Destination Gateway Flags Logical Interface Physical Interface Metric
1 0.0.0.0/0 ISP_GATEWAY GS eth1 WAN1 0
2 192.168.0.0/24 N/A CP eth0 LAN 0
3 PUBLIC_IP/25 N/A C eth1 WAN1 0


System mode is NAT.

No access list rules.

Its strange its like the router is working ok as devices connected to either router or switch can speak to the internet so it is processing traffic but why is it not allowing devices to speak to each other on the same subnet when passing through the router , usually you don't need to enable anything to allow this especially when everything is on the same vlan/subnet

when your on the switch just as a test can you ping say the printer with a source set of vlan 1

ping 192.168.0.200 source vlan 1

just another thing voice and data on same vlan is not recommended that's not the issue but just so your aware

"Because of security risks associated with having data and voice devices on the same network, Cisco recommends isolating IP phones in VLANs dedicated to voice devices"

another thing you could try is set everything as static on router , static arp matching mac off each device , then the router will not rely on dynamic incase theres something wrong with that end of things , could be worth a shot , do you have that option on your model ?

http://www.tp-link.com/en/faq-170.html

Good morning,

Problem solved. I went through each page of the router's management interface and finally got it in the Switch page.

Apparently the guy that set up the network initally thought it was a good idea to set Ports 1 and 2 as VLAN1, and Port 3 as VLAN 4. Obviously the cisco switch was connected on Port 3 of the router. The router does not permit any communication between different VLAN's.

I was on that page before but never thought to give it a second look, I was alway looking at the first port, saw VLAN1 and didn't even care about the rest assuming they are all on VLAN1. Duh!!!

Anyway, thank you so much Mark. If you hadn't opened my eyes towards the router I would probably have been hacking away at it even on Christmas day. I was just so focused on the Cisco switch.

Thank you!

ah great glad you got it sorted