I am setting up a new server, and have installed Hyper V. I know just enough to get myself in trouble.<\/p>\n
Advertisement
I did a P-to-V conversion using the Star Winds conversion tool. I have started it up, without a network, because the system it will “replace” is active. I work for a public library. We have essentially two networks, one business, and one public. The server itself is on the business side and has a static IP of 10.1.1.X. The system I converted is actually on the public side and has an IP of 10.12.1.X. Is it possible to do this? The 10.12.1 system runs our time and print management software. It doesn’t need to be virtualized, but it would be nice. I thought about plugging in the 2nd NIC to the public side, but since this server will host another critical system that is on the business side, I did not want to risk opening things up.<\/p>\n
I am setting up a new server, and have installed Hyper V. I know just enough to get myself in trouble.<\/p>\n
I did a P-to-V conversion using the Star Winds conversion tool. I have started it up, without a network, because the system it will “replace” is active. I work for a public library. We have essentially two networks, one business, and one public. The server itself is on the business side and has a static IP of 10.1.1.X. The system I converted is actually on the public side and has an IP of 10.12.1.X. Is it possible to do this? The 10.12.1 system runs our time and print management software. It doesn’t need to be virtualized, but it would be nice. I thought about plugging in the 2nd NIC to the public side, but since this server will host another critical system that is on the business side, I did not want to risk opening things up.<\/p>\n
By default vSwitches on Hyper-V are trunks, all traffic passes.<\/p>\n
Your physical switch, connecting the port(s) from your HV server, also need to be trunks.<\/p>\n
Then you simply apply the VLAN ID to the VM and assign the corresponding IP or enable DHCP.<\/p>\n
All being well, this should be resolvable as it would be when physical.<\/p>\n
Does that cover your query?<\/p>","upvoteCount":3,"datePublished":"2024-01-30T20:23:22.000Z","url":"https://community.spiceworks.com/t/question-regarding-different-vlans-on-same-hyperv/966176/2","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
If you’re using VLANs, you can use just the one NIC interface, and assign the correct VLAN tag to the VM’s NIC in Hyper-V Manager. If you are not using VLANs and are using separate switches for the two networks, plug in a second NIC on the host to the public network. Create a new virtual switch, but DO NOT share it with the management OS. This will keep the host off of the public network, and things will be reasonably secure. You can double check by running “ipconfig /all” from the command prompt. The second NIC should not appear on the list. If you see two NICs with an IP address, that is a sign that you don’t have things correct.<\/p>","upvoteCount":2,"datePublished":"2024-01-30T21:38:20.000Z","url":"https://community.spiceworks.com/t/question-regarding-different-vlans-on-same-hyperv/966176/3","author":{"@type":"Person","name":"kevinhsieh","url":"https://community.spiceworks.com/u/kevinhsieh"}},{"@type":"Answer","text":"