My router has a WAN PRIVATE IP address which is assigned via DHCP by my ISP. This is different from my public IP address of course.
In my router settings page I can read it: 10.245.134.71
, and gateway IP is 10.245.122.1
.
How can I get to know this IP (while connected to my router via LAN) without having to open the router settings page?
I am looking for a shell command to show the IP in red.
If I perform a tracert it doesn't show:
tracert 8.8.8.8
1 4 ms <1 ms 10 ms dsldevice.lan [192.168.1.254] <-- I don't need this one
2 17 ms 17 ms 19 ms 10.245.122.1 <-- the actual gateway
3 22 ms 18 ms 17 ms 10.21.107.254
etc etc
tracert 10.245.134.71
1 1 ms 5 ms 3 ms dsldevice.lan [10.245.134.71] <-- This one! but how to get?
tracert dsldevice.lan
1 1 ms 7 ms <1 ms dsldevice.lan [192.168.1.254]