Is it correct that Digital Ocean servers do not use DHCP? #486

Closed
opened 2025-12-29 16:22:35 +01:00 by adam · 0 comments
Owner

Originally created by @dukedougal on GitHub (Oct 24, 2016).

I've done some fairy deep digging and it appears to me that a guest VM running on DigitalOcean is not able to determine its own IP address configuration.

As far as I can tell it depends entirely upon having its IP address config injected into it by some external process at boot time. Is this right? Seems kinda crazy.

Why would DO not provide DHCP information to each server so the server can get itself up and running?

The reason that I ask is because this is a significant impediment to running certain sorts of applications on the server that need to be able to determine their own address.

Hopefully I am wrong and someone can tell me that there is a way for a server to determine its own IP address, netmask and gateway (not from a metadata server via curl)?

Originally created by @dukedougal on GitHub (Oct 24, 2016). I've done some fairy deep digging and it appears to me that a guest VM running on DigitalOcean is not able to determine its own IP address configuration. As far as I can tell it depends entirely upon having its IP address config injected into it by some external process at boot time. Is this right? Seems kinda crazy. Why would DO not provide DHCP information to each server so the server can get itself up and running? The reason that I ask is because this is a significant impediment to running certain sorts of applications on the server that need to be able to determine their own address. Hopefully I am wrong and someone can tell me that there is a way for a server to determine its own IP address, netmask and gateway (not from a metadata server via curl)?
adam closed this issue 2025-12-29 16:22:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#486