Docker bridge network containers can't reach out containers on br1


ztywyj

Recommended Posts

I have two network interfaces, and unraid set two macvlan for me, one br0 and one br1, my docker setting is like this:

image.thumb.jpeg.6a3a781616eb6aad2b6f424ade4d9724.jpeg

br0 : subnet 192.168.0.0/24 gateway 192.168.0.2 ip-range 192.168.0.0/25

br1 : subnet 192.168.0.0/24 gateway 192.168.0.1 ip-range 192.168.0.128/25

 

They have two different gateways so I can controll which container goes which gateway.

But then I have a problem, containers on bridge network can access my containers on br0, but not on br1

image.jpeg.eb5b74c98d332aada144c812dab57fdd.jpeg

If I set network type to host then everything is fine, but I don't want to do it.

Anyone knows what's going on? Am I doing something wrong?

 

Btw my unraid ip is 192.168.0.98.

Link to comment
  • 2 weeks later...

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.