LINUX.ORG.RU

История изменений

Исправление Deleted, (текущая версия) :

/etc/default/isc-dhcp-server

INTERFACES="eth2"

/etc/default/isc-dhcp-server


ddns-updates on;
ddns-update-style interim;
use-host-decl-names on;
update-static-leases on;
authoritative;
log-facility local7;
ignore client-updates;
allow booting;
allow bootp;

subnet 192.168.0.0 netmask 255.255.255.0 {
    option routers                  192.168.0.1;
    option subnet-mask              255.255.255.0;
    option broadcast-address        192.168.0.255;
    range 192.168.0.2 192.168.0.50;
    default-lease-time              43200;
    max-lease-time                  86400;
    next-server 192.168.0.1;
}

group{
# Это виртуалльная машина
    host myvm {
        ddns-hostname "myvm";
        hardware ethernet 52:54:00:68:54:c9;
        fixed-address 192.168.0.10;
    }
}

Исходная версия Deleted, :

/etc/default/isc-dhcp-server

INTERFACES="eth2"

/etc/default/isc-dhcp-server


ddns-updates on;
ddns-update-style interim;
use-host-decl-names on;
update-static-leases on;
authoritative;
log-facility local7;
ignore client-updates;
allow booting;
allow bootp;

subnet 192.168.0.0 netmask 255.255.255.0 {
    option routers                  192.168.0.1;
    option subnet-mask              255.255.255.0;
    option broadcast-address        192.168.0.255;
    range 192.168.0.2 192.168.0.50;
    default-lease-time              43200;
    max-lease-time                  86400;
    next-server 192.168.0.1;
}

group{
    host myvm {
        ddns-hostname "myvm";
        hardware ethernet 52:54:00:68:54:c9;
        fixed-address 192.168.0.10;
    }
}