History log of /freebsd-10.0-release/sbin/route/route.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 243185 17-Nov-2012 hrs

Add -fib modifier to specify FIB number. The FIB number can be in a
comma-separated list and/or range specification:

# route add -inet 192.0.2.0/24 198.51.100.1 -fib 1,3-5,6

Although all of the subcommands supports the modifier, "monitor" does not
support the list or range specification at this moment.

Reviewed by: bz


# 233458 25-Mar-2012 joel

Remove superfluous paragraph macro.


# 233418 24-Mar-2012 joel

Document the show alias and add an EXAMPLES section.


# 196833 04-Sep-2009 kmacy

remove stale references to RTF_CLONING and RTF_LLINFO

MFC after: 3 days


# 173261 01-Nov-2007 obrien

Document -t.


# 150820 02-Oct-2005 ru

Document that -q option is also applicable to the "change" command.

PR: docs/85095
Submitted by: Rostislav Krasny


# 150679 28-Sep-2005 tobez

Introduce "route del" as an alias to "route delete".

Reviewed by: arch


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 140415 18-Jan-2005 ru

Sort sections.


# 140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


# 139987 10-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 137189 04-Nov-2004 bms

Fix markup: .Dv -> .Va
Update document dates.

Prodded by: ru


# 137180 04-Nov-2004 bms

Document the fact that blackhole routes normally need to be bound
to lo(4) interfaces to have an effect, and that this is not needed
when using IP fast forwarding.

Sponsored by: eXtensible Open Router Project <URL:http://www.xorp.org/>
MFC after: 3 weeks


# 131488 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 129327 17-May-2004 ru

Assorted markup, grammar, and spelling fixes.


# 128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 122423 10-Nov-2003 brueffer

Add a describtion for the '-d' flag

While I'm here, add a missing comma

PR: 41787
Obtained from: OpenBSD
MFC after: 5 days


# 120486 26-Sep-2003 bms

Correct log message. This change documents the -genmask flag in route(8).

Reviewed by: ru
Valium to: bms


# 120484 26-Sep-2003 bms

Add the -xresolve flag to the route(8) man page.

Reviewed by: ru


# 99503 06-Jul-2002 charnier

The .Nm utility.


# 97278 25-May-2002 ru

Respect -q with "add" and "delete". Document who respects -q.

PR: bin/38531


# 81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


# 81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


# 78140 12-Jun-2001 ru

Allow route(8) to create "proxy only" published ARP entries.

PR: bin/12357
Submitted by: Craig Leres <leres@ee.lbl.gov>


# 77908 08-Jun-2001 ru

When changing an indirect route, kernel routing code allocates
a route to the gateway and caches it in the route structure.
It may happen (if the routing table is screwed) that the gateway
route is the same route as the one being modified, in which case
a kernel reports EDQUOT. Be more verbose about this:

# route add -net 10 192.168.4.65
add net 10: gateway 192.168.4.65
# netstat -rn -finet
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.4.65 UGSc 1 7 rl0
10 192.168.4.65 UGSc 0 0 rl0
127.0.0.1 127.0.0.1 UH 0 178 lo0
192.168.4 link#1 UC 2 0 rl0 =>
192.168.4.65 0:d0:b7:16:9c:c6 UHLW 2 0 rl0 1123

Before:

# route change -net 10 10.0.0.1
route: writing to routing socket: Disc quota exceeded
change net 10: gateway 10.0.0.1: Disc quota exceeded

After:

# ./route change -net 10 10.0.0.1
route: writing to routing socket: Disc quota exceeded
change net 10: gateway 10.0.0.1: gateway uses the same route

PR: bin/1093, misc/26833


# 77904 08-Jun-2001 ru

Change the host/bits syntax introduced in route.c,v 1.24 to the
net/bits syntax, for consistency with netstat(1) in particular.

OK'ed by: phk
MFC after: 1 week


# 77873 07-Jun-2001 ru

- Exit 1 if "add", "change", or "delete" operation fails.

PR: bin/12489

- Use inet_ntoa(3) where it should have been used. This
part of code simply wasn't converted to the "new" style
after the routename() function was converted from the
protocol-generic version to protocol-specific version
in CSRG revision 5.6.

MFC after: 1 week


# 75495 13-Apr-2001 dd

mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.

Reviewed by: ru


# 72126 07-Feb-2001 ru

mdoc(7) police: Change -filled displays (which just happen
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.


# 69232 26-Nov-2000 dannyboy

Typo fix: forgot -> forget.

PR: 23113
Submitted by: Jimmy Olgeni <olgeni@uli.it>


# 68960 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 66450 29-Sep-2000 ru

- Documented the host/bits syntax for destination argument.
- Documented that netmask could be specified with third argument.


# 54263 07-Dec-1999 shin

udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# 52323 16-Oct-1999 nsayer

MFS: forego->forgo


# 52320 16-Oct-1999 nsayer

spell check != grammar check. :-)


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46436 04-May-1999 ghelmer

Mention the special destination "default" for default routes. Fix a
couple of formatting bugs.

PR: docs/9960


# 37907 28-Jul-1998 charnier

Comment is .\" not .|'. Add -d and -t flags to SYNOPSIS and usage(). Getopt
returns -1. Correct use of .Nm. Spelling. Add rcsid and remove unused
#include.


# 26723 18-Jun-1997 charnier

Sync beetween man page and usage string.


# 22990 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 21635 12-Jan-1997 wosch

Sort cross references.


# 17674 19-Aug-1996 julian

back out a part of the previous patch that garrett objected to..


# 17591 13-Aug-1996 julian

Submitted by: Archie@whistle.com
if making a interface route, and it's a P2P link,
then also automatically lable it as an llinfo entry so that
gated and friends don't clobber it..


# 17486 09-Aug-1996 julian

Reviewed by: julian
Submitted by: archie@whistle.com

This patch allows true interface routing to be controlled
from the command line..
you can now do:
route add default -interface ppp0
even if you have no clue what the address at the other end is..

this is part of a set of changes that allow true "unnumbered links"
such as netcom run between their sites..
In practice you should assign the address from one of your ethernet
interfaces to the local side of the P2P link so that IP doesn't
say that the packet comes from 255.255.255.255, but
there is no need whatsoever to assign an address of any kind
to the remote end of the link.. useful for frame relay links etc also.


# 17046 09-Jul-1996 julian

changes to allow route to manipulate appletalk routes.


# 15136 08-Apr-1996 mpp

Do not install the now unsupported netns and netiso
related man pages. Comment out cross references to those man
pages from other man pages.


# 14045 12-Feb-1996 mpp

Another round of man page cleanups.

Down to only about 100 items left to cleanup! :-)


# 1559 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1558,
which included commits to RCS files with non-trunk default branches.


# 1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.