System Administration Guide: IP Services

Multiple Network Interfaces

Some machines have more than one network interface, because they are either routers or multihomed hosts. Each additional network interface that is attached to the machine requires its own IPv4 address and associated name. When you configure a router or multihomed host, you must add this information manually to the router's /etc/inet/hosts file. See Configuring Routers for more information on configuring routers and multihomed hosts.

Example 5–2 is the /etc/inet/hosts file for machine timbuktu that is shown in Figure 4–1.

Example 5–2 /etc/inet/hosts File for Machine timbuktu      localhost     loghost   timbuktu      #This is the local host name   timbuktu-201  #Interface to network 192.9.201

With these two interfaces, timbuktu connects networks 192.9.200 and 192.9.201 as a router.