default gateway on linux

How to Find Default Gateway in Linux Unixmen. Find Default Gateway in Linux Using netstat. Use the following command: sk@sk:~$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0.

How to Find Default Gateway in Linux Unixmen
How to Find Default Gateway in Linux Unixmen from fedingo.com

Focus on the line that starts with default. This will give the default gateway IP. Alternatively and conveniently, you can use the above command in combination with the grep command: ip route grep default. This will just give.

0 komentar