Amahi wont take out a DHCP lease on the router

rhubarb
Posts: 54
Joined: Wed May 05, 2010 1:59 pm

Amahi wont take out a DHCP lease on the router

Postby rhubarb » Wed Jun 09, 2010 4:46 am

My new Amahi server hardware consumes too much power to be left on 24/7.

So I have DHCP running on my router the Amahi DHCP service switched off

The (Dovado UMR) router shows me that the Amahi server is NOT getting its IP number from the router (which is hardcoded to 192.168.0.10).

If I look at the Amahi server network device configuration I see that it is configured as a Static IP (which I do not want)

If I change the Amahi server network device configuration to "Automatically obtain IP address" using DHCP, save and reboot then the configuration changes back to Static IP!!!

What can I do to prevent my configuration from being changed?

Peter

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Amahi wont take out a DHCP lease on the router

Postby moredruid » Wed Jun 09, 2010 7:17 am

not much besides changing the network config every time you reboot.
Amahi is meant as a server which usually configured with a fixed IP address.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Amahi wont take out a DHCP lease on the router

Postby gboudreau » Wed Jun 09, 2010 9:01 am

Why do you want to force the HDA to use DHCP to get it's address?
I don't see that as a requirement to have your setup working...
What do you loose, keeping the HDA on 192.168.0.10?

(It won't work anyway; Amahi needs a static IP address, since that IP address will appear in many configuration files, like the named.conf file, for example.)
- Guillaume Boudreau

rhubarb
Posts: 54
Joined: Wed May 05, 2010 1:59 pm

Re: Amahi wont take out a DHCP lease on the router

Postby rhubarb » Wed Jun 09, 2010 2:11 pm

Well, I was intending to assign the Amahi server (based on MAC address) a hardcoded IP, effectively static, from the router using DHCP. But I suppose I dont really gain anything vs Amahi having a Static IP

If the Amahi server has a static IP then there might be a risk that a DHCP router will assign another device on the network the same (conflicting) IP unless the router is told not to. Could cause grief for some users maybe

Peter

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Amahi wont take out a DHCP lease on the router

Postby gboudreau » Wed Jun 09, 2010 4:44 pm

Even if the HDA doesn't use the DHCP, there's nothing stopping you from creating a static binding on the router, to reserve that IP for your HDA. As long as that static binding exists in your router config, that address will not be given to any other device.
But if your HDA is using x.x.x.10, that address probably isn't part of the DHCP server address pool, which normally starts at x.x.x.100 (user-configurable most of the time).
- Guillaume Boudreau

rhubarb
Posts: 54
Joined: Wed May 05, 2010 1:59 pm

Re: Amahi wont take out a DHCP lease on the router

Postby rhubarb » Thu Jun 10, 2010 7:18 am

already done since that is the router configuration I had intended to use before I found out that Amahi demands its own Static IP config

BTW my dovado UMR 3G router defaults DHCP IP leases to 192.168.0.2-254 so there is a potential risk (since the Amahi defaults to 192.168.0.10 (or actually 192.168.1.10)) for some router users which should be documented in the Amahi Help somewhere

Next problem is to get incomming requests from the internet over my 3G modem/router/ISP combo (E182E,Dovado,Tre.se) to work. Some info I have seen suggests that it might not be possible even with Dynamic DNS. Apparently I might need something called a "public IP" which maybe Tre does not provide. Still investigating

Peter

Who is online

Users browsing this forum: No registered users and 52 guests