pkun Posted April 29, 2023 Share Posted April 29, 2023 I first plug my unRAID machine into the router and the router's DHCP assigns it 10.0.0.6. In my router configuration portal, indeed I see that my machine is assigned 10.0.0.6 in the attached devices list. Running some containers in bridge mode and configuring port mappings allow me to access the containers' services through the LAN using 10.0.0.6:<port>. For example, Jellyfin is accessible through 10.0.0.6:8096. Now, I add another container (pihole) and configure this to run on the custom network br0, assigning it a static IP address of 10.0.0.24. If I then check the attached devices list on my router configuration page, I see that my unRAID machine is now assigned 10.0.0.24, and yet Jellyfin is still accessible through 10.0.0.6:8096! How is this possible if as far as the router is concerned, there is no device with an IP address of 10.0.0.6? *Router model: NETGEAR WAX204 Quote Link to comment
Solution Vr2Io Posted April 30, 2023 Solution Share Posted April 30, 2023 (edited) Because docker network have IPVLAN and MACVLAN mode, in IPVLAN mode, all containers use same MAC address ( real interfaces's MAC address ). Most consumer network equipment will list / count device by MAC address ones only, so you will got either one of IP's with same MAC address instead same MAC address with different IP. Edited April 30, 2023 by Vr2Io Quote Link to comment
Recommended Posts
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.