How to find out the gateway IP address of your Linux machine on a LAN.

This is how you find out the gateway IP address of your Linux machine on a LAN. I have executed the route -n command and I have this output. The UG flags on the IP address denote it as a gateway IP address. root@darknet:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric … Read more