1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
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";
# MAC numbering scheme:
# NFSv3: last octet starts at 0x00 and works up
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 {
# NFSv3 root=dhcp, use protocol, options from root-path
option root-path "nfs:192.168.50.3:/nfs/client:wsize=4096";
host nfs3-4 {
hardware ethernet 52:54:00:12:34:03;
fixed-address 192.168.50.101;
}
}
group {
# NFSv3 root=dhcp, nfsroot=/path and nfsroot=IP:/path testing
host nfs3-5 {
hardware ethernet 52:54:00:12:34:04;
fixed-address 192.168.50.101;
}
}
group {
# NFSv3 root=dhcp, use path, comma-separated options
option root-path "/nfs/client,wsize=4096";
host nfs3-6 {
hardware ethernet 52:54:00:12:34:05;
fixed-address 192.168.50.101;
}
}
group {
# NFSv3 root=dhcp, use IP, path, comma-separated options
option root-path "192.168.50.2:/nfs/client,wsize=4096";
host nfs3-7 {
hardware ethernet 52:54:00:12:34:06;
fixed-address 192.168.50.101;
}
}
group {
# NFSv3 root=dhcp, use proto, IP, path, comma-separated options
option root-path "nfs:192.168.50.3:/nfs/client,wsize=4096";
host nfs3-8 {
hardware ethernet 52:54:00:12:34:07;
fixed-address 192.168.50.101;
}
}
# MAC numbering scheme:
# NFSv4: last octet starts at 0x80 and works up
group {
# NFSv4 root={/dev/,}nfs4, use server-id
option root-path "/client";
host nfs4-1 {
hardware ethernet 52:54:00:12:34:80;
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:81;
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:82;
fixed-address 192.168.50.101;
}
}
group {
# NFSv4 root=dhcp, use profocol, options from root-path
option root-path "nfs4:192.168.50.3:/client:wsize=4096";
host nfs4-4 {
hardware ethernet 52:54:00:12:34:83;
fixed-address 192.168.50.101;
}
}
group {
# NFSv3 root=nfs4, nfsroot=/path and nfsroot=IP:/path testing
host nfs4-5 {
hardware ethernet 52:54:00:12:34:84;
fixed-address 192.168.50.101;
}
}
group {
# NFSv4 root={/dev/,}nfs4, use server-id, comma-separated opts
option root-path "/client,wsize=4096";
host nfs4-6 {
hardware ethernet 52:54:00:12:34:85;
fixed-address 192.168.50.101;
}
}
group {
# NFSv4 root={/dev/,}nfs4, use given IP, comma-separated opts
option root-path "192.168.50.2:/client,wsize=4096";
host nfs4-7 {
hardware ethernet 52:54:00:12:34:86;
fixed-address 192.168.50.101;
}
}
group {
# NFSv4 root=dhcp, use comma-separated opts
option root-path "nfs4:192.168.50.3:/client,wsize=4096";
host nfs4-8 {
hardware ethernet 52:54:00:12:34:87;
fixed-address 192.168.50.101;
}
}
}
|