|
|
|
ddns-update-style none;
|
|
|
|
|
|
|
|
use-host-decl-names true;
|
|
|
|
|
|
|
|
subnet 192.168.50.0 netmask 255.255.255.0 {
|
|
|
|
option subnet-mask 255.255.255.0;
|
|
|
|
option routers 192.168.50.1;
|
|
|
|
next-server 192.168.50.1;
|
|
|
|
server-identifier 192.168.50.1;
|
|
|
|
option domain-name-servers 192.168.50.1;
|
|
|
|
option domain-search "example.com";
|
|
|
|
option domain-name "other.com";
|
|
|
|
|
|
|
|
group {
|
|
|
|
# NFSv3 root=dhcp or root={/dev/,}nfs, use server-id
|
|
|
|
option root-path "/nfs/client";
|
|
|
|
|
|
|
|
host nfs3-1 {
|
|
|
|
hardware ethernet 52:54:00:12:34:00;
|
|
|
|
fixed-address 192.168.50.101;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
|
|
|
# NFSv3 root=dhcp or root={/dev/,}nfs, use given IP
|
|
|
|
option root-path "192.168.50.2:/nfs/client";
|
|
|
|
|
|
|
|
host nfs3-2 {
|
|
|
|
hardware ethernet 52:54:00:12:34:01;
|
|
|
|
fixed-address 192.168.50.101;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
|
|
|
# NFSv3 root=dhcp, use protocol from root-path
|
|
|
|
option root-path "nfs:192.168.50.3:/nfs/client";
|
|
|
|
|
|
|
|
host nfs3-3 {
|
|
|
|
hardware ethernet 52:54:00:12:34:02;
|
|
|
|
fixed-address 192.168.50.101;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
|
|
|
# NFSv4 root={/dev/,}nfs4, use server-id
|
|
|
|
option root-path "/client";
|
|
|
|
|
|
|
|
host nfs4-1 {
|
|
|
|
hardware ethernet 52:54:00:12:34:03;
|
|
|
|
fixed-address 192.168.50.101;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
|
|
|
# NFSv4 root={/dev/,}nfs4, use given IP
|
|
|
|
option root-path "192.168.50.2:/client";
|
|
|
|
|
|
|
|
host nfs4-2 {
|
|
|
|
hardware ethernet 52:54:00:12:34:04;
|
|
|
|
fixed-address 192.168.50.101;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
|
|
|
# NFSv4 root=dhcp, use profocol from root-path
|
|
|
|
option root-path "nfs4:192.168.50.3:/client";
|
|
|
|
|
|
|
|
host nfs4-3 {
|
|
|
|
hardware ethernet 52:54:00:12:34:05;
|
|
|
|
fixed-address 192.168.50.101;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|