Dell 720N Laptop User Manual


 
NFS Administration 6-11
([SRUWLQJWR6XEQHWV
$ERXW([SRUWLQJWR6XEQHWV
You can export a directory to clients on a subnet rather than to individual clients.
9DOLG([SRUW2SWLRQVIRU6XEQHWV
The valid export options in the
/etc/exports
file for exporting to subnets are as follows:
-ro=
subnet_address
[:
subnet_address
]...
-rw=
subnet_address
[:
subnet_address
]...
-root=
subnet_address
[:
subnet_address
]...
)RUPDWIRU,36XEQHW$GGUHVVHV
The subnet address is a dotted IP subnet address and a mask written in the following
format:
dotted_ip
/
num_bits
dotted_ip
can be
an IP address (a.b.c.d)
or
an IP subnet
a for a class A network
a.b for a class B network
a.b.c for a class C network
The size of the subnet is specified by the number of leading bits of the netmask,
num_bits
.
([SRUWWRD6XEQHWDV<RX'RWRD&OLHQW
You export a directory to a subnet as you do to an individual client, except that you
specify a subnet address rather than a full IP address in an export option.
([DPSOHURRWDFFHVV
To export
/vol/vol0/home
on the filer for root access to a client named silver and all
addresses of the form 123.45.67.x with a netmask 255.255.255.0 (24 leading bits),
place the following entry in the
/etc/exports
file:
/vol/vol0/home -root=silver:123.45.67.0/24