Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #3019
| From | Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: beginner question on route |
| Date | 2014-07-06 10:34 +0200 |
| Organization | Plouf ! |
| Message-ID | <lpb1ng$1esi$1@saria.nerim.net> (permalink) |
| References | <lp88bk$ucv$1@news.m-online.net> <lpak83$2ta$1@dont-email.me> |
William Unruh a écrit : > On 2014-07-05, Magnus Warker <magnux@mailinator.com> wrote: >> >> the output of a "route" call on my Linux box looks like this: >> >> Kernel IP routing table >> Destination Gateway Genmask Flags Metric Ref Use >> Iface >> default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 >> localnet * 255.255.255.0 U 0 0 0 eth0 >> >> Questions: >> >> What is this route with destination "localnet" for and what does "*" as >> gateway mean? > > I suspect that localnet is 127.0.0.0 No. 127.0.0.0 is rather the loopback subnet, its mask would be 255.0.0.0, not 255.255.255.0 and its interface would be the loopback interface "lo". Besides, the loopback route does not appear in the main routing table, it is stored in a special "local" table which can be displayed with "ip route table local". As detha wrote, localnet is the LAN subnet attached to eth0. Network names are usually stored in /etc/networks.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Find similar | Unroll 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