![]() |
![]() |
| ||
protocols DatabaseThe protocols database lists the TCP/IP protocols that are installed on your system and their numbers. The Solaris installation program automatically creates the database. This file seldom requires any administration. The protocols database contains the names of the TCP/IP protocols that are installed on the system. The protocols(4) man page describes the syntax of this database. An example of the /etc/inet/protocols file follows. Example 5-9 /etc/inet/protocols File
services DatabaseThe services database lists the names of TCP and UDP services and their well-known port numbers. This database is used by programs that call network services. The Solaris installation automatically creates the services database. Generally, this database does not require any administration. The services(4) man page contains complete syntax information. An excerpt from a typical /etc/inet/services file follows. Example 5-10 /etc/inet/services File
Booting ProcessesNote - The names of startup scripts might change from one release to another.
See System Administration Guide: Basic Administration for a complete description of the booting process. Routing ProtocolsSolaris system software supports two routing protocols: Routing Information Protocol (RIP) and ICMP Router Discovery (RDISC). RIP and RDISC are both standard TCP/IP protocols. Routing Information Protocol (RIP)RIP is implemented by in.routed, the routing daemon, which automatically starts when the machine boots. When run on a router with the s option specified, in.routed fills the kernel routing table with a route to every reachable network and advertises "reachability" through all network interfaces. When run on a host with the q option specified, in.routed extracts routing information but does not advertise reachability. On hosts, routing information can be extracted in two ways:
ICMP Router Discovery (RDISC) ProtocolHosts use RDISC to obtain routing information from routers. Thus, when hosts are running RDISC, routers must also run another protocol, such as RIP, in order to exchange router information. RDISC is implemented by in.rdisc, which should run on both routers and hosts. Normally, when in.rdisc runs on a host, in.rdisc enters a default route for each router that is also running in.rdisc. A host that is running in.rdisc cannot discover routers that are running only RIP. Furthermore, when routers are running in.rdisc (rather than in.routed), they can be configured to have a different preference, which causes hosts to select a better router. See the rdisc(1M) man page. How a Machine Determines if It Is a RouterThe /etc/rc2.d/S69inet startup script, which runs when the machine boots, determines whether a machine is a router or a host. This decision also determines whether the routing protocols (RIP and RDISC) should run in router mode or host mode. The /etc/rc2.d/S69inet script concludes that a machine is a router if the following two conditions exist:
If only one interface is found, the script concludes that the machine is a host. See Configuring Both Router Network Interfaces. An interface that is configured by any means other than an /etc/hostname.interface file is not considered. | ||
| ||