Copyright (C) 2003, Sun Microsystems, Inc. All Rights Reserved
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.
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.
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]
/etc/nca/nca.if
Specify the physical interfaces for which the Solaris Network Cache and Accelerator ("NCA") feature will be configured in the nca.if configuration file. List the physical interfaces in the file, one per line. To configure NCA to listen on all physical interfaces present on the system backed by a hostname.{interface_name}, then list only an asterik ("*") in nca.if.
When the ncakmod(1) initialization script is invoked during system boot, it will attempt to configure each physical interface specified in the nca.if file by using ncaconfd(1M). Note that there must be an accompanying hostname.{interface_name} file and an entry in /etc/hosts for the contents of hostname.{interface_name}.
You must reboot in order to implement changes to the nca.if file.
Example 1 nca.if on x86
The following is an example of an nca.if file that would be used on an x86 system:
iprb1 iprb6 iprb8
Example 2 nca.if on SPARC
The following is an example of an nca.if file that would be used on a SPARC system:
hme2 hme3 hme4
Example 3 Configuring NCA to Listen on All Physical Interfaces
The following example shows the contents of an nca.if file that would be used to configure either platform to listen on all physical interfaces present on the system:
*
Lists the physical interfaces on which NCA will run.
Lists all physical interfaces configured on the server.
Lists all host names associated with the server. Entries in this file must match with entries in /etc/hostname.{}{0-9} for NCA to function.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Evolving |
nca(1), ncab2clf(1), ncakmod(1), ifconfig(1M), ncakmod.conf(4), ncalogd.conf(4), attributes(5)
System Administration Guide: IP Services