10-25-2020 12:14 AM
Hi
I have a 3850 switch and to it is connected my pc with the ip 172.24.0.253. My gateway which is an svi on the switch is 172.24.0.254. The switch has a layer 3 port whose IP is 172.30.0.2. I can ping my PC from the switch but when I introduce the source parameter to the ping command and have the layer 3 port (172.30.0.2) as the source I am not able to ping. This exact setup is working in all my other switches. Any idea on what I'm missing here. its really frustrating me.
Below is my routing table
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
172.24.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.24.0.0/24 is directly connected, Vlan100
L 172.24.0.254/32 is directly connected, Vlan100
C 172.24.253.254/32 is directly connected, Loopback0
172.30.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.30.0.0/30 is directly connected, GigabitEthernet1/1/2
L 172.30.0.2/32 is directly connected, GigabitEthernet1/1/2
10-25-2020 02:11 AM - edited 10-25-2020 02:14 AM
Hello
Make sure the pc has a default-gateway and enable vlan 1 svi on the switch
int vlan 1
no shut
10-25-2020 02:45 AM
Hi Paul
This didn't work
10-25-2020 03:42 AM
Can you post below output :
show ip interface brief
show ip cef 172.24.0.253 details
show ip cef 172.24.0.254 details
show ip cef 172.30.0.2 details
show platform software ip switch active R0 cef prefix 172.24.0.253/32 detail
show interface vlan 100 | in bia
===
Try disable fast switching for testing.
no ip route-cache
enable debug :
debug ip icmp
debug ip routing
10-25-2020 04:33 AM
Hi Balaji,
here are the outputs
Switch#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset up down
Vlan100 172.24.0.254 YES manual up up
Vlan110 172.19.1.20 YES manual down down
GigabitEthernet0/0 unassigned YES unset down down
GigabitEthernet1/0/1 unassigned YES unset down down
GigabitEthernet1/0/22 unassigned YES unset down down
GigabitEthernet1/0/23 unassigned YES unset down down
GigabitEthernet1/0/24 unassigned YES unset up up
GigabitEthernet1/1/1 unassigned YES unset down down
GigabitEthernet1/1/2 172.30.0.2 YES manual up up
Loopback0 172.24.253.254 YES manual up up
=============================================================================
Switch#show ip cef 172.24.0.253 detail
172.24.0.253/32, epoch 3, flags [attached]
Adj source: IP adj out of Vlan100, addr 172.24.0.253 FFAB3C3AA0
Dependent covered prefix type adjfib, cover 172.24.0.0/24
attached to Vlan100
============================================================================
Switch#show ip cef 172.24.0.254 detail
172.24.0.254/32, epoch 3, flags [receive, local, source eligible]
Interface source: Vlan100 flags: local, source eligible
receive for Vlan100
=======================================================================
Switch#show ip cef 172.30.0.2 detail
172.30.0.2/32, epoch 3, flags [receive, local, source eligible]
Interface source: GigabitEthernet1/1/2 flags: local, source eligible
receive for GigabitEthernet1/1/2
===========================================================================
Switch#$rm software ip switch active R0 cef prefix 172.24.0.253/32 detail
Forwarding Table
172.24.0.253/32 -> OBJ_ADJACENCY (33), urpf: 34
Connected Interface: 43
Prefix Flags: Directly L2 attached
OM handle: 0x8055fd60
===============================================================================
Hardware is Ethernet SVI, address is 00bf.7769.3bd1 (bia 00bf.7769.3bd1)
10-25-2020 04:52 AM
Can you please post below output, along with debug.
show adjacency 172.24.0.253 detail
show platform software adjacency switch active R0 index 10
Can you post your source IP address ping outcome from the console - when you initiated ?
10-25-2020 05:39 AM
Hello
sh arp
sh mac address-table int gig1/1/2
sh mac address-table int gig1/0/24
clear arp
ping 172.24.0.253
ping 172.24.0.253 source gig1/1/2
ping 172.24.0.253 source loopback0
lastly try a different routed port-
default interface 1/1/2
int 1/0/23
no switchport
ip address 172.30.0.2 255.255.255.252
no shut
10-25-2020 06:00 AM
Hi Balaji
here it is. I didn' really understand your last question
Switch#
*Oct 25 12:56:42.352: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:43.353: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:44.353: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:46.354: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:47.890: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:48.891: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:49.891: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:51.892: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:55.892: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:56:59.127: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:57:00.127: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:57:01.127: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:57:03.128: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:57:07.129: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
Switch#
*Oct 25 12:57:11.131: ICMP: dst (13.107.4.52) host unreachable sent to 172.24.0.253
*Oct 25 12:57:12.131: ICMP: dst (13.107.4.52) host unreachable sent to 172.24.0.253
*Oct 25 12:57:14.132: ICMP: dst (13.107.4.52) host unreachable sent to 172.24.0.253
*Oct 25 12:57:18.133: ICMP: dst (13.107.4.52) host unreachable sent to 172.24.0.253
*Oct 25 12:57:26.133: ICMP: dst (13.107.4.52) host unreachable sent to 172.24.0.253
*Oct 25 12:57:32.147: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
*Oct 25 12:57:33.147: ICMP: dst (8.8.8.8) host unreachable sent to 172.24.0.253
Switch#show platform software adjacency switch active R0 index 10
Number of adjacency objects: 4
10-25-2020 09:26 AM
post this output - show adjacency 172.24.0.253 detail
capture how you pinging using source and post the outcome.
Like are you ping with source interface or using extending ping?
same debug output.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide