Home
last modified time | relevance | path

Searched full:route (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/man/man8/
H A Droute.87 .TH ROUTE 8 "August 29, 2021"
9 route \- manually manipulate the routing tables
12 \fBroute\fR [\fB-fnvq\fR] \fIsub-command\fR [ [\fImodifiers\fR] \fIargs\fR]
17 \fBroute\fR [\fB-fnvq\fR] [\fB-p\fR [\fB-R\fR \fIroot-dir\fR]] add | delete [\fImodifiers\fR] \fIde…
23 \fBroute\fR [\fB-fnvq\fR] change | get [\fImodifiers\fR] \fIdestination\fR
29 \fBroute\fR [\fB-fn\fR] monitor [\fImodifiers\fR]
34 \fBroute\fR [\fB-fnvq\fR] flush [\fImodifiers\fR]
39 \fBroute\fR \fB-p\fR [\fB-R\fR \fIroot-dir\fR] show
43 \fBroute\fR manually manipulates the network routing tables. These tables are
48 \fBroute\fR supports a limited number of general options, but a rich command
[all …]
H A Din.routed.829 svc:/network/routing/route:default
36 The daemon listens on a \fBudp\fR socket for the \fBroute\fR service (see
51 RIP responses if they have a valid RIP metric (see \fBroute\fR(8)).
82 and updates the kernel routing table if the best route to the destination
91 delayed until the route has been advertised with an infinite metric to insure
132 without a good route for 30 minutes. It is a good idea to reduce the default to
139 there is a single default route and a variable number of redirected host routes
141 default route will be via only one of the interfaces. Thus, multi-homed hosts
168 associated route is deleted from the kernel table and RIP responses are
170 responses, the associated route is restored.
[all …]
H A Din.ripngd.849 a list of known routes. With each route is a number specifying the number of
51 an address that indicate the subnet or network that the route describes. Each
52 route reported also has a "\fIhop count\fR" metric. A count of 16 or greater is
53 considered "infinity." The metric associated with each route returned provides
80 time, defined to be 90 seconds, and the route is at least as cost-effective as
81 the current route.
87 The new route describes a shorter route to the destination than the one
89 metric of the new route against the one stored in the table.
219 for example, routes added, deleted or flushed by means of the \fBroute\fR(8)
H A Dnetstat.8321 multicast route, \fB-ra\fR might not show any multicast routing entries,
443 attributes. See \fBroute\fR(8) for more information on security attributes.
867 Each route consists of a destination host or network, and a gateway to use in
868 forwarding packets. The \fIflags\fR column shows the status of the route. These
876 Indicates route is \fBup\fR.
885 Route is to a gateway.
894 Route is to a host and not a network.
903 Redundant route established with the \fB-multirt\fR option.
912 Route was established using the \fB-setsrc\fR option.
921 Route was created dynamically by a redirect.
[all …]
H A Dtraceroute.88 traceroute \- print the route packets take to network host
21 by gateways. Tracking the route a packet follows can be difficult. The utility
22 \fBtraceroute\fR traces the route that an \fBIP\fR packet follows to another
128 source route failed. It is likely that the gateway does not support source
267 range from 0 to 255. Gateways along the path may route the probe packet
313 Specify a loose source route \fIgateway\fR. The user can specify more than one
320 source route with this option.
416 message will be returned to terminate the route tracing. If something is
496 Gateways along the path may route the probe packet differently depending upon
584 In the following examples, \fBtraceroute\fR is tracking the route to host
H A Dping.8162 Gateways also in the path can route the probe packet differently, depending
173 Record route. Sets the IPv4 record route option, which stores the route of the
174 packet inside the IPv4 header. The contents of the record route are only
176 return packets if the target host preserves the record route option across
227 range from 0 to 255. Gateways along the path can route the probe packet
247 Specify a loose source route gateway so that the probe packet goes through the
/illumos-gate/usr/src/man/man4p/
H A Drouting.4p18 routing socket, described at \fBroute\fR(4P). The routing socket can be used to
25 single entry for each route to a specific network or host. The routing table
35 \fB/usr/include/net/route.h\fR:
63 #define RTF_UP 0x1 /* route usable */
73 matched by entries of the first two types, called a wildcard route. Each
75 Normally the interface specifies if the route through it is a "direct"
76 connection to the destination host or network. If the route is direct, the
85 routines. If a route is in use when it is deleted, meaning its \fBrt_refcnt\fR
93 The \fIrt_use\fR field contains the number of packets sent along the route.
95 When multiple routes to the same destination exist, the least used route is
[all …]
H A Droute.4p10 .TH ROUTE 4P "April 9, 2016"
12 route \- kernel packet forwarding database
19 #include <net/route.h>
39 suitable route for a request. The message types are described in greater detail
45 value under the mask). The effect of wildcard or default route can be achieved
51 when it is ready for traffic. Normally the protocol specifies the route through
53 If the route is direct, the transport layer of a protocol family usually
59 When routing a packet, the kernel attempts to find the most specific route
64 the one with more bits in the mask. A route to a host is regarded as being
81 \fBCIDR\fR prefix route: Destination, Netmask, and Gateway. The interpretation
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c78 * the same metric and next hop into a common route with a smaller netmask
82 * A route is redundant if and only if any and all routes with smaller
88 * number can be combined into a single route with a coarser mask.
90 * Second, a route can be suppressed in favor of another route with a more
93 * A route must not be suppressed if an incompatible route exists with
94 * an intermediate mask, since the suppressed route would be covered
130 /* Forget it if this route should not be output for split-horizon. */ in ag_out()
153 * Skip it if this route is itself redundant. in ag_out()
197 /* Look for a route that can suppress the given route. */
209 * We found a route with a coarser mask that covers in ag_find_suppressor()
[all …]
H A Ddefs.h56 * of a new route does not wait 30-60 seconds.
96 #include <net/route.h>
127 * to the received metric and discarded the route if the total was 16
189 RO_LOOPBCK, /* loopback route */
190 RO_PTOPT, /* point-to-point route */
191 RO_NET_SYN, /* fake net route for subnet */
192 RO_IF, /* interface route */
223 #define RS_NET_INT 0x0002 /* authority route */
224 #define RS_NET_SYN 0x0004 /* fake net route for subnet */
226 #define RS_SUBNET 0x0008 /* subnet route from any source */
[all …]
H A Doutput.c385 * Skip this route if doing a flash update and it and the routes in supply_out()
417 * Convert supernet route into corresponding set of network in supply_out()
450 * If the route is from router-discovery or we are in supply_out()
460 * cause the old `routed` to ignore the route. in supply_out()
485 * Supply one route from the table
531 * do not collide with the fake default route in walk_supply()
567 * Advertise the next hop if this is not a route for one in walk_supply()
631 * Do not send a route back to where it came from, except in in walk_supply()
636 * from this route by a RIPv1 router and sent back to us, and so we in walk_supply()
637 * cannot forget this route here. Let the split-horizon route in walk_supply()
[all …]
H A Dinput.c173 uint16_t rt_state = 0; /* Extra route state to pass to input_route() */ in input()
450 * explicit route for the destination, use the best in input()
451 * route to the destination. in input()
726 * only enter a default route for the sender of in input()
730 /* Should we trust this route from this router? */ in input()
746 * Add the newly generated default route, but don't in input()
772 "route from %s to unsupported" in input()
834 trace_pkt(" ignored host route %s", in input()
855 * Should we trust this route from this router? in input()
871 * Recognize and ignore a default route we faked in input()
[all …]
H A Droute.xml34 <service_bundle type='manifest' name='SUNWroutr:route'>
37 name='network/routing/route'
57 exec='/lib/svc/method/svc-route'
100 <!-- Equivalent to -F specificied route minimization list -->
142 <propval name='name' type='astring' value='route' />
144 value='/lib/svc/method/svc-route ipfilter' />
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-routing-setup75 # empty "/etc/defaultrouter" file will cause the default route
102 # Read /etc/inet/static_routes and add each link-local route.
108 /usr/sbin/route add $line
123 # the last route between the running system and its
127 # First, remember the original route.
135 # this, if one of the routes we add is for the route
142 route_added=`/usr/sbin/route -n add default \
150 # Finally, delete the original default route unless it
154 /usr/sbin/route -n delete default \
158 /usr/sbin/route -fn > /dev/null
[all …]
H A Dnet-install33 ROUTE=/sbin/route
105 cmd="$ROUTE add $details"
107 cmd="$ROUTE get $details"
111 msg="Error creating default route:\n\"$cmd\""
123 cmd="$ROUTE -R $rootdir -p add $details"
127 msg="Error adding persistent default route:\n\"$cmd\""
226 # Retrieve the optional default route property value.
395 # Retrieve the optional default route property value.
/illumos-gate/usr/src/uts/common/net/
H A Droute.h57 * A route consists of a destination address and a reference
61 struct route { struct
77 uint32_t rmx_expire; /* lifetime for route, e.g. redirect */ argument
83 uint32_t rmx_pksent; /* packets sent using this route */
91 * preferring the former if available. For each route we infer
93 * the route was entered. Routes that forward packets through
114 #define RTF_UP 0x1 /* route usable */
127 #define RTF_PRIVATE 0x2000 /* do not advertise this route */
134 #define RTF_ZONE 0x100000 /* (NGZ only) route from global zone */
169 #define RTM_ADD 0x1 /* Add Route */
[all …]
/illumos-gate/usr/src/test/net-tests/tests/
H A Dnet_common.ksh444 if zlogin $zone route -n add $net $gateway > /dev/null; then
445 dbg "added route $gateway => $net to $zone"
449 maybe_fail "failed to add route $gateway => $net to $zone"
463 if zlogin $zone route -n add -inet6 $net $gateway > /dev/null
465 dbg "added route $gateway => $net to $zone"
469 maybe_fail "failed to add route $gateway => $net to $zone"
478 typeset gw=$(zlogin $zone route -n get $dest | \
480 typeset err="failed to remove route $gateway => $net from $zone"
487 if zlogin $zone route -n delete $net $gateway > /dev/null
489 dbg "removed route $gateway => $net from $zone"
[all …]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog.c68 * Route set structure
161 * Get the route information from the 'value' and add it to the route
204 * Check if the 'lr' param is present for this route. in sip_add_route_to_set()
220 * Depending on the route-set, determine the request URI.
252 * Free the route set.
269 * Recompute route-set
295 * If the route set is empty, the UAC MUST place the remote target URI
296 * into the Request-URI. The UAC MUST NOT add a Route header field to
299 * If the route set is not empty, and the first URI in the route set
301 * the remote target URI into the Request-URI and MUST include a Route
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c43 * @(#)route.c 8.6 (Berkeley) 4/28/95
59 #include <net/route.h>
181 * Size of buffers used to hold command lines from the saved route file as
195 * to route add, change, delete, and get.
353 (void) fprintf(stderr, gettext("route: botched keyword: %s\n"), in usage()
356 (void) fprintf(stderr, gettext("usage: route [ -fnpqv ] " in usage()
380 syntax_error(gettext("route: botched keyword: %s\n"), keyword); in syntax_bad_keyword()
386 syntax_error(gettext("route: argument required following keyword %s\n"), in syntax_arg_missing()
393 (void) fprintf(stderr, "route: "); in quit()
536 "route: show command requires -p\n")); in main()
[all …]
H A DMakefile39 ROOTFS_PROG= hostconfig route soconfig
40 SBINLINKS= hostconfig route
47 in.rwhod in.telnetd in.tftpd ipaddrsel ndp route
50 in.tftpd ipaddrsel ndp route
53 TSNETPROG= route
78 ipaddrsel ndp route \
108 POFILES= 6to4relay.po if_mpadm.po in.comsat.po ipaddrsel.po route.po \
152 route := CPPFLAGS += -DNDEBUG
H A Dhostconfig.c49 #include <net/route.h>
282 struct rtentry route; local
286 (void) memset(&route, 0, sizeof (route));
288 /* route destination is "default" - zero */
290 sin = (struct sockaddr_in *)&route.rt_dst;
294 sin = (struct sockaddr_in *)&route.rt_gateway;
298 route.rt_flags = RTF_GATEWAY | RTF_UP;
304 if (ioctl(s, SIOCADDRT, (char *)&route) == -1) {
305 perror("add default route");
/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c30 #include <net/route.h>
72 struct rtentry route; in kdlifconfig() local
146 (void) memset(&route, 0, sizeof (route)); in kdlifconfig()
147 rt_sin = (struct sockaddr_in *)&route.rt_dst; in kdlifconfig()
150 rt_sin = (struct sockaddr_in *)&route.rt_gateway; in kdlifconfig()
152 route.rt_flags = RTF_GATEWAY | RTF_UP; in kdlifconfig()
153 sbuf.buf = (caddr_t)&route; in kdlifconfig()
154 sbuf.maxlen = sbuf.len = sizeof (route); in kdlifconfig()
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/
H A Dsol_cma.h319 bcopy(&((srcid->route).addr), &((newid->route).addr), in cma_create_new_id()
321 if ((srcid->route).num_paths) { in cma_create_new_id()
324 num_paths = (newid->route).num_paths = in cma_create_new_id()
325 (srcid->route).num_paths; in cma_create_new_id()
326 (newid->route).path_rec = kmem_zalloc(num_paths * in cma_create_new_id()
328 bcopy(&((srcid->route).path_rec), in cma_create_new_id()
329 &((newid->route).path_rec), in cma_create_new_id()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtable.h58 int rt_metric; /* cost of route including the if */
59 int rt_tag; /* route tag attribute */
68 #define RTS_CHANGED 0x1 /* route has been altered recently */
69 #define RTS_INTERFACE 0x2 /* route is for network interface */
70 #define RTS_PRIVATE 0x4 /* route is private, do not advertise */
/illumos-gate/usr/src/boot/efi/include/Protocol/
H A DUdp4.h235 The Routes() function adds a route to or deletes a route from the routing table.
239 The default route is added with SubnetAddress and SubnetMask both set to 0.0.0.0.
240 The default route matches all destination IP addresses that do not match any
254 @param DeleteRoute Set to TRUE to delete this route from the routing table.
255 Set to FALSE to add this route to the routing table.
258 @param GatewayAddress The gateway IP address for this route.
266 @retval EFI_NOT_FOUND This route is not in the routing table.
267 @retval EFI_ACCESS_DENIED The route is already defined in the routing table.
368 @retval EFI_NOT_FOUND There is no route to the destination network or address.

12345678910>>...17