How to find default gateway
My question is why we still need to use command ip default-gateway since the router still can reach the switch from other network without the ip default-gateway. If you don't add the ip default-command to the switch, the switch can only reach hosts in the local subnet (192.168.0.0/24) and no other subnet.