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