Koozali.org: home of the SME Server

DHCP assigning IPs

Offline ElFroggio

  • *
  • 262
  • +0/-0
DHCP assigning IPs
« 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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: DHCP assigning IPs
« Reply #1 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?

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: DHCP assigning IPs
« Reply #2 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

/Syv

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: DHCP assigning IPs
« Reply #3 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


Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: DHCP assigning IPs
« Reply #4 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