10.0;netsvc (network_service), revision 10.0, 87/11/23
netsvc [-a|-n|-l|-r] [-p [n]] [-s [n]] [-net [net_id]]
DESCRIPTION
netsvc sets or displays the network services that this node will perform.
All changes take place immediately.
OPTIONS
If no options are specified, netsvc displays the network services allowed
for this node.
-n None. Disable all network services and physically disconnect
this node from the network.
-l Local. Allow only network requests originating at this node.
-r Remote. Allow only network requests originating at other
nodes.
-a (default)
All. Allow both locally and remotely initiated network
requests. (The size of the remote paging pool is not changed.)
-s[ervers] [n]
Servers. Set the number of network servers to run on this
node. At system startup, the number of network servers is 1. If
this node is a network partner for diskless nodes or has
several remote file users, their performance can be improved by
increasing the number of servers. If n is not specified, the
maximum number of servers (3) is used.
-p [n] Pool. Set local memory pool size. Network page requests
originating at remote nodes may not use more than n pages of
the local node's memory. If n is not specified, all the local
node's memory is eligible for remote page requests.
-net [net_id]
Network ID. Set or display network ID. Use this option to
change or examine the ID of the network to which the node is
attached. It affects only the node at which you type the
command, not the rest of the network. Specifying a hexadecimal
network ID changes your node's network ID. Using -net with no
argument forces netsvc to display your network ID even if it is
set to 0.
This option is useful only when there are no internet routers
active on the node's network. Routers give the network ID to
nonrouting nodes every 30 seconds, and may override the network
ID you specify with this option.
NOTE
If the network ID you set with -net differs from the network ID used by
other nodes on your network, your node may not be able to communicate
with those other nodes.
Be careful when revoking network access with -n or -l. Remote file users
may have problems, and writable files may be damaged. If your node was
the network partner for a diskless node, that node will crash when your
node leaves the network.
Use the -s option carefully. Although you can increase the number of
servers, you cannot decrease it. The only way to return to a smaller
number of servers is to reboot the node. Also note that increasing the
number of server processes decreases the number of user processes
allowed.
EXAMPLES
$ /etc/netsvc
Network operations allowed: ALL
Number of network servers: 1
Remotely initiated paging pool limit: NONE
Network ID: 437A9
$
SEE ALSO
More information is available. Type
help rtsvc For information about controlling a node's internet routing
service