This is something I have seen SO many times when teaching live classes. A student puts up their hand and tells me they configured everything perfectly, but can't ping anything, and they are now losing their mind.
Well, they are not losing their mind, they just forgot one command... "no shutdown"
interface gi0/1
no shutdown
Cisco interfaces are administratively down by default.
ALWAYS check: show ip interface brief (shortened: sh ip int bri)
If you see "administratively down" → You forgot "no shutdown"
How many of you have lost hours to this? 🤦♂️ Drop a 😅 if this has happened to you!