DHCP and other various questions

GlobalOne
Posts: 4
Joined: Thu Dec 30, 2010 11:32 pm

DHCP and other various questions

Postby GlobalOne » Thu Dec 30, 2010 11:36 pm

Hi everyone,

I just have a few quick questions. Aside from being able to set static IPs, is it also possible to limit the maximum amount of IP addresses? We would like to place the household's devices on their own IP addresses, and then limit the total so that no new devices (such as snooping neighbors) can receive an IP address from the server due to a lack of available addresses.

Also, is it possible to change the IP address that the Amahi server is on? Or do we have to create a "new HDA" in order to achieve that? (which would be a nightmare :P)

Thank you very much!

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: DHCP and other various questions

Postby rgmhtt » Fri Dec 31, 2010 5:38 am

Changing the IP address of Amahi is NOT too hard, you install phpmyadmin, change the address in the settings table, and hdact, and restart the network. Though sometimes you really have to reboot.

I have considerable experience in limiting the address range for dhcp. There are two places where you need to modify the address in the hdactl script. Look for the lines:

my $dyn_lo = $net . ".___";
my $dyn_hi = $net . ".___";

I forget what the 'defaults' are, I only have what I have changed mine to! These lines occur twice and you have to change them in each place. Then whenever there is a new updated to the Amahi scripts, you have to reapply your changes. I am working on edits for Amahi 6, to make this easier. Also this does NOT change DNS, it will still create DNS records for all address in the C block. CIDR support is another change I want to make.

GlobalOne
Posts: 4
Joined: Thu Dec 30, 2010 11:32 pm

Re: DHCP and other various questions

Postby GlobalOne » Fri Dec 31, 2010 3:30 pm

Alright, that sounds good enough to me.

Wait, Amahi 6?? It gets even better? xD haha Thanks!

Who is online

Users browsing this forum: No registered users and 6 guests