Most often, if you’d like to know what your router IP address is, you need to have access to its interface via a browser, or similar such gadgets. Here’s a few convenient one-liners which will give you that info more easily/conveniently…
Find your LAN/WAN/DHCP addresses

Super cool Mr T