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.

Why do I NOT have issues with macvlan on docker ?

Featured Replies

  • Community Expert

I keep hearing about kernel panics and issues with docker on macvlan.  My system is stable as anything.

I am not an expert.  From research ipvlan means shared mac and different ip address.

My entire system has been designed around the settings Custom br0 --LAN and therefore macvlan. 

I like how my USG router knows who is who - I dont use dhcp - all hardcoded at docker container creation.  I dont want it to flip around as macs are shared with ipvlan.

Im on 6.11.5.

Will I be forced to change ?  I always worry about upgrades - I went direct to 6.11.5, so by rights, I will wait until 6.12.5 before I jump.  

  • Community Expert

I too would like to learn of this as well, as I really don't wish to remodel my entire network model when switching from macvlan to ipvlan.

Agree, another Unraid user here and I like being able to see each docker individually on reserved IPs.  A quick trial with IPvlan had the Unraid console completely confused and close to unusable for Docker listing.

15 minutes ago, vw-kombi said:

My entire system has been designed around the settings Custom br0 --LAN and therefore macvlan.

The issue seems to be somewhat hardware specific although specific problematic hardware has not been identified.  Some have zero issue with macvlan on br0 and others have issues while running the same version of Unraid.  The only differences appear to be hardware.

 

I did have macvlan call traces (started for me with Unraid 6.8.x) and I also have a Unifi LAN infrastructure.

 

The solution for me was to put all docker containers with custom IP addresses on a VLAN (br0.3).  Fortunately my Unifi USG and switches support that.  This was done before ipvlan was an option.  Even on ipvlan I do not have the issues others have reported with the Unifi gear getting confused with mac addresses. 

 

You will not be forced to switch to ipvlan if you have no problems with br0/macvlan.

  • 3 weeks later...

Hi, I too didn't had any issue with 6.11.5.

A few days ago I uograded to 6.12.3, since then I experience server crashes every day.

WebUI is inaccessible after few minutes following a restart.

My favorite ssh command actually is /etc/rc.d/rc.docker stop

So that I can get the webui back... and tune the configuration.

Documentation and feedback from users talks about switching from macvlan to ipvlan but so far the situation is the same for me.

Still digging a bit before switching back to 6.11.5. 🤷‍♂️

  • Author
  • Community Expert

I am a bit worried about this.  I like what macvlan gives me in the unifi controller.  I dont want to lose that.

I will be holding back on the 6.12.3, many people still reporting reboots on reddit.  

Pity - as the latest space invader vids on zfs are something I was lookng forward too.

 

Are there people on macvlan and 6.12 ?  is it just hardware differences causing this ? 

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.