How To Find Out The Default Gateway In Linux

IT Support Forum Forums Linux & UNIX Fedora General Discussion How To Find Out The Default Gateway In Linux

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 5 months ago.

  • Author
    Posts
  • #2117

    Webmaster
    Keymaster

    On a Linux machine you can find out what the default dateway is by typing the following command:

    ip route | grep default

    This will return the default gateway.

You must be logged in to reply to this topic.