Currently, when using the ifconfig command, the following IP addresses are shown:own IP, broadcast and mask. Is there a way to show the related gateway IP address as well (on the same screen with all the others, not by using 'route' command)?
show gateway IP address when performing ifconfig command
linux;ip
You can with the ip command, and given that ifconfig is in the process of being deprecated by most distributions it's now the preferred tool.  An example:$ ip route show212.13.197.0/28 dev eth0  proto kernel  scope link  src 212.13.197.13default via 212.13.197.1 dev eth0