Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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

 
discard

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.