Originally posted by: aixadmin
Hi,
I'm trying to configure the dhcpsd to serve IPs in 2 subnets in the same IP network.
The server has the IP 10.1.35.5/22 and I want serve IPs for clients in 10.1.34 and 10.1.35.
My configuration file is like that
supportunlistedClients no
network 10.1.32.0 22
{
subnet 10.1.34.0 10.1.34.99-10.1.34.101
{
option 6 10.1.35.5 # DNS
option 15 my.domain # Domain
option 3 10.1.35.4 #Gateway
client 1 0040d02a65b1 10.1.34.100 #PC pmarch
}
subnet 10.1.35.0 10.1.35.62-10.1.35.66
{
option 6 10.1.35.5 #DNS
option 15 my.domain #Domain
option 3 10.1.35.6 10.1.35.4 #Gateways
client 1 000d602c14d0 10.1.35.64 #PC apujol
}
}
The dhcpsd starts correctly but it only can serve IP for apujol but not for pmarch.
It respons the lssrc -ls dhcpsd correctly:
IP Address Status Duration Time Stamp Client ID
10.1.34.99 Free
10.1.34.100 Free
10.1.34.101 Free
10.1.35.62 Free
10.1.35.63 Free
10.1.35.64 Leased 3600 Nov 17 17:18 1-000d602c14d0
10.1.35.65 Free
10.1.35.66 Free
But in the log file I can see a message like that when the PC pmarch try to get the IP:
PROTERR: ............ db_modify_client_newaddr: Nothing available for client, 1-000fcbd1b8c0
If I change the order of the subnets definitions, then dhcpsd only serves IP for pmarch but not for apujol
Some clues to resolve this nigtmare will be apreciated.
Thanks in advance.