allow dhcp only for known mac addresses

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

allow dhcp only for known mac addresses

Vivek Patil
Hi All,

I have setup ISC DHCP server 4.2.4 on ubuntu 14.04 LTS. I need to activate allow DHCP to only those machines whose mac I allowed. All unknown mac machines should be deny.


I dont want mac binding (fixed-address)


Somebody please help me how I can do this.
Thanks in advance.

Email Disclaimer: http://www.forgeahead.io/disclaimer/
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: allow dhcp only for known mac addresses

Jeffrey Lane
man dhcpd.conf and look at the Address Pools section.

On Wed, Jul 18, 2018 at 9:35 AM, Vivek Patil <[hidden email]> wrote:

> Hi All,
>
> I have setup ISC DHCP server 4.2.4 on ubuntu 14.04 LTS. I need to activate
> allow DHCP to only those machines whose mac I allowed. All unknown mac
> machines should be deny.
>
>
> I dont want mac binding (fixed-address)
>
>
> Somebody please help me how I can do this.
> Thanks in advance.
>
> Email Disclaimer: http://www.forgeahead.io/disclaimer/
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



--
Jeff Lane - TPP / Server Certification Lead, Tools Developer, Warrior
Poet, Lover of Pie
Ubuntu Ham: W4KDH
Freenode IRC: bladernr or bladernr_
gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417  C466 4ABD 3635 3A14 B2DD
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: allow dhcp only for known mac addresses

Sten Carlsen
In reply to this post by Vivek Patil
Hi

On 18/07/2018 15.35, Vivek Patil wrote:
Hi All,

I have setup ISC DHCP server 4.2.4 on ubuntu 14.04 LTS. I need to activate allow DHCP to only those machines whose mac I allowed. All unknown mac machines should be deny.
I use classes with membership based on HWaddress (MAC), I put every MAC in a subclass statement in an include file. The benefit of doing things this way is the I can also assign router info and other things to each MAC independently.

The other option is to use a host statement but leave out the fixed address stuff.


I dont want mac binding (fixed-address)


Somebody please help me how I can do this.
Thanks in advance.

Email Disclaimer: http://www.forgeahead.io/disclaimer/

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: allow dhcp only for known mac addresses

perl-list
to use the class method you would then use keywords "allow members of <class>" and "deny members of <class>"

to use the host method , you would then use keywords "allow unknown clients" and "deny unknown clients"


From: "Sten Carlsen" <[hidden email]>
To: "Users of ISC DHCP" <[hidden email]>
Sent: Wednesday, July 18, 2018 9:41:05 AM
Subject: Re: allow dhcp only for known mac addresses
Hi

On 18/07/2018 15.35, Vivek Patil wrote:
Hi All,

I have setup ISC DHCP server 4.2.4 on ubuntu 14.04 LTS. I need to activate allow DHCP to only those machines whose mac I allowed. All unknown mac machines should be deny.
I use classes with membership based on HWaddress (MAC), I put every MAC in a subclass statement in an include file. The benefit of doing things this way is the I can also assign router info and other things to each MAC independently.

The other option is to use a host statement but leave out the fixed address stuff.


I dont want mac binding (fixed-address)


Somebody please help me how I can do this.
Thanks in advance.

Email Disclaimer: http://www.forgeahead.io/disclaimer/

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users