Giter Site home page Giter Site logo

Comments (7)

bnil avatar bnil commented on August 19, 2024

It would be awesome to have a bare bones dhcp server that can call out to a http api. I'm trying to solve the problem of wanting to have fixed ip addresses but still have them allocated automatically. If the dhcp server would call an http api with mac address I could write a really simple http server that asks a database for next available ip. Maybe it's a good idea to split the dhcp server out to a separate program.

from netboot.

asteven avatar asteven commented on August 19, 2024

I would LOVE to have this. Actually I have it, but written in python like 10 years ago.
If Pixiecore would have this feature I could finally ditch my old code.

We need IPAM solutions for all this cloud native stuff anyway these days.
Having a simple stupid dhcp <-> HTTP bridge seems to be the sole missing link to re-use the same central IPAM solution for kubernetes (CNI), docker (CNM), vms and bare metal (DHCP).

Maybe could get some inspiration from etcdhcp for the implementation. It seems it would be relatively straight forward for an experienced go programmer (which I am unfortunately not :-(). But the responsibility for allocating IPs would have to be with the http service.

from netboot.

danderson avatar danderson commented on August 19, 2024

Yeah, I've slowly come around to this, because I'd like this feature as well.

At some point, when I have some free time, I'll do a fairly large refactor of this repository to make this happen. I can't promise when.

from netboot.

prologic avatar prologic commented on August 19, 2024

@danderson Any change of a full DHCP server coming anytime soon? :)

from netboot.

danderson avatar danderson commented on August 19, 2024

Nope. This project is effectively abandonware. If it's useful, great. Maybe at some point I'll hack on it some more. But don't expect significant changes any time soon.

from netboot.

prologic avatar prologic commented on August 19, 2024

from netboot.

complyue avatar complyue commented on August 19, 2024

@danderson We expect this feature very much, we are assigning IP addresses via static linux kernel cmdl args so far, so only if we can provide the IPs via DHCP, that'll be more wonderful!

And we have a pain that the booting process can timeout at times, I suspect that's bcoz the kernel wants to collect some entropy from the nic during some booting steps, but no traffic could feed it under the static IP setup, so the DHCP traffic after preliminary boot seems very hopeful to be a relief.

Currently a typical machine we have can boot successfully 1 time out of 7~8 reboot attempts, which is still annoying even we don't reboot machines that often.

from netboot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.