LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DHCP MAC address assignment in conflict with range option (https://www.linuxquestions.org/questions/linux-newbie-8/dhcp-mac-address-assignment-in-conflict-with-range-option-4175484473/)

ra93013 11-13-2013 02:21 PM

DHCP MAC address assignment in conflict with range option
 
If I want to setup DHCP to allocate some address based on MAC address with the range I specified prevent that asssignmet?

ddns-update-style interim;
allow client-updates;

# if you have fixed-address entries you want
update-static-leases on;

key dhcpupdate {
algorithm hmac-md5;
secret mysecretkey==;
}

zone tse.boeing.com {
primary 10.46.70.2;
key dhcpupdate ;
}

zone 70.46.10.in-addr.arpa {
primary 10.46.70.2;
key dhcpupdate ;
}

subnet 10.46.70.0 netmask 255.255.255.0 {

option routers 10.46.70.1;
option subnet-mask 255.255.255.0;

option domain-name "tse.boeing.com";
option domain-name-servers 10.46.70.2;

option time-offset -5; # Eastern Standard Time
option ntp-servers 10.46.70.6;
default-lease-time 259200;
max-lease-time 259200;


group {
option domain-name "tse.boeing.com";
ddns-domainname "tse.boeing.com";

host tm-stnd {
hardware ethernet 00:A0:69:0B:AF:A2;
fixed-address 10.46.70.6;
option host-name "tm-stnd";
ddns-hostname "tm-stnd";
}
}

range 10.46.70.15 10.46.70.49;

gknetw 11-15-2013 12:45 PM

No , it will not prevent.
host tm-stnd will get ip address as 10.46.70.6


All times are GMT -5. The time now is 05:38 PM.