*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: routes | Section: 4 | Source: Digital UNIX | File: routes.4.gz
routes(4) Kernel Interfaces Manual routes(4) NAME routes - Specifies Internet routing information to the routing tables SYNOPSIS /etc/routes DESCRIPTION Static routes can be defined in the /etc/routes file. The /etc/routes file identifies static routes that are automatically added to the net- work routing tables with the /usr/sbin/route add command. The /sbin/init.d/route script contains the /usr/sbin/route add command that is executed for each entry in the /etc/routes file when the network is restarted on the system or the system is rebooted. The general format of an entry in the /etc/routes file is: Dest Name1 Name2 The following is a brief description of each element in an /etc/routes file entry: A keyword that indicates whether the route is to a network or to a host. The two possible keywords are -net and -host. The name or address of the destination network or host. Name1 can be either a symbolic name (as used in the /etc/hosts or /etc/networks file) or an Internet address specified in dotted-decimal format. The name or ad- dress of the gateway host to which messages should be forwarded. Name2 can be either a symbolic name (as used in the /etc/hosts file) or an Internet address specified in dotted-decimal format. EXAMPLES To specify a route to a network through a gateway host with an entry in the /etc/routes file, enter: -net net2 host4 This example specifies a route to a network, net2, through the gateway host4. To specify a route to a host through a gateway host with an entry in the /etc/routes file, enter: -host host2 host4 This example specifies a route to a host, host2, through the gateway host4. To specify a route to a default gateway host with an entry in the /etc/routes file, enter: default 130.9.0.5 This example specifies a route to a default gateway with an In- ternet address of 130.9.0.5. FILES Contains the /usr/sbin/routed add command. RELATED INFORMATION Commands: route(8) Daemons: gated(8), routed(8) Files: gated.conf(4) Network Administration delim off routes(4)

Navigation Options