Hi Neil!
On 2017-04-19 12:00, Neil Bothwick wrote:
On Wed, 19 Apr 2017 12:46:09 +0200, Florian Gamböck wrote:
On 2017-04-18 20:41, Mick wrote:
Assuming you have access to your home's router, you can configure on
it a static IP address for the MAC address of the Raspi. The home
router will not allocate any such reserved IP address to any other
device, but reserve it for the Raspi's MAC address.
That's what I've been doing in the past, but my Cisco router had
problems with that. It tried to give away addresses I have
specifically reserved and it ended up cutting the connections and
refusing to let new machines connect as long as there was a conflict.
You should allocate static addresses from outside of the DHCP reserved
range. For example, set the DHCP range to 192.168.1.100-200 then
allocate static addresses from below there.
That's what I've been doing until now, which is why I originally started
this thread.
What Mick meant was configuring the router, so it reserves IP addresses
for specified MAC addresses. These "almost" static addresses have to be
taken from within the DHCP range, because it is actually the DHCP server
that provides them. I used routers in the past which worked perfectly
with this setup, but somehow the machines I have to use nowadays don't
like anything wich is not plain old DHCP.
Besides, I like having configuration files on my computers, which I
can exchange and adjust as I like, without the need to click through
heavily overloaded router configuration WebApps.
If you have an always on computer on your network, I would recommend
trying dnsmasq. It has a DHCP server and means you can do all your
network configuration in the one place, with simple text config files.
This sounds really promising, thank you for this tip! And also thank you
Peter and Paul for your feedback!
I will put it on my ToDo list and consider it the next time I'm about to
kick my router! ;-)
--
Kind regards
Flo