Search Posts

Find out Gateway / router IP address under Linux / UNIX

Find out Gateway / router IP address under Linux / UNIX

You need to use command called route. It manipulates the kernel’s IP routing tables. It can also use as follows to print gateway / router IP address:

 $ route -n