≡ Menu

What Is The Meaning of In Routing Table?

My home Linux laptop is connected to ADSL router and whenever I run route -n command at the prompt it says is set to my routers IP What is the meaning of

Each network host has a default route for each network card. This will create a route for such card. The address generally means “any address”. If a packet destination doesn’t match an individual address in the table, it must match a gateway address. In other words, default gateway is always pointed by
route -n
Sample outputs:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface UH    0      0        0 ppp0 UGH   0      0        0 wlan0   U     0      0        0 vmnet8   U     2      0        0 wlan0   U     0      0        0 vmnet1   U     0      0        0 virbr0     U     1000   0        0 wlan0       U     0      0        0 ppp0         UG    0      0        0 wlan0 is my ISP router i.e. default gateway indicated by Other destination such as network use ppp0 interface as gateway. If you are MS-Windows user use route print command.

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 3 comments… add one }
  • Mike December 5, 2012, 8:20 pm

    What does mean in the Gateway column, not Destination? Drop the packet?

    • FIro October 28, 2016, 2:52 am

      Gateway with means this route rule do not need a gateway, you pc might connect to other device by a switch/bridge.

  • NetLover February 22, 2016, 9:05 pm

    The default route in Internet Protocol Version 4 (IPv4) is designated as the zero-address in CIDR notation,[1] often called the quad-zero route. The subnet mask is given as /0, which effectively specifies all networks, and is the shortest match possible.

    See full article here: https://en.wikipedia.org/wiki/Default_route

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , , , , , , , , , , ,