cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
2
Helpful
8
Replies

Why router can't ping to switch

ankitohc
Spotlight
Spotlight

Team,

 I am new to CCNA. Why am I not able to ping from the router to switch? I have added router act as ISP where I have set a static route.

Please guide me

Packet Tracer Lab.pkt

 

 

Ankit

1 Accepted Solution

Accepted Solutions
8 Replies 8

M02@rt37
VIP
VIP

Hello @ankitohc,

if you want your SW ping ISP router (8.8.8.8 lo), you have to add route on that SW:

M02rt37_0-1694465204761.png

 

and add static route also on ISP router:

M02rt37_1-1694465238093.png

M02rt37_2-1694465355135.png

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Martin L
VIP
VIP

Routers and L3 switches (with ip routing enabled) know about its directly connected interfaces and put those as connected routes.  you do not have route from ISP to switch.  Since, Ping is 2 way deal, to and from must be ok to get success, u will need add more static routes on routers and L3 switch.   

command ip default-gateway 192.168.1.1 is not needed because ur switch is L3 not l2 switch.

Regards, ML
**Please Rate All Helpful Responses **

ankitohc
Spotlight
Spotlight

M02@rt37  thank you however, Why I am not able to ping from PC0,PC1 and PC2 to a router IP address?

I have configured the SVI on the switch

Thus is usually done with so called ROAS. router on a stick with trunking between router and switch 

Regards, ML
**Please Rate All Helpful Responses **

thank you @martin ,,, I really appreciate your help

ankitohc
Spotlight
Spotlight

I have added the routing to the router of all SVI default gateway.. it works now this is the final configuration.

ankitohc_0-1694466464477.png

Packet Tracer Lab updated.pkt

 

That was the key @ankitohc !

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Thank you M02@rt37 

Review Cisco Networking for a $25 gift card