netstat -rn
Legacy command for network status, show routes, and numeric display
route -n
a route command all to itself
Instead, now we have the ip set of commands.
Or
ip address
and for IP version 4 (IPv4)
ip -4 address
sudo nmcli connection show
