Avatar of Chris Millard
Chris Millard
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Hyper-V Guest (Linux) on seperate VLAN

I am running Server 2012 Datacenter on a 2-node cluster. I have a few Hyper-V guests running successfully.

We have 3 VLANs in place:-

VLAN1 is used by all staff devices (PCs, tablets, phones etc), with DHCP being issued by a Hyper-V guest also running Server 2012 Datacenter
VLAN300 is for Customer PCs only (connected via LAN cable) - IPs are allocated by a Watchguard Firebox XTM515, and are in the range 192.168.101.x
VLAN200 is for Customer Wi-Fi - IPs are (currently) allocated by the same Watchguard Firebox, and are in the range 192.168.100.x. Anyone who connects to VLAN200 has to authenticate, and this authentication is handled between the Firebox and an Ubuntu Linux box running Apache and Python. The Firebox passes some data to a python script which then passes control back to the Firebox.

There are a total of 13 Watchguard AP200 units on the physical network handling both VLAN1 and VLAN200

We have intermittent issues with VLAN200 where it suddenly gives up on allocating IP addresses even though the pool still should have plenty to give out. The resolution is to reboot the Firebox (and sometime the connected APs too)

We've had technical support with Watchguard, and they have said that there is a problem with the Firebox handling DHCP on a VLAN Wi-Fi. This has been ongoing for at least a couple of years, so far with no fix.

All of the VLANs, for the majority of time, work well.

However, what I want to do is virtualise the Linux unit so that it runs as a Hyper-V guest but on VLAN300 and this is where my problem lies.

I have the Hyper-V Linux guest installed and I have enabled the VLAN Identification and set it to 300, but it will not communicate with anything on the same VLAN. The ports on the Netgear GS752TPS switch that the 2 Hyper-V hosts connect to have been configured as trunk ports for VLAN300.

I need to get this running so that I can eventually install DHCP services on this Linux box to take the function away from the Firebox.
Hyper-VSwitches / HubsLinux

Avatar of undefined
Last Comment
Chris Millard

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kevinhsieh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Chris Millard

ASKER
I'm not familiar with VLANs on Hyper-Vs at all, and all I have done is enable VLAN Identification through the settings section of the Hyper-V guest, and have put the VLAN ID of 300 in there.

The physical switch port that the host connects to has been set as a trunk port for VLAN 300 traffic.
SOLUTION
kevinhsieh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Chris Millard

ASKER
Just as a follow up, I have tried doing the same with a test Windows Hyper-V guest (just setting the VLAN ID to 300) and it doesn't seem ti get any network connectivity either.

The physical switch port (on the NetGear GS752TPS) has it's PVID set to 1, and is untagged for VLAN 1. I have tried with untagged and trunked options for VLAN 300, but neither seem to be working for me.
Chris Millard

ASKER
OK, I don't know what to say here. I've just set the port back to trunked mode again and this time, both my Linux and and Windows guests are now working on the VLAN.

I'm stumped as to why it has only worked now.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Chris Millard

ASKER
Thanks for all of your help.