summaryrefslogtreecommitdiffstats
path: root/test/TEST-30-ISCSI/dhcpd.conf
blob: fd306ea8ea263e8b3b59dc0edb9a98b1d25a95a5 (plain)
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
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 {
		option root-path "iscsi:192.168.50.1:::1:iqn.2009-06.dracut:target0";

		host iscsi-1 {
			hardware ethernet 52:54:00:12:34:00;
			fixed-address 192.168.50.101;
		}
	}
}

subnet 192.168.51.0 netmask 255.255.255.0 {
        option subnet-mask      255.255.255.0;
        option routers          192.168.51.1;
        next-server             192.168.51.1;
        server-identifier       192.168.51.1;
        option domain-name-servers 192.168.51.1;
        option domain-search "example.com";
        option domain-name "other.com";

        # MAC numbering scheme:
        # NFSv3: last octet starts at 0x00 and works up

        group {
                #option root-path "iscsi:192.168.51.1:::1:iqn.2009-06.dracut:target1";

                host iscsi-2 {
                        hardware ethernet 52:54:00:12:34:01;
                        fixed-address 192.168.51.101;
                }

        }
}