Page 1 of 1
Amahi wont take out a DHCP lease on the router
Posted: Wed Jun 09, 2010 4:46 am
by rhubarb
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
Re: Amahi wont take out a DHCP lease on the router
Posted: Wed Jun 09, 2010 7:17 am
by moredruid
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.
Re: Amahi wont take out a DHCP lease on the router
Posted: Wed Jun 09, 2010 9:01 am
by gboudreau
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.)
Re: Amahi wont take out a DHCP lease on the router
Posted: Wed Jun 09, 2010 2:11 pm
by rhubarb
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
Re: Amahi wont take out a DHCP lease on the router
Posted: Wed Jun 09, 2010 4:44 pm
by gboudreau
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).
Re: Amahi wont take out a DHCP lease on the router
Posted: Thu Jun 10, 2010 7:18 am
by rhubarb
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