summaryrefslogtreecommitdiffstats
path: root/installer/default_files/dhcpd.conf
blob: 12f06df319bfe525a92f76970eb87651cbe3ea51 (plain) (blame)
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
###################################################################
#####                                                         #####
#####           !!! user defined vendor options !!!           #####
#####                                                         #####
###################################################################

option bootlocal-script code 221  = string;
option language code 222          = string;
option start-x code 223           = string;
option start-snmp code 224        = string;
option start-sshd code 225        = string;
option start-xdmcp code 226       = string;
option start-cron code 227        = string;
option crontab-entries code 228   = string;
option start-rwhod code 229       = string;
option start-printdaemon code 230 = string;
option desktop-session code 231   = string;
option tex-enable code 232	  = string;
option netbios-workgroup code 233 = string;
option vmware code 234   	  = string;
option hw-mouse code 252          = string;
option hw-graphic code 253        = string;
option hw-monitor code 254        = string;

# most of these options could be defined via machine-setup.default

###################################################################
#####                                                         #####
#####            !!! server specific options !!!              #####
#####                                                         #####
###################################################################

server-identifier		   @@@server@@@;
next-server			   @@@server@@@;

###################################################################
#####                                                         #####
#####                 !!! global options !!!                  #####
#####                                                         #####
###################################################################
# description for several options:
#    option x-display-manager server01,server02,server03;
#    option netbios-name-servers 13.30.19.254;
#    option ntp-servers ntps1,ntps2,ntps3;
#
# type of graphical login/operation - indirect for
# chooser, query for login kde,gnome,... for direct
# graphical session (managed by startgui script)
#
# type of displaymanager to use (it should be installed
# correctly on the server: XDMCP must be enabled then!)

#deny                              unknown-clients;
allow				   bootp;
#allow				   booting;
default-lease-time                 160000;
max-lease-time                     200000;
use-host-decl-names                on;
option dhcp-max-message-size       1024;
ddns-update-style                  none;

###################################################################
#####                                                         #####
#####              !!! net specific options !!!               #####
#####                                                         #####
################################################################### 

subnet @@@netname@@@ netmask @@@netmask@@@ {
	option broadcast-address @@@broadcast@@@;
	option routers @@@server@@@;
}


###################################################################
#####                                                         #####
##### GLOBAL-GROUP:                                           #####
##### Group for global options                                #####
#####                                                         #####
###################################################################

group {

    if substring(option vendor-class-identifier,0,3) = "PXE" {
	allow booting;
        filename "@@@tftpbootdir@@@/pxelinux.0"; }
    elsif substring(option vendor-class-identifier,0,3) = "DXS" {
	allow booting; }
    elsif substring(option vendor-class-identifier,0,4) = "MSFT" {
        allow booting; }
#    else { ignore booting; }

#    option root-path "@@@rootdir@@@";
    option domain-name-servers 132.230.200.200,132.230.200.201;
    option domain-name "dxs.site";
    option ntp-servers 132.230.1.9;
#    option crontab-entries "59 21  * * * root shutdown -h now";
#    option lpr-servers 10.22.9.254;
#    option nis-servers 10.16.10.11;
#    option nis-domain "linuxpc";
#    option font-servers 10.16.10.61;
    option start-x "direct";
    option start-xdmcp "kdm";
    option start-rwhod "yes";
    option start-cron "yes";
    option start-snmp "no";
    option netbios-workgroup "tux-net";
    option tex-enable "yes";
    option vmware "no";
#    option vmware "nfs://server/pfad"; # alternative
    option desktop-session "kde,gnome";
    option language "de_DE de-latin1-nodeadkeys";
#    option hw-mouse "ps/2 psaux";
#    option hw-monitor "30-65kHz 58-76Hz 1280x1024";
#    option hw-graphic "nv 15";
    option bootlocal-script "";

###################################################################
#####                                                         #####
##### GROUP 1:                                                #####
##### example group                                           #####
#####                                                         #####
###################################################################

 group {
    option crontab-entries "";
#   group specific options:

    host example1 {
        hardware ethernet 00:02:B3:8D:83:12;
        fixed-address @@@example1@@@;
    }
    host example2 {
        hardware ethernet 00:50:56:0D:83:12;
        fixed-address @@@example2@@@;
    }

 }
}