Jump to content

Network Settings problems


Recommended Posts

I have 5xNIC, but I only use three of them.

 

eth0 (DOCKER-LAN)

IP: 100.46.0.10

GW: 100.46.0.1

 

eth1 (LAN)

IP: 100.64.0.10

GW: 100.64.0.1

 

eth2 (VPN)

IP: 46.64.0.10

GW: 46.64.0.1

 

eth3 & eth4 are inactive.

 

Unraid created routing table:

 

ROUTE                GATEWAY                 METRIC

default                46.64.0.1 via br2       1010

default                100.64.0.1 via br1      1011

default                100.46.0.1 via br0     1012

100.46.0.1/24       br0                          1012

100.64.0.1/24       br1                           1011

46.64.0.1/24         br2                          1010

 

cat /etc/resolv.conf
# Generated by dhcpcd from br0.dhcp
domain xxx.com
nameserver 100.46.0.1

 

Settings - Docker (advanced)

IPv4 custom network on interface br0:

Subnet: 100.46.0.0/24 Gateway: 100.46.0.1 DHCP pool: not set

IPv4 custom network on interface br1:

Subnet: 100.64.0.0/24 Gateway: 100.64.0.1 DHCP pool: not set

IPv4 custom network on interface br2:

Subnet: 46.64.0.0/24 Gateway: 46.64.0.1 DHCP pool: not set

 

 

Problem is that with these network settings APPS does not work. Not even ping google.com does not work. I can fix this problem temporarily by removing 100.46.0.1/24 br0 1012 from routing table and modifying /etc/resolv.conf -> nameserver 100.64.0.1. With these modification everything works fine for a while, but soon UNRAID change everything back.

 

I only have couple of docker that uses VPN, all other docker's use DOCKER-LAN. Unraid should use LAN for updating, apps, etc.

 

 

 

Link to comment

your mistake is that you have assigned a gateway to every card.

Unless you have really 3 seperate internect connections, this is wrong.

Only the "real" card (which contains the router to the internet) should have the router's address stored as "default gateway".

 

There are implicit automatically generated routes to the other card's nets. You need to add these routes to other machines and your default router to make them accessible from inside and outside (if wanted)

 

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.

×
×
  • Create New...