summaryrefslogtreecommitdiffstats
path: root/remote/modules/run-virt/data/opt/openslx/vmchooser/config/udhcpd-nat1.conf
blob: 95d8ebc0789761f6eb366206d3241c16125bcc39 (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
# Copyright (c) 2013 - OpenSLX GmbH 
# 
# This program is free software distributed under the GPL version 2. 
# See http://openslx.org/COPYING 
# 
# If you have any feedback please consult http://openslx.org/feedback and 
# send your suggestions, praise, or complaints to feedback@openslx.org 
# 
# General information about OpenSLX can be found at http://openslx.org/ 
# -----------------------------------------------------------------------------
# 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         /var/run/udhcpd-nat1.pid

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

# additional options known to udhcpd not used in OpenSLX at the moment
#subnet                 #timezone
#router                 #timesvr
#namesvr                #dns
#logsvr                 #cookiesvr
#lprsvr                 #bootsize
#domain                 #swapsvr
#rootpath               #ipttl
#mtu                    #broadcast
#wins                   #lease
#ntpsrv                 #tftp
#bootfile               #wpad