Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two network interfaces present in two different subnets and are configured as DHCP. When I run route command I am getting following output with asterisk in Gateway. What is the meaning of it?

enter image description here

Update : I have cropped the default route in the image

share|improve this question
Unrelated, but I'd suggest using the -n option to avoid doing DNS lookups, thus making it faster. – lorenzog Feb 3 '14 at 16:59
up vote 2 down vote accepted

The snowflakes indicate that there is no default route (some other router) to the networks associated with the local interfaces. That is, any IP packet going to any of those networks (subnets) can be reached via the indicated interface (eth0, wlan0, lo).

$ (route ;echo; route -n ) | grep -v '^[KD]'        *      U     0      0        0 eth0     *        U     2004   0        0 wlan0
link-local      *          U     2      0        0 eth0
loopback        localhost.local       UG    0      0        0 lo
default         UG    2004   0        0 wlan0 U     0      0        0 eth0   U     2004   0        0 wlan0     U     2      0        0 eth0       UG    0      0        0 lo         UG    2004   0        0 wlan0

In other words is on eth0 and is on wlan0, but to reach anyone else (excluding 127.*), this machine must send stuff to

share|improve this answer

Just answered a similar question:

Why there is only one Default Gateway?

The "*" or gateway indicates the network is directly reachable - no gateway needed. The default gateway is an address where packets are sent if they don't match a more specific route - i.e. if they are destined for a core router & the broader internet.

share|improve this answer

From here,

The Gateway column identifies the defined gateway for the specified network. An asterisk (*) appears in this column if no forwarding gateway is needed for the network.

share|improve this answer
Someone feel free to post another answer, that's all I have, lol – cutrightjm Apr 10 '13 at 3:28
Does that just mean you can directly reach that network over that interface (i.e. an ARP request sent from that interface will get a result?) – cpast Apr 10 '13 at 3:28
No idea, that's all I have – cutrightjm Apr 10 '13 at 3:30
I found following information in man pages Gateway : The gateway address or '*' if none set. Genmask : The netmask for the destination net; '' for a host destination and '' for the default route. How does the interface figures out the default route ? In case if both the interfaces are present in two different subnets, what is the meaning of default route? – Sirish Kumar Apr 10 '13 at 3:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .