none
DHCP with MAC registration (Static IP Mapping based on MAC)

    Question

  • Dear All,

    We want to assign IP addresses using DHCP with MAC registration only (Static IP Mapping based on MAC). This will ensure that a specified hardware device with a particular MAC on a subnet always receives the same IP address lease.  We are planning to do this for 6000 devices.

    What are the Pros and Cons of  going with this approach ? Is this is the best way ?

    Thanks in advance

    Wednesday, August 28, 2013 1:41 AM

Answers


  • check out this one this might give you an idea on what you're trying to achieve:

    Unique MAC addresses on Client1 and Client2 will be used to match different DHCP policies.

    1. On DHCP1, open the DHCP console and navigate to IPv4\Scope [10.0.0.0] Contoso-scope1\Address Leases.

    2. Click Address Leases and then in the details pane write down the MAC addresses listed for Client1 and Client2 under Unique ID.

    Create Policies:

    The DHCP Policy Configuration Wizard will be used to create a unique policy for Client1 and another policy for Client2. A policy configured for an individual computer is not typical and is only configured for demonstration purposes. On a corporate network, you can us wildcards and other conditions to match multiple DHCP client devices.

    1. Right-click Policies and then click New Policy.

    2. Next to Policy Name, type Client1 Policy, and then click Next.

    3. On the Configure Conditions for the policy page, click Add.

    4. In the Add/Edit Condition dialog box, choose MAC Address next to Criteria, type the MAC address for Client1 next to Value (001DB7A63D in this example), and then click OK.

    complete info on this link:

    http://technet.microsoft.com/en-us/library/hh831538.aspx

    Client2 is a computer running Windows 8 that is acting as a DHCP client.

    Configuration of Client2 is nearly identical to Client1. To configure Client2, repeat the identical procedures used to configure Client1, except when you enter a computer name, type Client2 instead of Client1.

    For the DHCP policy based assignment demonstration portion of the test lab, a MAC address based policy will be configured to assign unique DHCP options and IP address ranges to Client1 and Client2.

    A demonstration of DHCP policy based assignment on Windows Server 2012 consists of the following procedures:

    1. Determine MAC addresses

    2. Create policies

    3. Demonstrate policies

    Unique MAC addresses on Client1 and Client2 will be used to match different DHCP policies.

    1. On DHCP1, open the DHCP console and navigate to IPv4\Scope [10.0.0.0] Contoso-scope1\Address Leases.

    2. Click Address Leases and then in the details pane write down the MAC addresses listed for Client1 and Client2 under Unique ID.

      Client Unique ID

    The DHCP Policy Configuration Wizard will be used to create a unique policy for Client1 and another policy for Client2. A policy configured for an individual computer is not typical and is only configured for demonstration purposes. On a corporate network, you can us wildcards and other conditions to match multiple DHCP client devices.

    1. Right-click Policies and then click New Policy.

    2. Next to Policy Name, type Client1 Policy, and then click Next.

    3. On the Configure Conditions for the policy page, click Add.

    4. In the Add/Edit Condition dialog box, choose MAC Address next to Criteria, type the MAC address for Client1 next to Value (001DB7A63D in this example), and then click OK.

      DHCP Policy Wizard
    5. Click Next, and then in Configure settings for the policy, type 10.0.0.100 next to Start IP address and type 10.0.0.199 next to End IP address.

      DHCP Policy
    6. Click Next, and then under Available Options, select 003 Router, type 10.0.0.7 under IP address, and click Add.

      DHCP Policy
    7. Click Next, and then click Finish.

    8. Repeat the previous steps for Client2 using the following conditions, IP address ranges, and options:

      1. Policy Name: Client2 Policy

      2. Condition: MAC Address equals (in this example) 00155DB&A63E.

      3. Start IP address: 10.0.0.200

      4. End IP address: 10.0.0.254

      5. 003 Router: 10.0.0.8
    Wednesday, August 28, 2013 7:43 AM
  • 6000 devices, wow. there will be definitely some performance issues.

    and you have to consider a subnet mask for your implementation also.

    I haven't deploy such big environment.

    But if you have a powerful devices, like a server with enough processors and RAM. 

    Good performance wireless devices, it won't solely depend on Windows. (if you're trying to use windows or you're just gathering info for your consideration)

    You have to consider a lot of factors here, do you plan to do it at one go.

    Or it will phase by phase, implementation.


    Every second counts..make use of it.


    Wednesday, August 28, 2013 10:24 PM

All replies

  • A common practice is dynamic IPs for clients and static IP (reservation) for all servers, printers erc.

    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.


    Wednesday, August 28, 2013 5:07 AM

  • check out this one this might give you an idea on what you're trying to achieve:

    Unique MAC addresses on Client1 and Client2 will be used to match different DHCP policies.

    1. On DHCP1, open the DHCP console and navigate to IPv4\Scope [10.0.0.0] Contoso-scope1\Address Leases.

    2. Click Address Leases and then in the details pane write down the MAC addresses listed for Client1 and Client2 under Unique ID.

    Create Policies:

    The DHCP Policy Configuration Wizard will be used to create a unique policy for Client1 and another policy for Client2. A policy configured for an individual computer is not typical and is only configured for demonstration purposes. On a corporate network, you can us wildcards and other conditions to match multiple DHCP client devices.

    1. Right-click Policies and then click New Policy.

    2. Next to Policy Name, type Client1 Policy, and then click Next.

    3. On the Configure Conditions for the policy page, click Add.

    4. In the Add/Edit Condition dialog box, choose MAC Address next to Criteria, type the MAC address for Client1 next to Value (001DB7A63D in this example), and then click OK.

    complete info on this link:

    http://technet.microsoft.com/en-us/library/hh831538.aspx

    Client2 is a computer running Windows 8 that is acting as a DHCP client.

    Configuration of Client2 is nearly identical to Client1. To configure Client2, repeat the identical procedures used to configure Client1, except when you enter a computer name, type Client2 instead of Client1.

    For the DHCP policy based assignment demonstration portion of the test lab, a MAC address based policy will be configured to assign unique DHCP options and IP address ranges to Client1 and Client2.

    A demonstration of DHCP policy based assignment on Windows Server 2012 consists of the following procedures:

    1. Determine MAC addresses

    2. Create policies

    3. Demonstrate policies

    Unique MAC addresses on Client1 and Client2 will be used to match different DHCP policies.

    1. On DHCP1, open the DHCP console and navigate to IPv4\Scope [10.0.0.0] Contoso-scope1\Address Leases.

    2. Click Address Leases and then in the details pane write down the MAC addresses listed for Client1 and Client2 under Unique ID.

      Client Unique ID

    The DHCP Policy Configuration Wizard will be used to create a unique policy for Client1 and another policy for Client2. A policy configured for an individual computer is not typical and is only configured for demonstration purposes. On a corporate network, you can us wildcards and other conditions to match multiple DHCP client devices.

    1. Right-click Policies and then click New Policy.

    2. Next to Policy Name, type Client1 Policy, and then click Next.

    3. On the Configure Conditions for the policy page, click Add.

    4. In the Add/Edit Condition dialog box, choose MAC Address next to Criteria, type the MAC address for Client1 next to Value (001DB7A63D in this example), and then click OK.

      DHCP Policy Wizard
    5. Click Next, and then in Configure settings for the policy, type 10.0.0.100 next to Start IP address and type 10.0.0.199 next to End IP address.

      DHCP Policy
    6. Click Next, and then under Available Options, select 003 Router, type 10.0.0.7 under IP address, and click Add.

      DHCP Policy
    7. Click Next, and then click Finish.

    8. Repeat the previous steps for Client2 using the following conditions, IP address ranges, and options:

      1. Policy Name: Client2 Policy

      2. Condition: MAC Address equals (in this example) 00155DB&A63E.

      3. Start IP address: 10.0.0.200

      4. End IP address: 10.0.0.254

      5. 003 Router: 10.0.0.8
    Wednesday, August 28, 2013 7:43 AM
  • Thank you for the responses.

    We are planning to do this for 6000 clients / devices.  DHCP with MAC registration (Static IP Mapping based on MAC). Will there be a performance issue on DHCP ?

    Wednesday, August 28, 2013 1:18 PM
  • 6000 devices, wow. there will be definitely some performance issues.

    and you have to consider a subnet mask for your implementation also.

    I haven't deploy such big environment.

    But if you have a powerful devices, like a server with enough processors and RAM. 

    Good performance wireless devices, it won't solely depend on Windows. (if you're trying to use windows or you're just gathering info for your consideration)

    You have to consider a lot of factors here, do you plan to do it at one go.

    Or it will phase by phase, implementation.


    Every second counts..make use of it.


    Wednesday, August 28, 2013 10:24 PM