Recommended Posts

I'm not 100% about the set up here. That's the whole idea, I'm trying to learn how to set this up correctly, but I'm stuck.

http://i.imgur.com/AjTid9f.png

Basically, everything within the Hyper-V network can see DHCP. But a physical client cannot. It gets an APIPA address. If I gave the laptop a manual IP, there's no problem.

Hyper-v is set up with the virtual switch bound to the 2nd NIC (192.168.0.201)

DHCP is bound to 192.168.0.80

I did have a 2nd NIC in the DHCP VM (192.168.0.81) but didn't help.

My tech PC can ping everything (except the laptop)

The Hyer-V Sever NIC's are set up so: http://i.imgur.com/F4yxMj4.png (with and without gateway set on 'vSwitch')

All windows firewalls are disabled.

Any advise on what I'm doing wrong?

Link to comment
https://www.neowin.net/forum/topic/1154966-hyper-v-dhcp-issues-fixed/
Share on other sites

  On 27/05/2013 at 21:28, Shaun said:

Why have you set the dns server to be home?

On which NIC?

  On 27/05/2013 at 21:27, Riva said:

Its not that they don't listen to it but they will prefer the DHCP server in your router. Perhaps disable that or set your network adapter properties to point to your custom DHCP server.

DHCP on Router is turned off.

A single NIC is sufficient for the VM.

I have few questions before I can provide solution.

What version of Hyper-V are you using ? If not sure version of OS should be ok too.

Have you enabled DHCP guard for any of your VM's ?

How many physical NIC's do you have on the Hyper-V server ?

What is the connection type of virtual switch, External, Internal or Private ?

is the laptop Wireless or Wired? Did you isolate the 201 nic work card for only Virtual Machines.

I have my Virtual Machines running on one card, and this is isolated for only virtual machines. Go to your virtual NIC and untick the box "All Management operating system to share this network adapter" This will remove any IP address on the card and only VMs will run the though it

Make sure you have this Virtual NIC setup as a External Network.

Turn off "Allow management operating system to share this adapter" for NIC-2 & do not set VLAN tagging on the virtual switch if your physical switch is unmanaged (unless you want to isolate your virtual switch/machines from the rest of your physical network).

Restart DHCP service.

What Aergan said above should do it. The NIC that the Hyper-V uses shouldn't be shared (well it can be but I just dedicate it to Hyper-V)

The virtual switch usually doesn't have an IP as it's a dumb switch.

Can the VM get online to the gateway (router)? If not then other machines can't see it because it's not connected to the physical 8 port switch (or the other way around, the switch doesn't know about the VM so it wont route anything to it). - Nevermind since you said your Tech PC can ping the VMs.

  On 28/05/2013 at 01:04, Shaun said:

left and right image

http://i.imgur.com/F4yxMj4.png

Wait, you have the DHCP VM pointing to itself for DNS, but it doesn't have DNS I thought? I'd guess that's prolly why since the real DNS (0.200) doesn't know about it? You have to register the connection in the DNS list.

Do a ipconfig /registerDNS on the DHCP server and then the laptop will be able to find it and just change the NIC settings of the DHCP VM (0.201) to point to 192.168.0.200 in it's DNS settings.

  On 27/05/2013 at 21:45, StarkWiz said:

A single NIC is sufficient for the VM.

I have few questions before I can provide solution.

What version of Hyper-V are you using ? If not sure version of OS should be ok too.

Have you enabled DHCP guard for any of your VM's ?

How many physical NIC's do you have on the Hyper-V server ?

What is the connection type of virtual switch, External, Internal or Private ?

Hyper-V 3.0 on Server 2012.

DHCP Guard is off

2 Physical NICs on Server

VirtualSwitch set to External

  On 27/05/2013 at 23:02, Aergan said:

Turn off "Allow management operating system to share this adapter" for NIC-2 & do not set VLAN tagging on the virtual switch if your physical switch is unmanaged (unless you want to isolate your virtual switch/machines from the rest of your physical network).

Restart DHCP service.

I've now turned that off. Now I can only see the 2 nics on the physical server.

NIC1: http://i.imgur.com/vxD5j5L.png

NIC2: http://i.imgur.com/rRuIuUK.png

VSwitch Setup: http://i.imgur.com/39OhmEn.png

  On 28/05/2013 at 01:23, SHoTTa35 said:

What Aergan said above should do it. The NIC that the Hyper-V uses shouldn't be shared (well it can be but I just dedicate it to Hyper-V)

The virtual switch usually doesn't have an IP as it's a dumb switch.

Can the VM get online to the gateway (router)? If not then other machines can't see it because it's not connected to the physical 8 port switch (or the other way around, the switch doesn't know about the VM so it wont route anything to it). - Nevermind since you said your Tech PC can ping the VMs.

Wait, you have the DHCP VM pointing to itself for DNS, but it doesn't have DNS I thought? I'd guess that's prolly why since the real DNS (0.200) doesn't know about it? You have to register the connection in the DNS list.

Do a ipconfig /registerDNS on the DHCP server and then the laptop will be able to find it and just change the NIC settings of the DHCP VM (0.201) to point to 192.168.0.200 in it's DNS settings.

The DHCP VM NIC is pointing back to 0.200 for DNS

http://i.imgur.com/2rxrUJT.png

I think your virtual switch configuration is broken.

I would like you to delete all existing virtual switches in Hyper-V.

You might need to change the NIC status on vm's to not connected until you create new virtual switch.

Did you tick Hyper-V Extensible virtual switch option manually on the NIC's ? If so, please untick that once you have deleted all the virtual switches.

Create a new virtual switch with connection type as "External Network" and bind it to Physical NIC 2 on the server.

Also, turn off "Allow management operating system to share this adapter". Turning off is not necessary though, the DHCP server VM should be able to assign IP to this NIC on your host automatically as well.

Then assign the new virtual switch to the vm's.

Make sure that DHCP scope is assigned on the interface correctly.

Right! Got it fixed!

I've no idea what I had set before, but I can only assume I had configured DNS on my Switch to something unintelligible.

I reset the switch to factory defaults (then had to use fing on my mobile to find out what new IP it had after rebooting) and DHCP was working (and the switch had the 1st IP in the DHCP Scope)

And then all other clients picked up IP's

I am one happy chappy

  • 4 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • SVE: easy video editor for trimming and cropping by Razvan Serea SVE SimpleVideoEditor is a lightweight, open-source video editor designed with simplicity and speed in mind. Built using Python and featuring a clean graphical user interface, it allows users to perform essential video editing tasks without the complexity of professional software. The tool supports trimming clips, cropping video frames, and extracting audio from video files, making it perfect for quick edits and basic media tasks. Its intuitive design ensures that even beginners can navigate and use it effectively without a steep learning curve. SVE SimpleVideoEditor doesn’t require heavy system resources or complicated installation steps, making it accessible on a wide range of systems. Ideal for casual users or anyone looking for a minimal yet functional editing tool, it offers a straightforward experience focused on getting the job done with minimal hassle. While more advanced tools like Shotcut offer extensive editing features and LosslessCut excels in ultra-fast, lossless trimming, SVE stands out for its simplicity and ease of use. Download: SimpleVideoEditor v2025.06.29 | 87.7 MB (Open Source) Links: SimpleVideoEditor Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • UPDF Pro lifetime subscription now 60% off by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can save 60% on a lifetime subscription to UPDF Pro. UPDF allows you to edit any document across Windows, Mac OS X, iOS, and Android devices. You can add or delete texts and edit their font, color, and size. You can add, crop, rotate, replace, extract or delete images as well as links and watermarks in PDF documents. You can also protect your PDF documents by adding an open password and permission password for restricting access to the document. With UPDF you can also quickly highlight, underline or strike out text or add shapes like sticky notes to PDF files. You can even delete pages quickly or rearrange them to suit your needs. You can convert any PDF to Word, Excel, Powerpoint... whatever you want... you name it! And it's all just a mouse click away! View PDF Set Page Layouts. View your documents in a single-page view, two-page view, scrolling, or two-page scrolling Dark Mode. Enhance the reading experience without putting up pressure on the user's eyes Sail Through Your PDF Documents Add bookmarks to your PDF Search for specific text across them in UPDF while viewing documents Read your eBooks without putting yourself in the difficulty of accessing data in the middle of the documents Multi-Tab View Ability. Set up multiple tabs across UPDF to view PDFs in a single instant Slideshows. Read your PDF better in slideshow view & avoid from tampering its format Annotate PDF Add Comments. Make comments in PDF documents, highlight, underline, or strikeout text, add text boxes & sticky notes Add Stamps & Stickers Add up to 100+ different kinds of stamps & stickers to your PDF Create a custom stamp to any section of the document Add Signatures. Draw a handwritten signature or type-in an electronic signature Insert Shapes Insert various shapes into your PDF, such as rectangles, ovals, arrows & lines Control the properties of these shapes by changing their style, thickness, border & fill colors, and opacity Share Annotated PDF via a Link Share the annotated PDF via a link after the completion of the requested task Recipient can iew, copy, download, or print the PDF without downloading any PDF software Edit PDF Add or Delete PDF Text. Easy to add new text, copy/cut, paste & delete text Edit Text. Edit PDF text properties such as font, size, color, style & typeface Add or Remove Image. Quickly add a new image from your device or easily remove images Edit Image. Image & object editing - crop, extract, replace, rotate, or delete content Convert PDF PDF to Office Formats. Convert PDF to Word, Excel, PowerPoint, CSV. PDF to Image Files. Convert PDF to PNG, JPEG, BMP, GIF & TIFF PDF to Text/RTF. For easy editing on common text editors PDF to HTML/XML. For better web interface creation PDF to PDF/A. For easy archival & retrieval of information AI-Powered OCR Technology. Transform image-based or scanned PDF files into searchable or editable PDF files with OCR Organize PDF Quickly Add or Delete PDF Pages. Quickly insert blank pages, or remove unwanted pages from your PDF by selecting & deleting them Rotate Pages. Rotate or turn a page left or right & get consistent and tidy PDFs Rearrange or Reorder PDF Pages. Rapidly reorganize your PDF or reorder a page by selecting the thumbnail & dragging it to its new position Split, Replace, or Extract Pages from PDF Effortlessly split a PDF into multiple PDFs by page number Extract any page or set of pages from a PDF document Replace pages with other PDF pages Good to know: Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Access options: desktop or mobile Max number of device(s): 4 Only available to new users Version: v1.2 Updates included A lifetime subscription to UPDF Pro normally costs $149.99, but you can pick it up for just $59.99 for a limited time - that represents a saving of $90 (60% off). For a full description, specs, and license info, click the link below. Get UPDF Pro (lifetime subscription) for just $59.99 (was $149.99), or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • Okay, thank you very much. That was helpful. But then can't someone just easily game the YES response once and then...it's good forever? So how does this blocks kids from getting verified one way or another? And, because if it's just adult Joe Schmo, YES, then you have a problem with which "Joe Schmo". So it sounds like somewhere there's a database with your identity verification information and that service only delivers YES. Fair enough. But when (not if) that service is hacked and the games (age limits), porn (age limits), etc. website is hacked (again!), then someone is going to be able to connect A to B -- the same way the US gov't can track Bitcoin transactions and users today, even though they claim to be anonymous and secure (they are not). What keeps the source database from being hacked for the information that identifies Joe Schmos from one other? And, finally, what keeps Google and, well, everyone else from still selling your identity for ad sales on each and every platform for profit? Because if we had true anonymity, then they couldn't do that, so...I'm guessing that there's no true anonymity here. :(
    • they will use your data anyways, this way you at least get to take advantage of it, might as well use it
  • Recent Achievements

    • Week One Done
      Devesh Beri earned a badge
      Week One Done
    • Week One Done
      956400 earned a badge
      Week One Done
    • First Post
      loose_observer earned a badge
      First Post
    • Week One Done
      BeeJay_Balu earned a badge
      Week One Done
    • Week One Done
      filminutz earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      454
    2. 2
      ATLien_0
      158
    3. 3
      +FloatingFatMan
      150
    4. 4
      Nick H.
      65
    5. 5
      +thexfile
      62
  • Tell a friend

    Love Neowin? Tell a friend!