VMs on VLANs going through same NIC

aphmatt

Cadet
Joined
Sep 14, 2017
Messages
5
i'm running freenas 11.1 u5

here is what i want to setup:

VLAN70: ERX --> es-24-lite --> freenasVM1
VLAN80: ERX --> es-24-lite --> freenasVM2
VLAN90: ERX --> es-24-lite --> freenasVM3
etc...

  • ERX will supply DHCP for each VLAN (VLAN70: 10.1.70.x, VLAN80: 10.1.80.x, etc)
  • both will come through the igb1 port on freenas

I currently have VLAN70 scenario up and running and all is fine. I have the vlan setup on the erx and es-24 and life is good. VLAN70 VM (freenasVM1) is getting an address from the ERX. Can get to internet. thumbs up.

Now, I want to add VLAN80. 1st problem is I can't create the VLAN on es-24 using the same port as VLAN70 (which is where the erx is connected). Second, if this problem gets solved I can't see how to connect the VM to correct VLAN in freenas.

In freenas the only way i could see to let the VM know about the VLAN is to create the VLAN under networking and connecting it to igb1 but when I add the NIC device to the VM, the VLAN70 (in this case) isn't an option.

I'm very new to all this (as if you couldn't tell) and I'm probably attacking this from the wrong direction but any help/references would be much appreciated.

Thanks,

matt


**UPDATE** upgrading to 11.2-RELEASE-U1 fixed the issue as was suggested below.
 
Last edited:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Virtualization in FreeNAS is still fairly new and very much a work in progress. It may not be advanced enough to do what you are asking.
I hope that others will provide further guidance for you, but based on waht I have tried to do, I don't think what you are asking is possible.
Don't take that as definitive though, because things change often and I may not have the latest information.
 

aphmatt

Cadet
Joined
Sep 14, 2017
Messages
5
i updated the main post - updating to 11.2-RELEASE-U1 has fixed the issue and now i can select the VLAN on the NIC device and the VMs are now being served appropriate DHCP based on vlan.

Thanks for the replies and the guidance Chris and thulle. It's good to know that occasionally it isn't just that I'm ignorant but just a bug. :)
 

ezra

Contributor
Joined
Jan 15, 2015
Messages
124
i updated the main post - updating to 11.2-RELEASE-U1 has fixed the issue and now i can select the VLAN on the NIC device and the VMs are now being served appropriate DHCP based on vlan.

Thanks for the replies and the guidance Chris and thulle. It's good to know that occasionally it isn't just that I'm ignorant but just a bug. :)

Did you do anything else then select the VLAN in NIC settings @ the VM? Cant seem to get a DHCP offer through
 
Top