Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleInstalling the package
root@dilos:~# apt-get install isc-dhcp-server

UNFINISHED... (sad)

 

...

Edit the configuration file /etc/dhcp/dhcpd.conf for IPv4 or /etc/dhcp/dhcpd6.conf for IPv6.

Code Block
titleIPv4 example
# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
#  range 10.5.5.26 10.5.5.30;
#  option domain-name-servers ns1.internal.example.org;
#  option domain-name "internal.example.org";
#  option routers 10.5.5.1;
#  option broadcast-address 10.5.5.31;
#  default-lease-time 600;
#  max-lease-time 7200;
#}

Now you can run the server

Code Block
titlestarting the service
root@dilos:~# svcadm enable isc-dhcp-server

Check the result by svcs tool:

Code Block
titleChecking problem services
root@dilos:~# svcs -xv
root@dilos:~#

That means the service works, and you may relax (wink)

Info
If you see some services in the output of svcs -xv, this means the services were configured incorrect. Check their configuratiuon files and then try to do command svcadm clear service

Content by Label
showLabelsfalse
max5
spacesDS
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("isc","dhcp","isc-dhcp") and type = "page" and space = "DS"
labelsisc dhcp isc-dhcp

...

Page Properties
hiddentrue


Related issues