Page 1 of 1
DHCP Server Configuration?
Posted: 29 Oct 2008, 10:43
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.
Re: DHCP Server Configuration?
Posted: 29 Oct 2008, 10:54
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
Posted: 14 Feb 2009, 11:25
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!
Posted: 14 Feb 2009, 16:26
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
Posted: 14 Feb 2009, 16:55
by GNOE Inc..
Instead of 'infinite' can I place a lease-time? Is that in minutes, hours or days?
Posted: 14 Feb 2009, 17:14
by Eek
Posted: 15 Feb 2009, 04:34
by GNOE Inc..
Thanx a lot!
