On 6 February 2015 at 14:55, mick mbm@rlogin.net wrote:
Obvious question. Do you have to use DHCP? I always give servers fixed IP addresses. A headless debian box sounds like a "server" to me.
It's a data logging box. We used to set a static IP but as it has to rely on whatever network it gets connected to we've decided DHCP gives us more flexibility; it emails us its address on connection, and if we need to access it we can usually do it via a local VPN.
For a while we had both set up (eth0 static, eth0:0 on DHCP) but seemed to have more problems that way, from memory it was DHCP obliterating DNS configuration which I am sure we could have fixed, but moving to DHCP also means less bespoke configuration of each box (there's about half a dozen of them so it's far from being a major enterprise!)