Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

enable/include docker-dhcp-net plugin to make containers use the default (net-wide) dhcp-server

Featured Replies

Even with macvlan support, using a central DHCP management solution for all clients and hosts in your network is not possible for Dockers in unraid.

 

This is a docker plugin, that promises to solve that: https://github.com/devplayer0/docker-net-dhcp

...from the readme.md:

 

docker-net-dhcp

docker-net-dhcp is a Docker plugin providing a network driver which allocates IP addresses (IPv4 and optionally IPv6) via an existing DHCP server (e.g. your router).

When configured correctly, this allows you to spin up a container (e.g. docker run ... or docker-compose up ...) and access it on your network as if it was any other machine!

 

 

+1 I'd like this as well...it's something I used to do on vanilla Debian with docker.

On 3/5/2022 at 9:03 PM, Ford Prefect said:

Even with macvlan support, using a central DHCP management solution for all clients and hosts in your network is not possible for Dockers in unraid.

Just out of curiosity if you install it like in the linked GitHub repo doesn't it work and should persist reboots?

 

Also is this plugin actively maintained since the last commit was about 8 months ago.

  • Author
2 minutes ago, ich777 said:

Just out of curiosity if you install it like in the linked GitHub repo doesn't it work and should persist reboots?

.....I don't have an option to test this, ATM...no spare parts.

 

2 minutes ago, ich777 said:

Also is this plugin actively maintained since the last commit was about 8 months ago.

I don't know, but I'd rather see this as a starting point. If this feature gets accepted, of course there needs to be a staff or community maintainer for unraid appointed.

 

21 minutes ago, Ford Prefect said:

.....I don't have an option to test this, ATM...no spare parts.

I will try to test this in the next few days on my test server.

 

Looking at the Issues I'm not too sure if this will be actively supported in the future and also that there are some serious issues #27, #29, #26,...

  • Author

...maybe you are right....thanks for trying in advance.
Nevertheless, a request for a solution of the overall usecase would remain.

Gesendet von meinem SM-G780G mit Tapatalk

  • 4 months later...

+1. I would love to use my PFsense router DHCP service for the Unraid Docker containers.

On 3/8/2022 at 6:47 AM, ich777 said:

I will try to test this in the next few days on my test server.

 

Looking at the Issues I'm not too sure if this will be actively supported in the future and also that there are some serious issues #27, #29, #26,...

Did you get a chance to test this?

28 minutes ago, wgstarks said:

Did you get a chance to test this?

I've only took a quick look at it and gave up since my priorities shifted a bit.

I also don't think that this repo is actively maintained anymore and is maybe a dead end too...

  • 2 months later...

+1 for me.

I'd love this so i have 1 place to manage all!

  • 1 month later...

+1 for me as well!

  • 3 months later...

+1!

  • 1 month later...

+1!!!

  • 2 weeks later...

Just doing a major network topology upgrade to the house - and decided to split out my dockers... really wish DHCP worked for the docker containers... I mean.. something creates the MAC address and the IP address for them - should be able to proxy in the DHCP request as well - right?  An 'outside the container' service perhaps, optional so that it doesn't need to interfere with containers that DO handle their own DHCP.

In the meantime - lots of double work statically assigning container IPs and duplicating the settings in the router's DHCP Server.

  • 2 weeks later...

Just started using Unraid while also sorting out my network setup and ran into this exact issue.  Something like this would be of considerable help for routing.

  • 1 month later...

Another Unifi user struggling with macvlan instability, would love a better way to manage DHCP reservations through router instead of unRAID.

On 7/13/2023 at 9:56 PM, baccula said:

Another Unifi user struggling with macvlan instability, would love a better way to manage DHCP reservations through router instead of unRAID.

From what I understand you should use ipvlan now, but dunno if this plugin works with that.

 

Any others got any clever ideas?

While the features this plugin offers would be great, using this plugin would be a bad idea. It hasn’t been updated in more than 2 years and has many open issues with no attempt at resolution. It has obviously been abandoned.

  • 2 years later...

Earlier this month, the following was posted as an issue in the github repo for this plugin:

For anyone landing here looking for an actively maintained version of
this plugin: I've published a fork at
https://github.com/claymore666/docker-net-dhcp that brings the codebase
forward and adds a macvlan attachment mode.

I'm posting this as an issue rather than a PR because I'm not asking
for a merge — the upstream repository has been quiet for a few years
and several useful PRs (#43, #34, #32, #31, the dependabot bumps) have
been waiting on review. The fork incorporates the substance of the
PRs that still apply, with attribution to their original authors in
the commit messages.

So, maybe not dead after all?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.