[6.9.1] Docker Containers have no Internet access


Recommended Posts

Hello everyone,

I recently recognized that none of my Dockers within a special Network have connection to the Internet, but I can access them through their IP-Adress (Web-Interface, Ping, etc.). I can ensure that the Router-Firewall is not the problem, because virtual machines and dedicated hosts have no problem connecting to the network or the Internet. 

My Docker Containers have a Static IP-Adress on a VLAN I passed to Unraid.

 

Unraid Network Config:

eth0: LAN:    10.1.0.0/16,  Gateway: 10.1.0.1,  Unraid-Server: 10.1.4.1
eth0: VLAN69: 10.10.0.1/24, Gateway: 10.10.0.1, Unraid-Server: 10.10.0.9

 

All Dockers related to this Problem have addresses in the VLAN69 Network
For example: 

Speedtest-Tracker: 10.10.0.40
jellyfin:          10.10.0.17



The Problem:
Speedtest-Tracker can ping jellyfin and vice versa, but neither can ping the gateway, the Unraid-Server or have internet access.
The Gateway can Ping both. 

Everything worked fine till I recently recognized the Issue.

Here you can see my routing table:
image.thumb.png.c9d6913ca1e9709667a57493fcdb2f74.png

 

 

I am glad for any idea what can cause this problem, or ideas how to further investigate this.


MaZe

Link to comment
  • 1 year later...

Hi !

I got a similar issue, but with 2 NIC connected, no VLAN, and both had their default gateway filled so 2 default route.
I've only removed the Default Gateway on the 2nd nic (no internet on that one), restarted all Docker, all of them got internet connexion back.

On your side, I think you are using VLAN. Are you sure that the network 10.10.0.0/24 or 10.1.0.0/16 can reach internet ?

Hope it's help a little bit your issue...

 

KR,

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.