Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
In Cisco routing, the default source interface is the IP of the connected interface used to exit the source device. Routing must work both ways; R1 must be able to reach SW1, and SW1 must be able to reach R1. Your ping from R1 to SW1 works when using...