Jump to content

caldegräl

Members
  • Posts

    1
  • Joined

  • Last visited

caldegräl's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Chiming in because i was just looking for the same thing and got solution. Unraid docker uses ipvlan for bridging and if you want to set things up so that Unraid respects your choices, you should follow whatever Unraid does. First thing to do is - check how Unraid configures docker ~# docker network inspect br0 [ { "Name": "br0", "Id": "...", "Created": "...", "Scope": "local", "Driver": "ipvlan", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": {}, "Config": [ { "Subnet": "192.168.1.0/24", "Gateway": "192.168.1.1", "AuxiliaryAddresses": { "server": "192.168.1.3" } } ] }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": { }, "Options": { "parent": "br0" }, "Labels": {} } ] This tells us a few very important config parameters, among which you will find the network type (ipvlan), "wiring", driver and other stuff. from here it was a matter of simply doing: ~# docker network create -d ipvlan --subnet=192.168.16.0/24 --gateway=192.168.16.1 --aux-address=server=192.168.16.100 -o parent=br1 br1 --scope=local 6b8081041456c806253dbdfcbb1c1c074aa936d7046176312fc8b7d0cba12f55 I did not try to alter anything about how Unraid sets things up or how it names things, but just as I created that network, I was greeted with a new option in my container settings: "Custom : br1 - Aux"
×
×
  • Create New...