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.

vlan only eth interface for unraid

Featured Replies

Hi guys,

 

what's the proper settings of parent eth0 interface when I want to use it in trunk mode but only with tagged vlans ?

There's no option to set it as 'none'. Only automatic and static. With automatic settings unraid is not getting an ip (which is understandable as there's no network configured, nor dhcp).

 

I'm running pfsense in vm with 2 nics passthrough (wan + lan interface configured vlans only, parent interface is not set, this is recommended configuration for the interface with vlans) serving as router/fw for my network (including unraid).

 

Thanks for your input.

Eth0 is the management interface of Unraid and must have an IP address.

You can enable VLANs and assign per VLAN to use an IP address or not.

  • Author

I've already vlans configured and used with unraid.

What I would like to do is assign tagged 'management vlan' serving as unraid's ip address. Is this possible ?

 

No, the management interface is fixed to eth0 (untagged)

Edited by bonienl

  • 2 years later...

Well, there is a way to do that, but I assume you have to edit /boot/config/network.cfg for that.

What I do is the following:
IFNAME[0]="eth0"
PROTOCOL[0]="ipv4"
USE_DHCP[0]="no"
DHCP_KEEPRESOLV="yes"
DNS_SERVER1="192.168.1.1"
USE_DHCP6[0]="no"
DHCP6_KEEPRESOLV="no"
DESCRIPTION[0,1]="eth0.1 - Data VLAN"
VLANID[0,1]="1"
PROTOCOL[0,1]="ipv4"
USE_DHCP[0,1]="yes"
DESCRIPTION[0,2]="eth0.10 - Data VLAN"
VLANID[0,2]="10"
PROTOCOL[0,2]="ipv4"
USE_DHCP[0,2]="no"
IPADDR[0,2]="192.168.10.11"
NETMASK[0,2]="255.255.255.0"
DESCRIPTION[0,3]="eth0.20 - Data VLAN"
VLANID[0,3]="20"
PROTOCOL[0,3]="ipv4"
DESCRIPTION[0,4]="eth0.4094 - Data VLAN"
VLANID[0,4]="4094"
PROTOCOL[0,4]="ipv4"
USE_DHCP[0,4]="no"
IPADDR[0,4]="192.168.255.11"
NETMASK[0,4]="255.255.255.0"
VLANS[0]="5"
SYSNICS="1"

 

However, this results in my date and time to run off after a while, unless I adapt and /etc/rc.d/rc.ntpd manually.

The line in the ntpd_start() procedure that defines what interface to use (ETH=eth0)  is changed to: ETH=eth0.1.

 

This file however gets overwritten each time there is a reboot, so that's a bummer.

 

At least I hope this helps to some of us, as I don't like to see untagged traffic on a link that should behave as a trunk link.

 

I hope this helps at least to some of us hanging out in the fora here 🙂

 

Marc






 

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.