gislab-npo / gislab

GIS.lab - total reduction of deployment and maintenance costs for complete free and open source geospatial infrastructure
http://gislab-npo.github.io/gislab/
GNU General Public License v3.0
40 stars 14 forks source link

DHCP service update #505

Closed imincik closed 7 years ago

imincik commented 7 years ago

Use cases

Tasks

DHCP service configuration

Default network configuration (server)

Changed network configuration in /etc/network/interfaces

Removal of DNS service

Config cleanup

Following configuration variables should be removed:

Other tasks

landam commented 7 years ago

FYI: I have created for development issues a new branch dhcp-service-dev

landam commented 7 years ago

See 3507cb2c7d541b4c5989649013f55f13c0e16a5f

landam commented 7 years ago

I tested two cases bellow:

On third-party DHCP server NEXT_SERVER and FILE options were defined. File /var/lib/tftpboot/gislab/pxelinux.cfg/default has been manually changed to reflect Unit IP address. Clients booted and system seems to work.

Vagrant machine created. Then required services have been started:

sudo service isc-dhcp-server start
sudo service bind9 start
sudo service gislab-connection-forwarding start

Clients booted via PXE. HTTP boot hasn't been tested yet.

mpastor commented 7 years ago

It's no more necessary to modify /var/lib/tftpboot/gislab/pxelinux.cfg/default configuration file - client will use IP server address from DHCP options acquired from DHCP server.