Конфиг:
option domain-name-servers 10.99.215.7;
# 99-100
shared-network 99-100 {
max-lease-time 60;
default-lease-time 60;
option subnet-mask 255.255.255.255;
option routers 10.100.200.1;
set clip = binary-to-ascii(10 , 8 , "." , leased-address);
set clhw = concat ( suffix (concat ("0" , binary-to-ascii (16 , 8 , "" , substring(hardware , 1 , 1))) , 2) , ":" , suffix (concat ("0" , binary-to-ascii (16 , 8 , "" , substring(hardware , 2 , 1))) , 2) , ":" , suffix (concat ("0" , binary-to-ascii (16 , 8 , "" , substring(hardware , 3 , 1))) , 2) , ":" , suffix (concat ("0" , binary-to-ascii (16 , 8 , "" , substring(hardware , 4 , 1))) , 2) , ":" , suffix (concat ("0" , binary-to-ascii (16 , 8 , "" , substring(hardware , 5 , 1))) , 2) , ":" , suffix (concat ("0" , binary-to-ascii (16 , 8 , "" , substring(hardware , 6 , 1))) , 2) );
execute("/bin/dhcp.sh" , "c1" , clip , clhw );
subnet 10.100.200.1 netmask 255.255.255.255 {
}
# }
subnet 10.192.100.0 netmask 255.255.255.0 {
# onion
host W {
option domain-name-servers 10.99.215.7;
option subnet-mask 255.255.255.255;
option routers 10.100.200.1;
hardware ethernet 08:00:27:e6:e7:fc;
fixed-address 10.192.100.250;
}
}
local-address 10.99.215.7;
# Ext
subnet 10.99.100.0 netmask 255.255.255.0 {
}
pool {
range 10.99.100.10 10.99.100.250;
}
subnet 10.99.215.0 netmask 255.255.255.0 {
option routers 10.100.88.1;
host alserver.db.lan {
option subnet-mask 255.255.255.255;
option routers 10.100.88.1;
hardware ethernet 08:00:27:7C:4F:A5;
fixed-address alserver.db.lan;
}
# virt01
host virtserver {
option subnet-mask 255.255.255.255;
option domain-name-servers 10.99.215.7;
option routers 10.100.88.1;
hardware ethernet 08:00:27:91:c1:3b;
fixed-address 10.99.215.9;
}
}
}
# 198-99
shared-network 198-99 {
subnet 10.99.198.0 netmask 255.255.255.0 {
# devel
host devel {
option subnet-mask 255.255.255.224;
option routers 10.99.198.1;
hardware ethernet 08:00:27:74:c8:52;
fixed-address 10.99.198.2;
}
}
subnet 10.100.88.1 netmask 255.255.255.255 {
}
}
Задача - есть один сервер, который должен получать ip в подсети 10.99.198.0/29
Но, он почему то получает в 10.99.100.0/24