ja zrobilem to kiedys i mi dziala wszystko ok jak ktos sobie przypisze recznie inne ip to nie ma neta moj conf wyglada tak
najpierw zrobilem plik /etc/ethers nadalem mu prawa do wykonywalnosci i w nim wpisalem tak
192.168.0.2 00:60:97:D0:8F:67
192.168.0.5 00:0C:6E:3D:C4:3B
192.168.0.6 00:0C:76:CA:15:66
192.168.0.9 00:50:8B:04:5F:5E
192.168.0.11 00:13:46:B1:D9:E9
192.168.0.12 00:14:85:B7:4F:8A
192.168.0.13 00:30:4F:39:44:C3
192.168.0.40 00:0B:6A:69:E5:0C
nastepnie skonfigurowalem
/etc/dhcpd.conf# /etc/dhcp.conf
# Plik konfiguracyjny deamona dhcpd
ddns-update-style=ad-hoc;
option domain-name "MSHOME";
option domain-name-servers 194.204.159.1, 194.204.152.34;
option subnet-mask 255.255.255.0;
default-lease-time 21600;
max-lease-time 86400;
#Jeżeli chcesz dodać statyczne wpisy dla komputerów
#musisz zmieni przedział podany przy zmiennej range
#tak aby komputery ze stałym IP nie zawierały się w przedziale
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.40; #Zakres przydzielanych adresów
option broadcast-address 192.168.0.255; #Adres rozgłoszeniowy
option routers 192.168.0.1; #Brama domyślna
authoritative;
}
#host Kozik {
#hardware ethernet 00:60:97:D0:8F:67;
#fixed-address 192.168.0.2;
#option broadcast-address 192.168.0.2;
#option routers 192.168.0.1;
#}
#host Pater {
#hardware ethernet 00:0C:6E:3D:C4:3B;
#fixed-address 192.168.0.3;
#option broadcast-address 192.168.0.3;
#option routers 192.168.0.1;
#}
#host Renek {
#hardware ethernet 00:0C:76:CA:15:66;
#fixed-address 192.168.0.6;
#option broadcast-address 192.168.0.6;
#option routers 192.168.0.1;
#}
#host Robert {
#hardware ethernet 00:50:8B:04:5F:5E;
#fixed-address 192.168.0.9;
#option broadcast-address 192.168.0.9;
#option routers 192.168.0.1;
#}
#host Nowicol {
#hardware ethernet 00:13:46:B1:D9:E9;
#fixed-address 192.168.0.11;
#option broadcast-address 192.168.0.11;
#option routers 192.168.0.1;
#}
#host Kuneś (
#hardware ethernet 00:14:85:B7:4F:8A
#fixed-address 192.168.0.12;
#option broadcast-address 192.168.0.12;
#option routers 192.168.0.1;
#)
#host Żak (
#hardware ethernet 00:30:4F:39:44:C3
#fixed-address 192.168.0.13;
#option broadcast-address 192.168.0.13;
#option routers 192.168.0.1;
#)
#host Karolina {
#hardware ethernet 00:0B:6A:69:E5:0C;
#fixed-address 192.168.0.40;
#option broadcast-address 192.168.0.40;
#option routers 192.168.0.1;
#}
a potem wpisalem w konsole
arp -f i wszystko dziala jak nalezy
