Portál AbcLinuxu, 8. listopadu 2025 12:25
# Project3 network
subnet 10.1.3.0 netmask 255.255.255.0
{
pool
{
range 10.1.3.50 10.1.3.250;
failover peer "dhcp-failover";
option broadcast-address 10.1.3.255;
option routers 10.1.3.1;
}
host DARKVADER
{
hardware ethernet 42:20:bf:57:35:55;
fixed-address 10.1.3.10;
}
}
zde je nastaveni serveru:
ddns-update-style none;
option domain-name "cz.local";
option domain-name-servers 10.4.10.11, 10.4.10.12;
default-lease-time 21600;
max-lease-time 43200;
authoritative;
log-facility local7;
failover peer "dhcp-failover" {
primary;
address 192.168.1.1;
port 647;
peer address 192.168.1.2;
peer port 648;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
mclt 1800;
split 128;
}
A zde nastava problem, host DARKVADER dostane adresu, dns, apod, ale default gw nikoliv. Nejzajimavejsi na tom je, ze pro zonu, dejme tomu Project1 (10.1.1.0/24), vse funguje bez problemu :) Řešení dotazu:
subnet 10.1.3.0 netmask 255.255.255.0 {
option routers 10.1.3.1;
pool {
range 10.1.3.50 10.1.3.250
....
viz manual(adress pools)
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.