May 30, 20197 yr 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.
May 30, 20197 yr 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.
May 30, 20197 yr 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 ?
May 30, 20197 yr No, the management interface is fixed to eth0 (untagged) Edited May 30, 20197 yr by bonienl
February 26, 20224 yr 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.