[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] DHCP-Server soll nur auf bestimmte MAC-Adressen reagieren



Tobias Großmann schrieb:

> [...]
>
>Also schreib ich
>host	testpc	{ hardware ethernet 01:23:45:67:89:ab; }
>und nur der PC mit der MAC bekommt eine IP?
>
>  
>
ehm du musst ja noch eine Range angeben soweit ich weiss hier sieht die
dhcpd.conf ungefaehr so aus:
-------%<--------
allow bootp;
allow booting;
authoritative;
deny unknown-clients;
shared-network foo_bar {
subnet 192.168.1.0 netmask 255.255.255.0 {
option domain-name "foobar.loc";
option domain-name-servers 192.168.1.1
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
default-lease-time 3600;
max-lease-time 14400;
range 192.168.1.2 192.168.1.99;
host foobar    { hardware ethernet 00:00:00:ab:cd:rf; }
}
}
--------<%----------
so sollte es wohl fuer den testpc reichen

>>>Danke im voraus...
>>>
>>> 
>>>
>>>      
>>>
>>Gruss
>>    
>>
>Gruß zurück
>  
>
>>Philipp
>>
>>    
>>


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: