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.

No IP assigned for br0(docker) containers

Featured Replies

I have searched the internet and no one seems to have the same issue.  I hope I'm wrong and someone can steer me to where others have gone before.

 

My docker containers that are on the custom br0 network do not get assigned an IP from my router.  These are the ONLY things on my network that are not automatically assigned.

Unraid gets an IP just fine.

I have Home Assistant running in a VM - it gets an ip.

I have SWAG and PiHole setup on br0.  Neither gets an IP assigned from my router.  Both are reachable by ping through their IP addresses set in the container themselves.

 

Docker settings:

Docker custom network type:
    ipvlan

Host access to custom networks:
    Enabled

 

Network settings:

Enable Bridging:

    Yes

  • Community Expert

If you want your containers to have a different address than your host you can either assign it in the optional spot (if already built in) or got to the container console and run ifconfig.  You should find the Mac address in there that you can use to configure your DHCP server.

  • Community Expert

If you attach diagnostics some more info can likely be found by some of the pros that hang out on these forums.

  • Community Expert

If you console into the container and do ifconfig there, you will see the mac address that unRAID gave it.  With that mac, you should be able to configure your DHCP server to assign your chosen IP to it (the mac).

The easiest is to assign your IP address manually though. IMG_20250116_020147.thumb.jpg.b4e153de2324763cfff59c7c6608ae2a.jpg

 

  • Author

Ahh, I'm sorry that I did not make that clear.  That was already filled out.  I am able to reach my pihole through that IP.  But neither my pihole or my swag container are getting IP leases from my router.

piholeunaid.PNG.8279e4bd82bd5772f2b6011eeb612ac5.PNG

piholeunaid2.PNG.2a28daaa89b66fc1e4d16f2bc54541bb.PNG

I even added the lease using the container MAC but nothing.

  • Community Expert

In the image it shows network type is custom: bond0

Can you change that to read something more like custom br0 - eth0?  

  • Author

I can change it back.

 

Since I posted about this, I changed the docker custom network type to macvlan since I saw that they fixed it.  That changed my network to bond0.  But I didn't get an IP assigned regardless.  I'm now switching back.

  • Community Expert

My last idea is to change DNS IP to 1.1.1.1 or 9.9.9.9 or something.  Just give it an option that is not a recursive/unbound DNS like what you may be using.  

For my understanding, docker container won't got IP from outside (unraid) DHCP.

  • Community Expert
7 hours ago, Vr2Io said:

For my understanding, docker container won't got IP from outside (unraid) DHCP.

only for bridge mode if set to custom it should grab from the router.

 

Unless you setup a dchp pool for ipvlan/macvlan... then the docker network can use from a set ip range. Then it will still ask the router and use the first IP in the IP range.

It is better to static assign a ip address to a docker.

  • Community Expert
On 1/15/2025 at 10:04 AM, Eksistenze said:

I have searched the internet and no one seems to have the same issue.  I hope I'm wrong and someone can steer me to where others have gone before.

 

My docker containers that are on the custom br0 network do not get assigned an IP from my router.  These are the ONLY things on my network that are not automatically assigned.

Unraid gets an IP just fine.

I have Home Assistant running in a VM - it gets an ip.

I have SWAG and PiHole setup on br0.  Neither gets an IP assigned from my router.  Both are reachable by ping through their IP addresses set in the container themselves.

 

Docker settings:

Docker custom network type:
    ipvlan

Host access to custom networks:
    Enabled

 

Network settings:

Enable Bridging:

    Yes


Id have you review 

 

 

To gain a better understanding of unraids networking and docker networking.
 

 

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.