ip route | grep default
route
route -n
ip route show
DNS details stored in /etc/resolv.conf
hostname -I
/sbin/ifconfig