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 containers accessible from both NIC's in host

Featured Replies

I have my main NIC eth0 for Unraid, SMB stuff like that. That NIC runs on the primary network, 200.x.

 

I also have a second NIC eth1 in the server that I had purposed for Docker containers which runs on a different network, 202.x

 

I have been fighting with my Unifi controller reporting multiple clients with the same IP and other nonsense and have a ticket open with them but I happened across something, just now. Docker containers that are on the bridge network are accessible from both NIC's!

 

But in the network settings eth0 is the only member of br0. And eth1 is not bridged at all.

 

 

  • Author

I've been playing around with this trying to figure out what's going on and it doesn't make sense to me....yet.

 

I turned off bridging on both nic's and reassigned containers to networks. Either the default bridge or host.

 

As before, all containers on the host network (eth0) can still be accessed from the IP address assigned to eth1 using their mapped port numbers.

 

I then enabled bridging on eth1 (only) and again, assigned networks to containers. STILL, all host (eth0) containers can be access by the eth1 IP address.

 

 

sidenote: Why is the br1 listed in the Docker networks using the IPVLan driver when it is supposed to be a bridge network?

 

root@KNOXX:~# docker network ls
NETWORK ID     NAME      DRIVER    SCOPE
a84669bab87f   br1       ipvlan    local
11f039ac639f   bridge    bridge    local
f41bc922a522   host      host      local
e540bdf2755b   none      null      local

  • Author

image.thumb.png.a974aa694b018812682ec8c5c3fc0a2f.png

 

image.thumb.png.2b70d5847e53f4794aea7da9de6e35ab.png

  • Author

image.thumb.png.0f5943d0de37e1927aac964b412e76a9.png

 

image.png.a7c15fbd7e2c6b5c541e6ee51bfb5dee.png

  • Author

image.png.d93e50fcfe1dbdc4b40bd9b776074d41.png

 

image.png.8c2d1f8ae43ba2d9b5acf0c0341c1dab.png

  • Community Expert

Makes sense that containers on host network would be reachable from any interface the host is reachable through.

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.