Network Administration 4-11
Enabling NIS during setup: During setup, the following prompt appears:
'R\RXZDQWWRUXQ1,6&OLHQW>Q@
If you enter y, setup prompts you for an NIS domain name, as follows:
3OHDVHHQWHU1,6GRPDLQQDPH>@
Enter an NIS domain name.
Enabling NIS without using setup: If you didnt start NIS during setup, you can
start NIS by performing the following steps:
1. Edit the /etc/rc file in the root volume to make sure that the option specifying the
NIS domain name is set and the option to enable NIS is On. Insert lines similar to
the following:
RSWLRQVQLVGRPDLQQDPHFRPSDQ\FRP
RSWLRQVQLVHQDEOHRQ
2. Enter the options commands from the command line or reboot the filer.
Result: Options entered only on the command line are not saved if you reboot.
NIS is now enabled. You no longer have to update the filers /etc/hosts file in the
root volume every time you add a new host to the network, unless you specify
files first in the /etc/nsswitch.conf file in the root volume.
Disabling NIS: To disable NIS on a running system, enter the following command, or
put the command in the /etc/rc file in the root volume to make the change permanent:
RSWLRQVQLVHQDEOHRII
Changing your NIS domain name: To change the domain name on a running sys-
tem, enter the following command or put the command in the /etc/rc file in the root
volume to make the change permanent:
RSWLRQVQLVGRPDLQQDPHQHZGRPDLQ
Displaying the NIS server name: To display the NIS server name, enter the following
command:
\SZKLFK
The ypwhich command has no options.
5RXWLQJ

$ERXW)LOHU5RXWLQJ

Even though the filer can have multiple network interfaces, it does not function as a
router; that is, the filer does not route packets between its interfaces on behalf of
other network hosts. It can, however, route its own packets.