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

Viewing 0 reply threads
  • 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.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.