none
DHCP and multiple scopes RRS feed

  • Question

  • Guys,

    When creating multiple scopes in a DHCP server(with failover to a second dhcp server), how to i get the right ip-address to the right devices? Lets say i crate a scope for finance, how do i get to devices in the finance ou to get the addresses from the finance scope only?
    Wednesday, April 24, 2019 9:16 AM

All replies

  • Hi,

    I would suggest you create DHCP policy with user class.

    You can create different user classes and assign devices to different classes.

    Then you can create DHCP policy to assign different scopes for different classes.

    Please refer to the links below:

    https://www.itprotoday.com/compute-engines/dhcp-user-class-and-vendor-class-options  

    https://4sysops.com/archives/windows-server-2012-dhcp-policy-based-assignment/  

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.  

    Best regards,

    Travis


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • Marked as answer by enlil Friday, May 3, 2019 10:32 AM
    • Unmarked as answer by enlil Friday, May 17, 2019 11:13 AM
    Thursday, April 25, 2019 1:59 AM
    Moderator
  • Or with DHCP Relay if you are using multiple subnets. 

    Microsoft Certified Professional

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Thursday, April 25, 2019 9:06 AM
  • Many thanks for your reply. I am not sure how dhcp relay will give specific computers(from one department) a specific lease range,
    Thursday, April 25, 2019 10:51 AM
  • As said, if you are using multiple network subnets then it's possible with DHCP relay, but if all computers are in the same subnet then DHCP policy is the right way to go. 

    Microsoft Certified Professional

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Thursday, April 25, 2019 4:55 PM
  • Hi,

    Just checking in to see if the information provided was helpful.

    Please let us know if you would like further assistance.

    Best Regards,

    Travis


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, April 26, 2019 7:30 AM
    Moderator
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,

    Travis


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, May 2, 2019 5:28 AM
    Moderator
  • i have been able to test it today, but the tutorials aint valid anymore, they are only valid for 2008 or lower. It seems one needs to use the policy in DHCP(since 2012), but i cant see any info about how to do that. Any help would be apreciated.

    I tried the macadddres part in the policy, added the last four chars of a networkcard lke this: 65er* but that doesnt seem to work. That macaddress doesnt get an ip.

    • Edited by enlil Friday, May 17, 2019 11:49 AM
    Friday, May 17, 2019 11:12 AM
  • Hi,

    Please refer to the link below:

    https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn425039(v%3Dws.11)  

    Best regards,

    Travis


    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, May 20, 2019 9:31 AM
    Moderator
  • many thanks for the info. After readin(haven't tested it yet) it seams that one cannot deploy different scopes to different subnets. I think i need another dhcp to provide addresses to the other subnet.
    Sunday, June 2, 2019 10:40 AM
  • Hi,

     it seams that one cannot deploy different scopes to different subnets. 

    I don't quite understand what you mean.

    As shown in the picture, you just need to divide devices into different user classes. Just like I said at the beginning.




    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, June 3, 2019 9:01 AM
    Moderator