route.8 (52323) | route.8 (54263) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)route.8 8.3 (Berkeley) 3/19/94 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)route.8 8.3 (Berkeley) 3/19/94 |
33.\" $FreeBSD: head/sbin/route/route.8 52323 1999-10-16 21:05:11Z nsayer $ | 33.\" $FreeBSD: head/sbin/route/route.8 54263 1999-12-07 17:39:16Z shin $ |
34.\" 35.Dd March 19, 1994 36.Dt ROUTE 8 37.Os BSD 4.4 38.Sh NAME 39.Nm route 40.Nd manually manipulate the routing tables 41.Sh SYNOPSIS --- 22 unchanged lines hidden (view full) --- 64.Pp 65The following options are available: 66.Bl -tag -width indent 67.It Fl n 68Bypass attempts to print host and network names symbolically 69when reporting actions. (The process of translating between symbolic 70names and numerical equivalents can be quite time consuming, and 71may require correct operation of the network; thus it may be expedient | 34.\" 35.Dd March 19, 1994 36.Dt ROUTE 8 37.Os BSD 4.4 38.Sh NAME 39.Nm route 40.Nd manually manipulate the routing tables 41.Sh SYNOPSIS --- 22 unchanged lines hidden (view full) --- 64.Pp 65The following options are available: 66.Bl -tag -width indent 67.It Fl n 68Bypass attempts to print host and network names symbolically 69when reporting actions. (The process of translating between symbolic 70names and numerical equivalents can be quite time consuming, and 71may require correct operation of the network; thus it may be expedient |
72to forgo this, especially when attempting to repair networking operations). | 72to forgot this, especially when attempting to repair networking operations). |
73.It Fl v 74(verbose) Print additional details. 75.It Fl q 76Suppress all output. 77.El 78.Pp 79The 80.Nm --- 34 unchanged lines hidden (view full) --- 115.Cm flush 116command is specified, 117.Nm 118will ``flush'' the routing tables of all gateway entries. 119When the address family may is specified by any of the 120.Fl osi , 121.Fl xns , 122.Fl atalk , | 73.It Fl v 74(verbose) Print additional details. 75.It Fl q 76Suppress all output. 77.El 78.Pp 79The 80.Nm --- 34 unchanged lines hidden (view full) --- 115.Cm flush 116command is specified, 117.Nm 118will ``flush'' the routing tables of all gateway entries. 119When the address family may is specified by any of the 120.Fl osi , 121.Fl xns , 122.Fl atalk , |
123.Fl inet6 , |
|
123or 124.Fl inet 125modifiers, only routes having destinations with addresses in the 126delineated family will be deleted. 127.Pp 128The other commands have the following syntax: 129.Pp 130.Bd -filled -offset indent -compact --- 89 unchanged lines hidden (view full) --- 220or to manually add subnet routes with 221netmasks different from that of the implied network interface 222(as would otherwise be communicated using the OSPF or ISIS routing protocols). 223One specifies an additional ensuing address parameter 224(to be interpreted as a network mask). 225The implicit network mask generated in the AF_INET case 226can be overridden by making sure this option follows the destination parameter. 227.Pp | 124or 125.Fl inet 126modifiers, only routes having destinations with addresses in the 127delineated family will be deleted. 128.Pp 129The other commands have the following syntax: 130.Pp 131.Bd -filled -offset indent -compact --- 89 unchanged lines hidden (view full) --- 221or to manually add subnet routes with 222netmasks different from that of the implied network interface 223(as would otherwise be communicated using the OSPF or ISIS routing protocols). 224One specifies an additional ensuing address parameter 225(to be interpreted as a network mask). 226The implicit network mask generated in the AF_INET case 227can be overridden by making sure this option follows the destination parameter. 228.Pp |
229For 230.Dv AF_INET6 , 231the 232.Fl prefixlen 233qualifier 234is available instead of the 235.Fl mask 236qualifier because non-continuous masks are not allowed in IPv6. 237For example, 238.Fl prefixlen Li 32 239specifies network mask of 240.Li ffff:ffff:0000:0000:0000:0000:0000:0000 241to be used. 242The default value of prefixlen is 64 to get along with 243the aggregatable address. 244But 0 is assumed if 245.Cm default 246is specified. 247Note that the qualifier works only for 248.Dv AF_INET6 249address family. 250.Pp |
|
228Routes have associated flags which influence operation of the protocols 229when sending to destinations matched by the routes. 230These flags may be set (or sometimes cleared) 231by indicating the following corresponding modifiers: 232.Bd -literal 233-cloning RTF_CLONING - generates a new route on use 234-xresolve RTF_XRESOLVE - emit mesg on use (for external lookup) 235-iface ~RTF_GATEWAY - destination is directly reachable --- 110 unchanged lines hidden --- | 251Routes have associated flags which influence operation of the protocols 252when sending to destinations matched by the routes. 253These flags may be set (or sometimes cleared) 254by indicating the following corresponding modifiers: 255.Bd -literal 256-cloning RTF_CLONING - generates a new route on use 257-xresolve RTF_XRESOLVE - emit mesg on use (for external lookup) 258-iface ~RTF_GATEWAY - destination is directly reachable --- 110 unchanged lines hidden --- |