03-03-2018 05:40 PM - edited 03-08-2019 02:07 PM
PC ----Switch----Router
Switch can ping Router
PC can ping Router
but my switch can't ping my PC ? why is this? Just curious I mean my internet works fine and everything works normal as it should.
interface FastEthernet1/0/1
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
speed 100
duplex full
interface FastEthernet1/0/24
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
speed 100
duplex full
----------------------------------------------
Nothing shows on CDP neighbors for switch
SW-1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
-----------------------------------------------
SW-1#show mac address-table dynamic
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 000f.ff19.ae77 DYNAMIC Fa1/0/24
1 0805.81e8.c986 DYNAMIC Fa1/0/24
1 14bb.6e92.d63b DYNAMIC Fa1/0/24
1 3c7a.8ad7.bdc7 DYNAMIC Fa1/0/24
1 3c7a.8ad7.bdce DYNAMIC Fa1/0/24
1 6c0b.84f8.f20e DYNAMIC Fa1/0/24
1 a01d.48ed.da40 DYNAMIC Fa1/0/24
1 ac22.0bbe.a73a DYNAMIC Fa1/0/24
1 ac63.bec3.9031 DYNAMIC Fa1/0/24
1 ac9b.0a30.3c22 DYNAMIC Fa1/0/24
1 d073.d514.86b4 DYNAMIC Fa1/0/24
1 d073.d514.9a5b DYNAMIC Fa1/0/24
1 d4be.d90b.ff45 DYNAMIC Fa1/0/1
1 ec1f.729a.13fe DYNAMIC Fa1/0/24
1 f45c.89c0.0d43 DYNAMIC Fa1/0/24
-----------------------------------------------------------
SW-1#show int fa1/0/1
FastEthernet1/0/1 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.133d.6483 (bia 001e.133d.6483)
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:01:24, 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 7000 bits/sec, 6 packets/sec
14656 packets input, 2478722 bytes, 0 no buffer
Received 1272 broadcasts (687 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 687 multicast, 0 pause input
0 input packets with dribble condition detected
33478 packets output, 23736339 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
SW-1#show int fa1/0/24
FastEthernet1/0/24 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 001e.133d.649a (bia 001e.133d.649a)
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: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 4000 bits/sec, 4 packets/sec
5 minute output rate 1000 bits/sec, 2 packets/sec
37835 packets input, 24408469 bytes, 0 no buffer
Received 14282 broadcasts (7770 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 7770 multicast, 0 pause input
0 input packets with dribble condition detected
16907 packets output, 2593299 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
Solved! Go to Solution.
03-03-2018 09:45 PM
A few things you should clarify in your post:
It looks like you've likely configured a trunk interface to the PC. Since the PC probably isn't configured with 802.1Q encapsulation, when the switch receives an untagged packet, it will assume it belongs to the native VLAN (default 1).
My guess is your L3 management interface on the switch is configured as "interface VLAN10" which is not on the native VLAN. Maybe you have your router configured with 802.1Q trunking as well, but you'd need to specify that part of the config.
03-03-2018 09:45 PM
A few things you should clarify in your post:
It looks like you've likely configured a trunk interface to the PC. Since the PC probably isn't configured with 802.1Q encapsulation, when the switch receives an untagged packet, it will assume it belongs to the native VLAN (default 1).
My guess is your L3 management interface on the switch is configured as "interface VLAN10" which is not on the native VLAN. Maybe you have your router configured with 802.1Q trunking as well, but you'd need to specify that part of the config.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: