bonienl

Community Developer
  • Posts

    10233
  • Joined

  • Last visited

  • Days Won

    65

Report Comments posted by bonienl

  1. 7 hours ago, isvein said:

    ... the docker implementation on Unraid is not meant to work with custom networks with custom subnets

     

    Unraid is not involved in custom networks created by the user, it is however managing macvlan / ipvlan custom networks.

     

    When you create your own custom networks using docker CLI, it is your own responsiblity to do the correct creation of such a network.

     

  2. Make sure the default route for your main interrface eth0 is first choice by giving it a metric value of 1

    Next, you need to give higher metric values to the default routes configured on your VLAN interfaces or when no default route is needed for these VLAN interfaces, set the metric to 0.

     

    In your current setup system replies may follow different paths, which leads to routing/firewall issues.

     

  3. 2 hours ago, L0rdRaiden said:

    I have some macvlan errors but no crashes so far. With 6.11 everything was fine.

     

    Regarding the fix by disable bridging, is that even an option? if I disable bridging how can I give an static IP to every docker?

     

    Sure it is an option if you are NOT using VMs.

    When bridge is disabled you need to use the regular interfaces, like eth0 (see docker settings).

    Assignment of static IP addresses needs to be redone for the new interface(s) for each container, but works as before.

     

    • Thanks 1
  4. 2 hours ago, JorgeB said:

    If yes and since it's not the number of cores if might be worth trying with a new Unraid install to rule out any config issues,

     

    I created the plugin "Dynamix Factory Reset" to start the system as new, it preserves the license key and optionally the array and pools.

     

    Backup your configuration first when you want to restore it afterwards.

     

    • Like 2
  5. 7 hours ago, emb531 said:

    I can do this, but why is it happening in the first place?  Did something change with Avahi that it restarts every hour now?

     

    You are using automatic IP assignment (DHCP) with a lease time of 2 hours, this means that after 1 hour DHCP will do a renewal, which avahi sees as a restart.

     

    You can make the DHCP lease time longer, e.g. one or more days.

     

  6. @alturismo would you mind to do another test?

     

    I made an update to the script we use to initialize the network (see attachment). I don't know if the solution will work and need some testing.

    To this test do the following

    • Stop docker and vm services
    • Copy the file rc.inet1 to folder /etc/rc.d
    • Make the file executable: chmod +x /etc/rc.d/rc.inet1
    • Reconfigure your eth0 interface and enable bridging again (this triggers a config update with new setting)
    • Start docker service
    • Reconfigure your container to use macvlan br0 instead of eth0
    • Run your test

     

    Thanks

     

    rc.inet1

    • Like 1
  7. 1 minute ago, alturismo said:

    ok, for now its looking good after a few minutes, usually the 1st error comes after a few seconds when i put some load on the interface ... so for now, looks like your suspicion could be correct ;)

     

    Thank you for testing, this certainly help us pinpoint the problem.

     

    1 minute ago, alturismo said:

    may i ask what the downside is with this setup ? (not using a bridge)

     

    Bridge function is required when using VMs.

     

    • Thanks 1