Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3024

Re: beginner question on route

From William Unruh <unruh@invalid.ca>
Newsgroups comp.os.linux.networking
Subject Re: beginner question on route
Date 2014-07-07 20:34 +0000
Organization A noiseless patient Spider
Message-ID <lpf07o$6on$1@dont-email.me> (permalink)
References <lp88bk$ucv$1@news.m-online.net> <53b7ab58$0$63460$862e30e2@ngroups.net> <lpehvk$hfi$1@news.m-online.net>

Show all headers | View raw


On 2014-07-07, Magnus Warker <magnux@mailinator.com> wrote:
> On 07/05/2014 09:38 AM, detha wrote:
>> On Sat, 05 Jul 2014 09:09:40 +0200, Magnus Warker wrote:
>
>> localnet is what is directly connected to eth0, probably 192.168.1.0/24 in
>> your case; the * means no gateway, directly reachable.
>>
>> If you use 'route -n' (or 'ip route show') things may be a bit clearer.
>
> Ok. What does a destination 0.0.0.0 mean? And what does a gateway 
> 0.0.0.0 mean?

It means any destination (default route)
It means thatthe system is just to dump the packets onto the local
network as those addresses are of  computers are attached directly to your computer. 
by your local network. Ie, it is to look up the arp tables and deliver
the messages to mac adresses not ip addresses. 




>
> And BTW: Why does "route" last several seconds until the table is 
> printed (while "route -n" prints the table immediately)?

It has to use dns to figure out what the names associated with the
addresses are. 
In the coputer, the routing is by address, not name, so it needs no time
to figure out what the addresses in the table are, that is how they are
stored there. 

>
> Thanks
> Magnus

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

beginner question on route Magnus Warker <magnux@mailinator.com> - 2014-07-05 09:09 +0200
  Re: beginner question on route detha <detha@foad.co.za> - 2014-07-05 09:38 +0200
    Re: beginner question on route Magnus Warker <magnux@mailinator.com> - 2014-07-07 18:30 +0200
      Re: beginner question on route Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2014-07-07 19:40 +0300
      Re: beginner question on route William Unruh <unruh@invalid.ca> - 2014-07-07 20:34 +0000
  Re: beginner question on route William Unruh <unruh@invalid.ca> - 2014-07-06 04:44 +0000
    Re: beginner question on route Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-07-06 10:34 +0200

csiph-web