Using Jailmaker with LAGG network

SCALE

Hi, hopefully someone has encountered this problem, but given the news I thought I would start the move away from truecharts and followed the video on setting up Jailmaker. I managed to install it no problems but when starting to create the docker template it only has bridge or network. But I have my truenas scale instance configured to use link aggregation and can't figure out how to make it docker jail install. Can anyone help with this or know the answer?

Posted Jun 2, 2024, 9:07 AM UTC

19
nocsi•
  1. LACP Bond (bond0)
  2. Bridge Atop LACP Bond (br0)

Pass bridge (br0) to systemd-nspawn. You wouldn’t want to pass the LACP bond directly to anything, since the forwarding would get screwed up.

2
zeblods•

I use that argument:

--network-macvlan=bond0

and it works, I have a different IP from TrueNAS on the LACP bond.

1
random1planetOP•

Thanks, I have tried that although mine is called bond1, but it has the same IP as truenas itself and has the all of network interfaces are in the LAGG. How is your LAGG configured, anything special I have maybe missed in the truenas config?

1
zeblods•

I have a manual IP set on both TrueNAS and the jail.

Maybe you have the same IP because they share the same MAC address.

1
random1planetOP•

I will check later and see if I can specify a different IP, it's static on the LAGG. But just left it setup as DHCP in the jail setup.

1
random1planetOP•

Which protocol are you using in the truenas bond config, mine is set to lacp. And despite multiple attempts I can get the jail to run and says not allowed in the logs for bond1

1
zeblods•

I use LACP as well, layer 2+3 with a SLOW rate. DHCP disabled, and an alias on my LAN 192.169.1.253/24.

1
random1planetOP•

Once I knew what the correct option was, I went through the logs further and discovered it was due to a file size limit and I had to run a command to increase it. So managed to install docker. However hit another road block as dockge won't install now as it says it doesn't have access to the shares even through the permissions are correct on the folder and the create and copy file test worked without any issues. Things never seem to go like the videos!

1