Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: ElFroggio on February 25, 2015, 08:19:01 PM

Title: DHCP assigning IPs
Post by: ElFroggio on February 25, 2015, 08:19:01 PM
Hi,

Is there a way of assigning a IP address according to the mac address. I want to add:

host hpprinter {
  hardware ethernet 38:EA:A7:09:9E:9E;
  fixed-address 192.168.1.16;
}

to dhcpd.conf

Thanks

Syv
Title: Re: DHCP assigning IPs
Post by: Stefano on February 25, 2015, 08:43:32 PM
elfroggio

what about taking a look at "hostname and addresses" page in server-manager?

and, of course, to the fine manual/documentation?
Title: Re: DHCP assigning IPs
Post by: ElFroggio on February 25, 2015, 11:59:44 PM
elfroggio

what about taking a look at "hostname and addresses" page in server-manager?

and, of course, to the fine manual/documentation?
Yes I have but still I can't find how to assign an ip address to a mac address, the equivalent of a static ip through dhcp

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Reserving_IP_Addresses_Through_DHCP (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Reserving_IP_Addresses_Through_DHCP)

/Syv
Title: Re: DHCP assigning IPs
Post by: Stefano on February 26, 2015, 12:06:33 AM
server-manager -> hostnames and addresses -> add hostname -> fill "hostname","comment" fields, set domain to the right one, choose "local" from Location -> next -> set local ip address and fill the Ethernet address field with the mac address -> next -> save

Title: Re: DHCP assigning IPs
Post by: ElFroggio on February 26, 2015, 01:51:23 AM
server-manager -> hostnames and addresses -> add hostname -> fill "hostname","comment" fields, set domain to the right one, choose "local" from Location -> next -> set local ip address and fill the Ethernet address field with the mac address -> next -> save

Perfect. What I was missing was the 'local'.

Thanks

/Syv