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.

Docker Containter: Network Type drop down box only shows one nic and not the second one

Featured Replies

Hi Everyone

 

I have a 4-port intel network card in my system and Version 6.7.2 of Unraid.

Unraid finds the intel card and sees eth0 to eth4, I have allocated eth0 to the Unraid server and have no problems assessing it

I have also configured in the network setting for eth1 and eth3 as well as in the docker setting " IPv4 custom network on interface".

 

Network Setting:

Enable bonding:No

Enable bridging:No

Network protocol:IPv4 Only

IPv4 address assignment:None

Desired MTU:1500

Enable VLANs:No

 

Docker Setting:

IPv4 custom network on interface eth1.  Subnet: 192.168.1.1/24 Gateway:192.168.1.1

IPv4 custom network on interface eth2. Subnet: 192.168.1.1/24 Gateway:192.168.1.1

 

What I would like to do is give each docker container its own nic and address to use.

 

The problem I am having is when I choose the Network Type in the drop-down box of the docker it only shows one nic and not the second one as well

 

E.g. If both are ticked in the docker settings, you will only see the eth1 and not eth3 in the Network Type in the drop-down box of the docker, but if you untick eth1 in the docker settings and restart the docker it will then only show you in Network Type drop-down box of the docker eth3.

 

I have been reading for days in the Unraid forum trying to find a fix, but I need to ask for your help.

 

As you can see Unraid docker does not see eth3 nic it only show you one at a time not both.

 

root@mediaserver:~# docker network ls

NETWORK ID          NAME                DRIVER              SCOPE

e5feef96fba9        bridge              bridge                  local

9afa905df873       eth1                 macvlan               local

d54734810d72      host                 host                    local

4a747d181b01        none                null                     local

 

 

Any helpful advice would be appreciated.  Thanks in advance!

Docker will not allow the same IP address and same gateway twice.

This means for eth2 you need to enter a different IP address as given to eth1.

Also eth2 needs a different gateway address as eth1. To make this different gateway work, you will need to a secondary address to your router.

If your router does not support secondary addresses, an alternative is to use a different subnet all together on eth2, but this requires your router to support additional subnets on the same LAN interface, or different subnets on different LAN interfaces.

 

Archived

This topic is now archived and is closed to further replies.

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.