Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to know how could I get the MAC-IP DHCP associations.

I know that there is show dhcp leases but it only shows information about the active leases.

share|improve this question
up vote 4 down vote accepted

You are looking for the static mapping. This is part of your configuration, not part of a dynamically generated files. You can get it with :

show service dhcp-server

You can also see additional informations in

ls /var/lib/dhcp3/*
share|improve this answer
Actually I want that the association is not static but made the first time the clients requests an IP address. – mariosangiorgio Dec 9 '12 at 19:40
And how is that different from the active leases? Those are client requests for an IP addresses which has been attributed... – CloudWeavers Dec 9 '12 at 20:04
The difference is that if I have a client that is not currently connected it does not appear in the active leases. But, apparently, the MAC-IP binding is stored somewhere as it connects he gets the IP address it previously had. – mariosangiorgio Dec 10 '12 at 0:26
I added the dhcp3 persitent lease folder. – CloudWeavers Dec 11 '12 at 11:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.