...
Code Block |
---|
title | Installing the package |
---|
|
root@dilos:~# apt-get install isc-dhcp-server |
UNFINISHED...
...
Edit the configuration file /etc/dhcp/dhcpd.conf for IPv4 or /etc/dhcp/dhcpd6.conf for IPv6.
Code Block |
---|
|
# 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 |
---|
title | starting the service |
---|
|
root@dilos:~# svcadm enable isc-dhcp-server |
Check the result by svcs tool:
Code Block |
---|
title | Checking problem services |
---|
|
root@dilos:~# svcs -xv
root@dilos:~# |
That means the service works, and you may relax
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 |
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | DS |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("isc","dhcp","isc-dhcp") and type = "page" and space = "DS" |
---|
labels | isc dhcp isc-dhcp |
---|
|
...