ifconfig

ifconfig in short “interface configuration” utility for system/network administration in Unix/Linux operating systems to configure, manage and query network interface parameters via command-line interface or in a system configuration scripts. The “ifconfig” command is used for displaying current network configuration information, setting up an IP address, netmask, or broadcast address to a network interface, creating an alias for the network … Read more

Find out Gateway / router IP address under Linux / UNIX using route command

You need to use route command. This command can manipulates the kernel’s IP routing tables. It can be also use to print gateway / router IP address. Type the following command to see default gateway: $ route -n Output: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.10.54 0.0.0.0 255.255.255.0 U … Read more