+ Reply to Thread
Results 1 to 5 of 5
  1. Junior Member Registered Member
    Join Date
    Nov 2010
    Posts
    2
    #1

    Default DHCP - My first lab in Hyper-V

    Hello

    I am trying to reproduce my first lab in Hyper-V.
    I already have the necessary machines and added the virtual switch.
    Now i need to define the DHCP and IP addresses in internal network.

    I have a SRV-RTR (router) that, i think, should provide DHCP to everyone.
    I also have SVR-DC, SVR1, SVR2, CL1 and CL2.

    Is this correct, where do i configure my DHCP?
    And with what configurations?

    Can anyone help?

    Thank you.
    Best Regards.
    Reply With Quote Quote  

  2. SS -->
  3. Senior Member
    Join Date
    Mar 2012
    Location
    Kansas City
    Posts
    233

    Certifications
    MCSA: Server 2012/2016, MCSE: CP&I
    #2
    DHCP works on a single subnet. You want to have a DHCP server per subnet to avoid confusion. You can get around this using supernetting but it is kind of complicated and unpredictable. With labs I tend to make DCs my DHCP server (and at least one standalone for standalone practice)

    Edit: Grammar. Was in a hurry.
    Last edited by poolmanjim; 08-08-2016 at 07:54 PM.
    Reply With Quote Quote  

  4. Member
    Join Date
    Jun 2016
    Location
    Cayman Islands
    Posts
    69

    Certifications
    MCSD, MCSE, MCSA, MCITP, MCTS, MCS, MCP, CCNA, CCNP, CCENT, UFSS, UFCSS, CCSK, GCP, CCE, CCP, CCA, VCP5-DCV, NPP
    #3
    What are you trying to do? Re-produce the labs from a MS course?

    You could do DHCP on any of they VMs but the chances are DHCP is already running on your home/office router. Therefore make sure you have not configured your Hyper-V Switch to be an "external" switch, or otherwise you will have a DHCP conflict.

    The take away from this is that it actually makes no difference where the DHCP service resides. Like poolmanjim said, DHCP works on the concept of scopes and subnets. You should do some further reading on DHCP relay/IP helpers etc, as that will give you a better idea how DHCP is deployed in the wild.
    Reply With Quote Quote  

  5. Junior Member Registered Member
    Join Date
    Nov 2010
    Posts
    2
    #4
    My dificulty was simply to make two computers ping in Hyper-V.
    I was able to download some VMs and study the configurations.

    I'll try to do it myself when i'm done reading the DOCS i have.

    Thank you
    Reply With Quote Quote  

  6. Bello
    Join Date
    Jul 2014
    Location
    UK
    Posts
    59

    Certifications
    MCSA Server 2012
    #5
    Quote Originally Posted by BlitzMX View Post
    My dificulty was simply to make two computers ping in Hyper-V.
    I was able to download some VMs and study the configurations.

    I'll try to do it myself when i'm done reading the DOCS i have.

    Thank you

    Hyper-V, configure an internal switch and attach the VMs to that, then install the DHCP server feature and configure a new scope on one of the VMs, maybe a DC/GC whatever.


    As long as the servers are on the same LAN segment, same internal switch etc then they should get an IP address.


    But, if those servers don’t respond to pings then that’s the firewalls on the servers rejecting echo replies.


    https://blog.blksthl.com/2012/11/20/...s-server-2012/
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks