Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem to setup two different NICs in different LANs

Featured Replies

Hello all,

 

I have a beeline eq12 with two NICs.

NIC1 is connected to my home LAN - 10.0.0.0/24

 

image.thumb.png.181495a12b4c20ca0a5815e2f2a5fb3b.png

 

NIC2 is connected to my Camera LAN - 172.16.100.0/24

image.thumb.png.ac23e5d624cd0c48e8038b50f5bbc58f.png

 

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.

image.thumb.png.06fc4ce151ad6b73e3c97248c184f999.png

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.

  • Community Expert

Try removing the gateway from eth1, only eth0 should have one set.

  • 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?

  • 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

  • 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"

 

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.