August 18, 20241 yr Hello all, I have a beeline eq12 with two NICs. NIC1 is connected to my home LAN - 10.0.0.0/24 NIC2 is connected to my Camera LAN - 172.16.100.0/24 I disabled for both NICs the "bridging" feature. I had som DNS problems and that containers which were running in host mode could not be resolved by each other. Very strange. Also the routing seems to be a littlebit wrong. There are two default routes. This leads to problems, because sometimes the answers of my Unraid do not arrive if a device tries to connect to Unraid which only has access to one of those two subnets. So my questions: What would you recommend? How should I setup the interfaces? Is it okay to disable the "bridging" feature? I can still use bridge mode in Docker. Thanks for help.
August 18, 20241 yr Community Expert Try removing the gateway from eth1, only eth0 should have one set.
August 18, 20241 yr Author 1 hour ago, JorgeB said: Try removing the gateway from eth1, only eth0 should have one set. Yes, thanks, that is a good workaround. But after every reboot, the gateway is back. any idea for a longterm solution?
August 18, 20241 yr Community Expert 24 minutes ago, Twix said: But after every reboot, the gateway is back That should not happen, Unraid doesn't set a gateway automatically, post the output of: cat /boot/config/network.cfg
August 18, 20241 yr Author I think I now found a workaround. I have set the settings for eth1 to static instead of dhcp and left out the gateway. So, after my changes to static, here are the settings of network.cfg. Quote # Generated settings: IFNAME[0]="br0" DHCP_KEEPRESOLV="no" DHCP6_KEEPRESOLV="no" BRNAME[0]="br0" BRNICS[0]="eth0" BRSTP[0]="no" BRFD[0]="0" DESCRIPTION[0]="LAN" PROTOCOL[0]="ipv4" USE_DHCP[0]="yes" USE_DHCP6[0]="yes" IFNAME[1]="br1" BRNAME[1]="br1" BRSTP[1]="no" BRFD[1]="0" DESCRIPTION[1]="N100-IoT-Static" BRNICS[1]="eth1" PROTOCOL[1]="ipv4" USE_DHCP[1]="no" IPADDR[1]="172.16.100.100" NETMASK[1]="255.255.255.0" SYSNICS="2"
August 18, 20241 yr Community Expert 22 minutes ago, Twix said: I have set the settings for eth1 to static instead of dhcp and left out the gateway. Yeah, that should do it, didn't notice, or even consider, that you could be using DHCP for the 2nd NIC.
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.