routeadm.8 (bbf215553c7233fbab8a0afdf1fac74c44781867) | routeadm.8 (10d41d991988b6dfe2f102d139fb64152e1614ce) |
---|---|
1'\" te 2.\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved 3.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. 4.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. 5.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 6.TH ROUTEADM 8 "May 13, 2017" 7.SH NAME 8routeadm \- IP forwarding and routing configuration 9.SH SYNOPSIS | 1'\" te 2.\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved 3.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. 4.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. 5.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] 6.TH ROUTEADM 8 "May 13, 2017" 7.SH NAME 8routeadm \- IP forwarding and routing configuration 9.SH SYNOPSIS |
10.LP | |
11.nf 12\fBrouteadm\fR [\fB-p\fR [\fIoption\fR]] 13.fi 14 15.LP 16.nf 17\fBrouteadm\fR [\fB-R\fR \fIroot-dir\fR] [\fB-e\fR \fIoption\fR ...] [\fB-d\fR \fIoption\fR...] 18 [\fB-r\fR \fIoption\fR...] [\fB-s\fR \fIvar\fR=\fIvalue\fR] --- 10 unchanged lines hidden (view full) --- 29.fi 30 31.LP 32.nf 33\fBrouteadm\fR [\fB-u\fR] 34.fi 35 36.SH DESCRIPTION | 10.nf 11\fBrouteadm\fR [\fB-p\fR [\fIoption\fR]] 12.fi 13 14.LP 15.nf 16\fBrouteadm\fR [\fB-R\fR \fIroot-dir\fR] [\fB-e\fR \fIoption\fR ...] [\fB-d\fR \fIoption\fR...] 17 [\fB-r\fR \fIoption\fR...] [\fB-s\fR \fIvar\fR=\fIvalue\fR] --- 10 unchanged lines hidden (view full) --- 28.fi 29 30.LP 31.nf 32\fBrouteadm\fR [\fB-u\fR] 33.fi 34 35.SH DESCRIPTION |
37.LP | |
38The \fBrouteadm\fR command is used to administer system-wide configuration for 39IP forwarding and routing. IP forwarding is the passing of IP packets from one 40network to another; IP routing is the use of a routing protocol to determine 41routes. 42.sp 43.LP 44IP forwarding and routing functions are also represented as services within the 45service management facility (SMF), and can be administered by means of --- 28 unchanged lines hidden (view full) --- 74appropriate daemon for IPv4 or IPv6 routing. \fBrouteadm\fR will then run that 75daemon using the \fBsvc:/network/routing/legacy-routing:ipv4\fR\fI[or 6]\fR 76service as appropriate. This conversion process occurs when you issue an enable 77(\fB-e\fR), disable (\fB-d\fR) or an update (\fB-u\fR) command. 78.sp 79.LP 80The first usage, in the SYNOPSIS above, reports the current configuration. 81.SH OPTIONS | 36The \fBrouteadm\fR command is used to administer system-wide configuration for 37IP forwarding and routing. IP forwarding is the passing of IP packets from one 38network to another; IP routing is the use of a routing protocol to determine 39routes. 40.sp 41.LP 42IP forwarding and routing functions are also represented as services within the 43service management facility (SMF), and can be administered by means of --- 28 unchanged lines hidden (view full) --- 72appropriate daemon for IPv4 or IPv6 routing. \fBrouteadm\fR will then run that 73daemon using the \fBsvc:/network/routing/legacy-routing:ipv4\fR\fI[or 6]\fR 74service as appropriate. This conversion process occurs when you issue an enable 75(\fB-e\fR), disable (\fB-d\fR) or an update (\fB-u\fR) command. 76.sp 77.LP 78The first usage, in the SYNOPSIS above, reports the current configuration. 79.SH OPTIONS |
82.LP | |
83The following command-line options are supported: 84.sp 85.ne 2 86.na 87\fB\fB-p\fR [\fIoption\fR]\fR 88.ad 89.sp .6 90.RS 4n --- 114 unchanged lines hidden (view full) --- 205.ne 2 206.na 207\fB\fBrouting-svcs=\fR\fIfmrilist\fR\fR 208.ad 209.sp .6 210.RS 4n 211Specifies the routing daemon services to be enabled. Routing daemon services 212are determined to be IPv4 or IPv6 (and so enabled or disabled when | 80The following command-line options are supported: 81.sp 82.ne 2 83.na 84\fB\fB-p\fR [\fIoption\fR]\fR 85.ad 86.sp .6 87.RS 4n --- 114 unchanged lines hidden (view full) --- 202.ne 2 203.na 204\fB\fBrouting-svcs=\fR\fIfmrilist\fR\fR 205.ad 206.sp .6 207.RS 4n 208Specifies the routing daemon services to be enabled. Routing daemon services 209are determined to be IPv4 or IPv6 (and so enabled or disabled when |
213\fBrouteadm\fR \fB-e\fR/\fB-d\fR \fBipv4\fR\fI(6)\fR\fB-routing\fR is run) on | 210\fBrouteadm\fR \fB-e\fR/\fB-d\fR \fBipv4\fR\fI[or 6]\fR\fB-routing\fR is run) on |
214the basis of property values in the \fBrouteadm\fR application property group. 215Default: \fBroute:default ripng:default\fR 216.RE 217 218.sp 219.ne 2 220.na 221\fB\fBipv4-routing-daemon=\fI<full_path_to_routing_daemon>\fR\fR\fR --- 176 unchanged lines hidden (view full) --- 398\fBIFF_ROUTER\fR flag cleared. 399.sp 400.LP 401When a new interface is plumbed by means of \fBifconfig\fR, the value of the 402interface-specific forwarding flag is set according to the current global 403forwarding value. Thus, the forwarding value forms the "default" for all new 404interfaces. 405.SH EXAMPLES | 211the basis of property values in the \fBrouteadm\fR application property group. 212Default: \fBroute:default ripng:default\fR 213.RE 214 215.sp 216.ne 2 217.na 218\fB\fBipv4-routing-daemon=\fI<full_path_to_routing_daemon>\fR\fR\fR --- 176 unchanged lines hidden (view full) --- 395\fBIFF_ROUTER\fR flag cleared. 396.sp 397.LP 398When a new interface is plumbed by means of \fBifconfig\fR, the value of the 399interface-specific forwarding flag is set according to the current global 400forwarding value. Thus, the forwarding value forms the "default" for all new 401interfaces. 402.SH EXAMPLES |
406.LP | |
407\fBExample 1 \fREnabling IPv4 Forwarding 408.sp 409.LP 410IPv4 forwarding is disabled by default. The following command enables IPv4 411forwarding: 412 413.sp 414.in +2 --- 77 unchanged lines hidden (view full) --- 492.sp 493 494.sp 495.LP 496See \fBin.routed\fR(8) for details of property names and how they relate to 497daemon behavior. 498 499.SH EXIT STATUS | 403\fBExample 1 \fREnabling IPv4 Forwarding 404.sp 405.LP 406IPv4 forwarding is disabled by default. The following command enables IPv4 407forwarding: 408 409.sp 410.in +2 --- 77 unchanged lines hidden (view full) --- 488.sp 489 490.sp 491.LP 492See \fBin.routed\fR(8) for details of property names and how they relate to 493daemon behavior. 494 495.SH EXIT STATUS |
500.LP | |
501The following exit values are returned: 502.sp 503.ne 2 504.na 505\fB\fB0\fR\fR 506.ad 507.RS 7n 508Successful completion. --- 13 unchanged lines hidden (view full) --- 522.na 523\fB\fB/etc/inet/routing.conf\fR\fR 524.ad 525.RS 26n 526Parameters for IP forwarding and routing. (Not to be edited.) 527.RE 528 529.SH ATTRIBUTES | 496The following exit values are returned: 497.sp 498.ne 2 499.na 500\fB\fB0\fR\fR 501.ad 502.RS 7n 503Successful completion. --- 13 unchanged lines hidden (view full) --- 517.na 518\fB\fB/etc/inet/routing.conf\fR\fR 519.ad 520.RS 26n 521Parameters for IP forwarding and routing. (Not to be edited.) 522.RE 523 524.SH ATTRIBUTES |
530.LP | |
531See \fBattributes\fR(7) for descriptions of the following attributes: 532.sp 533 534.sp 535.TS 536box; 537c | c 538l | l . 539ATTRIBUTE TYPE ATTRIBUTE VALUE 540_ 541Interface Stability Stable 542.TE 543 544.SH SEE ALSO | 525See \fBattributes\fR(7) for descriptions of the following attributes: 526.sp 527 528.sp 529.TS 530box; 531c | c 532l | l . 533ATTRIBUTE TYPE ATTRIBUTE VALUE 534_ 535Interface Stability Stable 536.TE 537 538.SH SEE ALSO |
545.LP | |
546.BR gateways (5), 547.BR attributes (7), 548.BR smf (7), 549.BR ifconfig (8), 550.BR in.routed (8), 551.BR svcadm (8) | 539.BR gateways (5), 540.BR attributes (7), 541.BR smf (7), 542.BR ifconfig (8), 543.BR in.routed (8), 544.BR svcadm (8) |