linux default gateway ip command

How to Find Default Gateway IP in Linux Linux Handbook. Alternatively and conveniently, you can use the above command in combination with the grep command: ip route grep default. This will just give the default gateway IP in the output: default via 192.168.0.1 dev wlp1s0 proto.

How to Find Default Gateway IP in Linux Linux Handbook
How to Find Default Gateway IP in Linux Linux Handbook from fedingo.com

With the ip command you can find out what the default gateway setting is, and you can add or delete default gateways. Discovering the Default Gateway. To see the routes.

0 komentar