Share via


DHCP Server Callout DLL for MAC Address based filtering - MAC Address List File Format

Looking at the problem in configuring Mac Address List File while configuring callout DLL for Mac Address based filtering, here are some detailed tips which will help you in verifying your configuration with one below...

· File should contain action followed by MAC address list as show in below format. There is stringent check on the format and hence it needs to be strictly followed including braces etc.

 

MAC_ACTION = {ALLOW / DENY}

000a0c0d1254

000d0c4a6723

 

      · First line in the file should specify the action. Action can be either ALLOW or DENY. Please note the braces around action.

o When action is specified as ALLOW, all requests from MAC address present in this list will be served by dhcp servers. All requests originating from MAC address not present in this list will be ignored.

o When action is specified as DENY, all request from MAC address present in the list will be ignored by dhcp servers. All requests from MAC addresses not present in this list will be severed by dhcp server.

o Only one action out of ALLOW or DENY can be specified in MAC Address List File

· MAC address should be specified in format XXXXXXXXXXXX (where X can be hex digit 0 - F).There should not any delimiter such as -, : in MAC address. Each MAC address should be specified in separate line.

· If there is any error in MAC Address List File, it will be logged into CalloutErrorLogFile or default error log file. Following is expected behavior of dll in cases of errors

o If the action is not specified correctly, then dhcp server will function as if there is no callout dll i.e. none of the requests will be ignored. Error for the same will be logged in error log file.

o If one or more MAC addresses are not specified correctly, then in this case those MAC address entries will be ignored. Error for the same will be logged in error log file.

Thanks

Govind [MSFT]

Comments

  • Anonymous
    January 01, 2003
    Hi Will, DHCP server in Windows Server 2008 R2 has builtin support for MAC address based filtering. Wild cards are allowed as suffixes in the specified MAC address filter. See blogs.technet.com/.../how-to-configure-link-layer-based-filtering.aspx Thanks, Prasad Team DHCP

  • Anonymous
    January 01, 2003
    Hey Bruno, Currently there is no option in this callout dll to insert comments. Thanks Raunak Pandya DHCP Server Team

  • Anonymous
    January 01, 2003
    Yes you do, MACList.txt is read at the time of service startup only. Thanks, Arun, Dhcp Team

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    January 01, 2003
    Has support for Server 2003 x64 been added yet?  If not, I will have to use another DHCP server as the functionality provided by the callout DLL is required for my application.  Thanks! Matthew Monacelli

  • Anonymous
    January 01, 2003
    Hey, You can move the SetupDHCPMacFilter.rtf file anywhere. However You shouldn't be moving the location of the MacFilterCallout.dll from the location which you have specified in the registry while configuring the callout dll. Thanks, Raunak Pandya DHCP Server Team

  • Anonymous
    January 01, 2003
    Matthew,   We will be releasing the x64 version, in a few weeks.     Stay tuned via the blog. thanks, Ajay Team DHCP

  • Anonymous
    January 01, 2003
    Shadab,   You will require a different DLL (currently in testing) that supports 64 bit OSs.   You can contact me at msnetworkteam_AT_live_DOT_com for an early version of this dll. Ajay

  • Anonymous
    January 01, 2003
    Michael VanDusen,   The DHCP Server does not specifically allow or deny based on the Operating system of the client.    Check that the MAC address of the client is in the filter file. Ajay Team DHCP

  • Anonymous
    January 01, 2003
    should i leave the MacFilterCallout.dll and SetupDHCPMacFilter.rtf in the default folder are should i move them to the folder i create on the root of my C drive

  • Anonymous
    January 01, 2003
    I noticed that the machines that I am trying to get a ip from the DHCP server are Vista Buisness.  Is there anything going on with this not working on Vista Business

  • Anonymous
    January 01, 2003
    This addon is great, I would love to see wildcard support though - so I could stop the random students iPhone from hitting us :)

  • Anonymous
    January 01, 2003
    Hello, If you are using the MAC Addree filtering Callout DLL you do need to restart DHCP Server service everytime you make any change in the MACList.txt file irrespective of the OS (WS03 or WS08). You are correct. You cannot have both Allow and Deny at the same time. However, DHCP Server in WS08R2 does support MAC Address filtering in an advanced way. For more information refer to the blogpost, blogs.technet.com/.../link-layer-based-filtering.aspx Thanks, Raunak Pandya

  • Anonymous
    June 18, 2008
    I need insert comments on my file MAClist.txt where stay all of my mac address. I want to do this for identify all of my MACs. Example: MAC_ACTION = {ALLOW} 000a0c0d1254         'machine01 000d0c4a6723         'machine02 Is there any option to do this?

  • Anonymous
    October 12, 2008
    Do you have to also enter DHCP addresses you wich to ALLOW or just the ones you want to DENY.

  • Anonymous
    October 18, 2008
    this dll setting is neither working nor generating any error on my windows server 2003 64 bit platform while i have checked all the settings

  • Anonymous
    October 21, 2008
    I just installed this tool, and I am really happy that this tool. Will post more when the user start using in the am. Jonathan

  • Anonymous
    February 17, 2009
    this tool works great with one exception.  We have it set to a allow list of MAC addresses.  The problem that we have comes with wireless access points (LinkSys Routers). The MAC for the laptops are in the allow list but the DHCP will not assign an ip address.  I have even inserted the MAC for the wireless access router but still no luck.  Any suggestions? (I know the wireless SSID and key are correct because when a static ip is assigned in the wireless connection config the computer connects to the network)

  • Anonymous
    March 03, 2009
    Is there a version of this DLL for server2008?

  • Anonymous
    September 25, 2010
    This tool is excellent.  I love the ability to block MAC addresses as I see fit.  In the next revision I would love to see wildcard characters supported as well.  Any idea if this is in the works or even possible?  Thanks for your hard work!

  • Anonymous
    October 11, 2010
    Hi, Do we need to restart server every time there's a change in the MAC Address list? Thanks

  • Anonymous
    October 12, 2010
    Hi, If it's for Windows Server 2008, do we also need to restart server every time there's a change in the MAC Address list or this procedure only for Windows Server 2003? For the MAC Address list, means that we can't have both allow and deny list in the same MAClist file (or even create 2 MAClists file to split the action cause looks from the registry it only read one file) like this below, right? MAC_ACTION={ALLOW}

MAC Addresses allowed to get IP

xxxxxxxxxxxx xxxxxxxxxxxx MAC_ACTION={DENY}

MAC Addresses denied to get IP

xxxxxxxxxxxx xxxxxxxxxxxx Thanks

  • Anonymous
    May 25, 2011
    Hi All, I found an option to add a description with the MAC-Address, you need to work with the # sign, For Example: MAC_ACTION = {ALLOW} 000a0c0d1254 # Machine01 000a0c0d1234 # Machine02 000a0c0d1355 # Machine03 So adding a description ain't that hard ;) Thanks, Roel van Schilt