Hello
I have a problem with assigning static ips with the isc-dhcp-server-4.1.1-P1.
There are over 300 host in the network that require static ip.
I have 3 subnet's:
192.168.0.0/23
192.168.2.0/24
10.0.0.0/22
The static ip should be assigned from the first two subnets and the last one should be assigned to everything else.
The problem is that when I add the host declaration to get a static ip the ip is still assigned from the 10.0.0.0/22 subnet
My dhcpd.conf:
Code:
option domain-name-servers 8.8.8.8, 156.17.80.9;
default-lease-time 600;
max-lease-time 7200;
authoritative;
shared-network LAN {
subnet 192.168.0.0 netmask 255.255.254.0 {
option routers 192.168.0.1;
}
subnet 192.168.2.0 netmask 255.255.255.0 {
option routers 192.168.2.1;
}
subnet 10.0.0.0 netmask 255.255.252.0 {
range 10.0.0.20 10.0.3.254;
}
host r_429_n_1 {
hardware ethernet 00:1e:33:dc:0d:8b;
fixed-address 192.168.1.168;
}
host r_429_n_2 {
hardware ethernet 78:ca:39:34:cd:74;
fixed-address 192.168.0.169;
}
...
interface is configured like this:
Code:
auto eth0
auto eth0:0
iface eth0 inet static
address 192.168.0.20
netmask 255.255.254.0
network 192.168.0.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8
iface eth0:0 inet static
address 10.0.0.1
netmask 255.255.252.0
Did anyone else have this issue?
/Chris