vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi folks, i have a question regarding the dhcpsd service Currently i would like to have a network range in the /etc/dhcspsd.cnf for unlisted client and another section where only listed client are supported. Is this possible or is the 'supportUnlistedClients' option in the /etc/dhcpsd.cnf a global variable ? Currently with the following configuration a client with an unknown mac adress gets an address from the second range - aka 10.11.1 network 10.0.0.0 24 subnet 10.11.2.0 255.255.255.0 10.11.2.2-10.11.2.254 { supportUnlistedClients=yes } subnet 10.11.1.1 255.255.255.0 10.11.1.2-10.11.1.254 { supportUnlistedClients=no client 1 0800AABBCCDD 10.11.1.23 { option 12 "host1" } } } |
| |||
| Hajo Ehlers wrote: > Hi folks, > i have a question regarding the dhcpsd service > > Currently i would like to have a network range in the /etc/dhcspsd.cnf > for unlisted client and another section where only listed client are > supported. > Is this possible or is the 'supportUnlistedClients' option in the > /etc/dhcpsd.cnf a global variable ? > > Currently with the following configuration a client with an unknown mac > adress gets an address from the second range - aka 10.11.1 > > network 10.0.0.0 24 > subnet 10.11.2.0 255.255.255.0 10.11.2.2-10.11.2.254 > { > supportUnlistedClients=yes > } > > subnet 10.11.1.1 255.255.255.0 10.11.1.2-10.11.1.254 > { > supportUnlistedClients=no > client 1 0800AABBCCDD 10.11.1.23 > { option 12 "host1" } > } > } This is global. If you don't set it to YES, it will act like bootp and the only supported clients are those specifically assigned in the file. If you have subnet with preassigned address to machines and their are gaps that shouldn't be assigned to other machines, you can prevent them from being used with "exclude" and "client 0 0" statements. They bothe accomplish the same thing: exclude 10.11.1.29 # don't assign client 0 0 10.11.1.30 # don't assign client 1 0x004304944233 10.11.1.31 client 1 0x002104944237 10.11.1.32 exclude 19.11.1.33 # don't assign client 0 0 10.11.1.34 #don't assign |