Quote:
Originally Posted by soumalya
Sir
in windows 2003 i can use excluding ip range if i want to give few machine to have static ip suppose 192.168.1.20 to 192.168.1.100.
in linux i have to know the mac address of all this machine and write in the script each mac address and ip address if i exclude these machine form dhcp.
is there any other way to write the excluding range same as windiws without having mac address in linux.
thanks in advance.
|
MY configuration for DHCP SERVER (FEDORA-8)
dhcpd.conf
#/etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
default-lease-time 72000;
max-lease-time 86400;
option subnet-mask 255.255.255.128;
option routers 192.168.1.*;
option domain-name-servers 192.168.1.*;
option domain-name "your-desire.com";
subnet 192.168.1.0 netmask 255.255.255.128 {
range 192.168.1.10 192.168.1.100;
}
# we want the nameserver to appear at a fixed address
host ns {
next-server your-desire.com;
hardware ethernet 12:34:56:78:AB:CD;
fixed-address 192.168.1.100;
}