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.

How to listen to IPv6 on Bridge network?

Featured Replies

I like to run a container in the "bridge" network while listening to IPv6 traffic. I found this answer, so I tried the following, but it does not work:

image.png.0a34d2da1d7ba831a61681f16cf109e6.png

 

It works only if I use the "host" network or if I set a fixed IPv6 through the "br0" network.

 

I even tried the example in the comments, but it doesn't work, too:

image.png.411c20ba6757cc431f02abf570a5a39f.png

 

IPv6 works on the host as expected:

image.png.d316dec078c7a24a0133a7734ff37836.png

 

 

 

  • Author

Ok, IPv6 is disabled for the "bridge" network:

 

docker network inspect bridge[
    {
        "Name": "bridge",
        "Id": "0621a44885d45ecf2d614375b8b77f4a2b2197d16aa6d0332207efb758ca44d4",
        "Created": "2021-07-01T23:15:29.325813611+02:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "172.17.0.0/16",
                    "Gateway": "172.17.0.1"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {},
        "Options": {
            "com.docker.network.bridge.default_bridge": "true",
            "com.docker.network.bridge.enable_icc": "true",
            "com.docker.network.bridge.enable_ip_masquerade": "true",
            "com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
            "com.docker.network.bridge.name": "docker0",
            "com.docker.network.driver.mtu": "1500"
        },
        "Labels": {}
    }
]

 

 

After creating /etc/docker/daemon.json with the following content:

{
  "ipv6": true,
  "fixed-cidr-v6": "2002:ac11:0000::/48"
}

 

And restarting docker, the "bridge" network supports ipv6:

docker network inspect bridge
[
    {
        "Name": "bridge",
        "Id": "7808c2176e7ad3d54867e8b96f90f4fd86597079f7abd0290fdc272746c66130",
        "Created": "2021-07-02T08:24:29.197496024+02:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": true,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "172.17.0.0/16",
                    "Gateway": "172.17.0.1"
                },
                {
                    "Subnet": "2002:ac11::/48"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "5b183a12fd4b6209084439415c163fbc33511922876c0ae124a715c8e27ccf5d": {
                "Name": "npm",
                "EndpointID": "602b22bf2741cbfc00e1356975034947bfae33dafab5a17021bae37b150ca155",
                "MacAddress": "02:42:ac:11:00:02",
                "IPv4Address": "172.17.0.2/16",
                "IPv6Address": "2002:ac11::242:ac11:2/48"
            }
        },
        "Options": {
            "com.docker.network.bridge.default_bridge": "true",
            "com.docker.network.bridge.enable_icc": "true",
            "com.docker.network.bridge.enable_ip_masquerade": "true",
            "com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
            "com.docker.network.bridge.name": "docker0",
            "com.docker.network.driver.mtu": "1500"
        },
        "Labels": {}
    }
]

 

But there is still something wrong as my npm container is able to connect IPv6 addresses, but it seems, it is not able to resolve IPv6 domains:

439080757_2021-07-0208_34_59.png.0cc3cd239e2e9feaa64356dac99ca8e9.png

 

EDIT: Ok, this is strange. Although I disabled IPv6 for the bridge network, the NPM container is still able to connect through IPv6?!

image.png.576af804f576c203d62ca320c0f440fd.png

 

 

 

14 minutes ago, mgutt said:

Ok, IPv6 is disabled for the "bridge" network:

 

It is disabled because it interferes with the IPv6 networking of Unraid itself.

 

If you want to use IPv6, it is available for custom networks.

 

  • 1 year later...

How do I enable ipv6 for a custom docker bridge network that I have already created ?

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.