Welcome to TechNet Blogs Sign in | Join | Help

Microsoft Windows DHCP Team Blog

The world's most deployed DHCP Server! Deploy and discuss about your fav. server, here!
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]

 

Posted: Friday, March 14, 2008 11:53 AM by teamdhcp

Comments

lennonearl1 said:

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

# May 19, 2008 10:45 AM

teamdhcp said:

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

# May 22, 2008 6:44 AM

Bruno Leal said:

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?

# June 18, 2008 2:32 PM

teamdhcp said:

Hey Bruno,

Currently there is no option in this callout dll to insert comments.

Thanks

Raunak Pandya

DHCP Server Team

# June 18, 2008 3:28 PM

Michael VanDusen said:

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

# July 25, 2008 2:25 PM

nestle579 said:

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

# September 15, 2008 11:48 AM

teamdhcp said:

Matthew,

  We will be releasing the x64 version, in a few weeks.     Stay tuned via the blog.

thanks,

Ajay

Team DHCP

# September 16, 2008 8:53 AM

teamdhcp said:

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

# September 16, 2008 8:55 AM

Jim Malay said:

Do you have to also enter DHCP addresses you wich to ALLOW or just the ones you want to DENY.

# October 12, 2008 11:13 AM

teamdhcp said:

Hey Jim,

The tool works in two modes, ALLOW/DENY depending on the first line in the MACList.txt file. If its working in ALLOW mode, the MAC addresses in the MACList.txt file will be allowed and rest denied. Similarly if in DENY mode, MAC Addresses in MACList.txt will be denied and rest all will be allowed.

Raunak Pandya

DHCP Server Team

# October 12, 2008 2:47 PM

shadab said:

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

# October 18, 2008 1:40 AM

teamdhcp said:

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

# October 21, 2008 2:31 PM

Jonathan Notice said:

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

# October 21, 2008 9:46 PM

richard9e98 said:

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

# November 12, 2008 4:40 PM

Coco said:

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)

# February 17, 2009 11:06 PM

Bob said:

Is there a version of this DLL for server2008?

# March 3, 2009 8:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker