summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf.template
blob: 19731d80647507179a4de8a238dde96ec065133f (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
# -----------------------------------------------------------------------------
#
# Copyright (c) 2013..2018 bwLehrpool-Projektteam
#
# This program/file is free software distributed under the GPL version 2.
# See https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
#
# If you have any feedback please consult https://bwlehrpool.de and
# send your feedback to bwlehrpool@hs-offenburg.de.
#
# General information about bwLehrpool can be found at https://bwlehrpool.de
#
# -----------------------------------------------------------------------------
# udhcpd.conf
#    - This is the udhcpd configuration file servicing the nat1 interface for
#      the various virtualization services. DNSSERVER and DOMAIN are replaced
#      before deamon start in systemd script.
################################################################################

# start and end of the IP lease block
start           192.168.101.20
end             192.168.101.100
max_leases      80

# interface that udhcpd will use
interface       nat1

# how long an offered address is reserved (leased) in seconds
offer_time      6000

# location of the leases file
lease_file      /var/lib/udhcpd/udhcpd-nat1.leases

# location of the pid file
pidfile         /run/udhcpd-nat1.pid

option  dns     %DNSSERVER%
option  subnet  255.255.255.0
option  router  192.168.101.1
option  wins    %WINS%
option  domain  %DOMAIN%
option  search  %SEARCH%
option  lprsrv  192.168.101.1
option  ntpsrv  %NTPSERVER%