changint the IP address of a docker container


mbc0

Recommended Posts

Hi,

 

I have 2 LANS on my Sophos Router

LAN - 192.168.0.*

WiFI - 192.168.1.*

 

I have a couple of dockers, the most recent being Calibre that need to be on the Wifi Subnet to communicate with devices on the same subnet, what would be the best practice to resolve this issue other than plugging in a cable from the Sophos router and creating a separate br network?

 

Many thanks!

Link to comment

Without more details its hard to make recommendations, but based on what you said, you seem to have a multi NIC Unraid server.

So, the best solution is to enable VLANs (I don't know if your router supports this), and have Unraid create a vlan interface br0.x

Then configure docker to have a br0.x network and connect Calibre there.

This is practically the same as running an extra cable from the router and creating a separate br interface for the Wifi subnet.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.