Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

DHCP Server Configuration?

Got problems with your B2 or B3? Share and get helped!
Post Reply
whilbone
Posts: 25
Joined: 22 Oct 2008, 03:09

DHCP Server Configuration?

Post by whilbone »

I was looking to set a preferred IP for some of my internal machines but I didnt find any config file for the dhcp server. I'm probably blind but I was looking for /etc/dhcp.conf or similar. The only one I found was /etc/dhcp3/dhclient.conf and it didn't contain what I was looking for.

It would be nice to have the option of reserving addresses for certain mac addresses in the web gui as well but I'm happy if I can be pointed in the right direction for a console solution.
carl
Posts: 474
Joined: 07 May 2008, 04:41

Re: DHCP Server Configuration?

Post by carl »

whilbone wrote:I was looking to set a preferred IP for some of my internal machines but I didnt find any config file for the dhcp server. I'm probably blind but I was looking for /etc/dhcp.conf or similar. The only one I found was /etc/dhcp3/dhclient.conf and it didn't contain what I was looking for.

It would be nice to have the option of reserving addresses for certain mac addresses in the web gui as well but I'm happy if I can be pointed in the right direction for a console solution.
In the BubbaTwo, it's dnsmasq which is responsible for dhcp; so check /etc/dnsmasq.conf.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
GNOE Inc..

Post by GNOE Inc.. »

What do I have to add to conf-file? Can you give an example?

(For example, I want to add a reservation to a LAN machine with mac xx:xx:xx:xx:xx:xx with IP-address 192.168.y.y)

Thanx!
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

You can appoint an IP to a mac using for example
dhcp-host=00:00:85:84:8B:98,192.168.1.5,infinite
GNOE Inc..

Post by GNOE Inc.. »

Instead of 'infinite' can I place a lease-time? Is that in minutes, hours or days?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

GNOE Inc..

Post by GNOE Inc.. »

Thanx a lot! 8)
Post Reply