08-18-2024 11:17 PM
Switch is using a loopback IP and multiple VLANs.
All VLANs are pingable as next hops.
If ping to an external DNS, what is the source IP?
Solved! Go to Solution.
08-19-2024 02:24 AM
Nearest interface to destination SW use it IP
Mostly is the IP of interfaces use in default route
MHM
08-19-2024 02:52 AM
On a L3 switch, correct?
If so, its default is as already noted by @MHM Cisco World , i.e. the switch's egress interface IP.
BTW, some services, e.g. FTP, support a configuration command to designate a source IP. This overrides, the above, default behavior. (Don't recall this being a config option for ping, but I recall a switch's ping may support a source option.)
08-19-2024 06:00 AM - edited 08-19-2024 06:34 AM
To add, U can check show ip cef also/and/or using show ip route
also, u can try debug ip icmp
Regards, ML
**Please Rate All Helpful Responses **
08-19-2024 02:24 AM
Nearest interface to destination SW use it IP
Mostly is the IP of interfaces use in default route
MHM
08-19-2024 02:52 AM
On a L3 switch, correct?
If so, its default is as already noted by @MHM Cisco World , i.e. the switch's egress interface IP.
BTW, some services, e.g. FTP, support a configuration command to designate a source IP. This overrides, the above, default behavior. (Don't recall this being a config option for ping, but I recall a switch's ping may support a source option.)
08-19-2024 06:00 AM - edited 08-19-2024 06:34 AM
To add, U can check show ip cef also/and/or using show ip route
also, u can try debug ip icmp
Regards, ML
**Please Rate All Helpful Responses **
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