Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. To have various IP ranges in the same subnet and assign the
      IP Address depending of the device type that sends the request.
      (Juan Antonio Garc?a Moreno)
   2. Re: To have various IP ranges in the same subnet and assign
      the IP Address depending of the device type that sends the
      request. (Sten Carlsen)
   3. Re: To have various IP ranges in the same subnet and assign
      the IP Address depending of the device type that sends the
      request. (Juan Antonio Garc?a Moreno)


----------------------------------------------------------------------

Message: 1
Date: Thu, 1 Aug 2019 09:05:54 +0200
From: Juan Antonio Garc?a Moreno <jagar...@emergya.com>
To: dhcp-users@lists.isc.org
Subject: To have various IP ranges in the same subnet and assign the
        IP Address depending of the device type that sends the request.
Message-ID:
        <cajbovpf1f7q58f74ykp6jner_qz87ebcr2c+ljfxb1tejmq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi everyone,

I have read a lot of information on Internet but I haven't this too clear
and I would like ask you if this can do or not.

This is the situation:

- I have a network wired and WIFI.
- I have the ISC DHCP Server that assign IP address statically with
"fixed-address" and dinamically from a pool address with "range".

I would know if I can to have, for example, 3 ranges and assign the IP
Address depending of the device type that request the IP.

For example:

- Static IP to devices that I want by MAC.
- POOL1 to LAPTOP.
- POOL2 to Smartphones.
- POOL3 to Tablets or Watches.

How could I discriminate the request and assign the IP from POOL1, POOL2 or
POOL3 depending if the device is a LAPTOP, a Smartphone or a Tablet?

Can I do this?

What would be the best way to do it?

Does anyone have, and can show me, some examples?


Best regards,

Juan Garc?a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20190801/7d7c4e72/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 1 Aug 2019 13:06:12 +0200
From: Sten Carlsen <st...@s-carlsen.dk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>, Juan Antonio Garc?a
        Moreno <jagar...@emergya.com>
Subject: Re: To have various IP ranges in the same subnet and assign
        the IP Address depending of the device type that sends the request.
Message-ID: <460ffad5-4b49-5723-1ea9-82c3e040c...@s-carlsen.dk>
Content-Type: text/plain; charset="utf-8"



On 01/08/2019 09.05, Juan Antonio Garc?a Moreno wrote:
> Hi everyone,
>
> I have read a lot of information on Internet but I haven't this too
> clear and I would like ask you if this can do or not.
>
> This is the situation:
>
> - I have a network wired and WIFI.
> - I have the ISC DHCP Server that assign IP address statically with
> "fixed-address" and dinamically from a pool address with "range".
>
> I would know if I can to have, for example, 3 ranges and assign the IP
> Address depending of the device type that request the IP.
>
> For example:
>
> - Static IP to devices that I want by MAC.
> - POOL1 to LAPTOP.
> - POOL2 to Smartphones.
> - POOL3 to Tablets or Watches.
>
> How could I discriminate the request and assign the IP from POOL1,
> POOL2 or POOL3 depending if the device is a LAPTOP, a Smartphone or a
> Tablet?
>
> Can I do this?
What I do is the following:

  * I have a few static host entries defined globally for a few hosts
    that need a fixed address
  * I have one subnet for unknown devices - devices that are connected
    but have not been accepted by me
  * I have a different subnet for normal use
      o I have one pool for devices that are allowed internet access
      o I have one pool for devices that are not allowed internet access
      o I have a space for the fixed addresses outside of these pools
  * I have defined two classes, one for internet access and one without
      o I use a list of subclass definitions for every device without a
        fixed address
      o each subclass definition determines access or not by assigning
        to the class and in some cases give the DNS name
  * Each pool definition use deny and allow statements to allow only the
    relevant devices

The difficult part of your setup will be to assign each device to the
correct class. There are lots of possibilities but specific knowledge is
needed about your devices to do that.

I use a manually edited list of subclass definitions because this fits
my needs. My next setup will be KEA with mysql backend and a web page to
do the administration.

>
> What would be the best way to do it?
>
> Does anyone have, and can show me, some examples?
>
>
> Best regards,
>
> Juan Garc?a
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20190801/ab41177d/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 1 Aug 2019 13:54:50 +0200
From: Juan Antonio Garc?a Moreno <jagar...@emergya.com>
To: Sten Carlsen <st...@s-carlsen.dk>
Cc: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: To have various IP ranges in the same subnet and assign
        the IP Address depending of the device type that sends the request.
Message-ID:
        <cajbovph6u+1ftje7vl8+q65vhljujgijgxmfnjohy6fu2wt...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Sten, a lot of thanks...

Do you have some examples that you can share with me to assign a range or
other depending of the device type that send the request to begin to work
over that?


Best regards,

Juan Garc?a

El jue., 1 ago. 2019 a las 13:06, Sten Carlsen (<st...@s-carlsen.dk>)
escribi?:

>
>
> On 01/08/2019 09.05, Juan Antonio Garc?a Moreno wrote:
>
> Hi everyone,
>
> I have read a lot of information on Internet but I haven't this too clear
> and I would like ask you if this can do or not.
>
> This is the situation:
>
> - I have a network wired and WIFI.
> - I have the ISC DHCP Server that assign IP address statically with
> "fixed-address" and dinamically from a pool address with "range".
>
> I would know if I can to have, for example, 3 ranges and assign the IP
> Address depending of the device type that request the IP.
>
> For example:
>
> - Static IP to devices that I want by MAC.
> - POOL1 to LAPTOP.
> - POOL2 to Smartphones.
> - POOL3 to Tablets or Watches.
>
> How could I discriminate the request and assign the IP from POOL1, POOL2
> or POOL3 depending if the device is a LAPTOP, a Smartphone or a Tablet?
>
> Can I do this?
>
> What I do is the following:
>
>    - I have a few static host entries defined globally for a few hosts
>    that need a fixed address
>    - I have one subnet for unknown devices - devices that are connected
>    but have not been accepted by me
>    - I have a different subnet for normal use
>       - I have one pool for devices that are allowed internet access
>       - I have one pool for devices that are not allowed internet access
>       - I have a space for the fixed addresses outside of these pools
>    - I have defined two classes, one for internet access and one without
>       - I use a list of subclass definitions for every device without a
>       fixed address
>       - each subclass definition determines access or not by assigning to
>       the class and in some cases give the DNS name
>    - Each pool definition use deny and allow statements to allow only the
>    relevant devices
>
> The difficult part of your setup will be to assign each device to the
> correct class. There are lots of possibilities but specific knowledge is
> needed about your devices to do that.
>
> I use a manually edited list of subclass definitions because this fits my
> needs. My next setup will be KEA with mysql backend and a web page to do
> the administration.
>
>
> What would be the best way to do it?
>
> Does anyone have, and can show me, some examples?
>
>
> Best regards,
>
> Juan Garc?a
>
> _______________________________________________
> dhcp-users mailing 
> listdhcp-us...@lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>

-- 
[image: EMERGYA] <http://www.emergya.com/>
*Juan Garc?a*

*Dto. de Soporte Interno*

*EMERGYA INGENIER?A*

*m:* +34 954 517 577

*p:* +34 954 517 577
*e:* jagar...@emergya.com
[image: linkedin icon] <https://www.linkedin.com/company/emergya>  [image:
facebook icon] <https://www.facebook.com/Emergya>  [image: twitter icon]
<https://twitter.com/emergya>  [image: youtube icon]
<https://www.youtube.com/channel/UCU0ISPwk1pcOWwjpX63gN_A>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20190801/efee3e12/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 130, Issue 1
******************************************

Reply via email to