Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to installing ubuntu 12.10 MAAS. I want to set up a DHCP server to define the range of ips for clients. I am not able to do this on 12.10 while on 12.04 this was simple to perform. Please if anybody knows, tell me what to do to set up DHCP.

Thanks in advance.

share|improve this question
add comment

1 Answer 1

The Ubuntu Server Guide has a clear and succinct explanation of DHCP server operation. DHCP Server Ubuntu Server Guide

From the guide example configuration:

# minimal sample /etc/dhcp/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.1.0 netmask 255.255.255.0 {
 range 192.168.1.150 192.168.1.200;
 option routers 192.168.1.254;
 option domain-name-servers 192.168.1.1, 192.168.1.2;
 option domain-name "mydomain.example";
}

Where the configuration says, range 192.168.1.150 192.168.1.200;, you can insert the lower and upper IP bound for allocation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.