# Administration Reference

## NetRestrict (client version)

Purpose

Defines client interfaces not to register with the File Server

Description

The NetRestrict file, if present in a client machine's /usr/vice/etc directory, defines the IP addresses of the interfaces that the local Cache Manager does not register with a File Server when first establishing a connection to it. For an explanation of how the File Server uses the registered interfaces, see the reference page for the client version of the NetInfo file.

As it initializes, the Cache Manager constructs a list of interfaces to register, from the /usr/vice/etc/NetInfo file if it exists, or from the list of interfaces configured with the operating system otherwise. The Cache Manager then removes from the list any addresses that appear in the NetRestrict file, if it exists. The Cache Manager records the resulting list in kernel memory.

The NetRestrict file is in ASCII format. One IP address appears on each line, in dotted decimal format. The order of the addresses is not significant. The value 255 is a wildcard that represents all possible addresses in that field. For example, the value 192.12.105.255 indicates that the Cache Manager does not register any of the addresses in the 192.12.105 subnet.

To display the addresses the Cache Manager is currently registering with File Servers, use the fs getclientaddrs command.

Related Information

NetInfo (client version)

fs getclientaddrs

© IBM Corporation 2000. All Rights Reserved