Comments (7)
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.
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.
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.
@danderson Any change of a full DHCP server coming anytime soon? :)
from netboot.
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.
from netboot.
@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)
- Running on macOS fails with setsockopt: invalid argument HOT 3
- Package from packagecloud.io not working. Status code 429.
- Option to disable the DHCP server HOT 1
- make update-ipxe error HOT 5
- enable docker hub autobuild and update docker image(s) HOT 2
- RPI4 netboot support HOT 2
- TFTP bug: response source IP is not client request HOT 1
- tftp test is failing: package go.universe.tf/netboot/cmd/pixiecore: cannot find package HOT 3
- quick for archlinux not working HOT 3
- docker pull pixiecore/pixiecore fails
- pixiecore quick xyz is legacy BIOS only by default? HOT 4
- unsupported client firmware type '0' (please file a bug!) HOT 7
- Cannot install pixiecore HOT 2
- how to prevent pxe boot looping HOT 1
- Is it possible to run pixiecore with cloud-init config? HOT 1
- Netboot with NixOS HOT 1
- Arch Linux quick command needs cms_verify=y HOT 1
- [Discussion] IPV6 Exploration pixiecore HOT 1
- [DHCP] Unusable packet from xx:xx:xx:xx:xx:xx: unsupported client firmware type '16' (please file a bug!) despite using AMD64 HOT 2
- [PIXIECORE] No configuration method succeeded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netboot.