From 2c0905cba928a786182d5e4ee2821d3fc322dea7 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 13 Dec 2013 18:10:18 +0100 Subject: Static configuration file for udhcpd sitting on new nat1 bridge interface. --- .../data/opt/openslx/vmchooser/config/udhcpd.conf | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf (limited to 'remote/modules') diff --git a/remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf b/remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf new file mode 100644 index 00000000..eb510098 --- /dev/null +++ b/remote/modules/vmchooser/data/opt/openslx/vmchooser/config/udhcpd.conf @@ -0,0 +1,52 @@ +# 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 + +# 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 virtual.site + + +# 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 + -- cgit v1.2.3-55-g7522