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. Re: VLAN and fixed IPs (Doug Hughes)
   2. Re: VLAN and fixed IPs (Christian Kratzer)


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

Message: 1
Date: Thu, 28 Sep 2017 09:39:38 -0400
From: Doug Hughes <d...@will.to>
To: dhcp-users@lists.isc.org
Subject: Re: VLAN and fixed IPs
Message-ID: <5caf6eec-ee01-b0d5-aea1-6c2e8a8ea...@will.to>
Content-Type: text/plain; charset=utf-8

3rd for Option 82. Most switches DHCP relay agent will support this via
a command. The problem I ran into with the ISC DHCP option 82 was that I
could do it based upon circuit-id (switch port) or on switch ID
(sometimes IP address of switch, sometimes configurable to mac, or
sometimes to hostname, usually configurable), but trying many different
ways I could never get it to use both at the same time.

If your use case is simple on a single switch, or multiple switches
where the switch port is unique, it should work just fine.



On 9/28/2017 5:58 AM, Patrick Trapp wrote:
> Seconding Christian's suggestion if your relay agent will support it. 
>
> -----Original Message-----
> From: dhcp-users [mailto:dhcp-users-boun...@lists.isc.org] On Behalf Of 
> Christian Kratzer
> Sent: Thursday, September 28, 2017 4:48 AM
> To: Users of ISC DHCP <dhcp-users@lists.isc.org>
> Subject: Re: VLAN and fixed IPs
>
> Hi,
>
> On Thu, 28 Sep 2017, Jan Lundmark wrote:
>>
>>
>> Hi,
>>
>> We have an application where we want the clients to  have fixed IPs and that 
>> the clients are all on the same subnet.
>> It is not practical for our application to use the MAC adresses of the 
>> clients.
>>
>> This configuration below will assign a somewhat fixed IP based on the VLAN  
>> subnets but it is not exactly what we want.
>> The point is that we want each client to receive a fixed IP address based on 
>> their port in the switch.
> <snipp/>
>
> dhcp snooping on some switches is able to insert realay agent options into 
> packets passing by even in pure l2 environments.
>
> You can then assign fixed ip based on option82 circuit-id or remote-id 
> options.
>
> Greetings
> Christian
>



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

Message: 2
Date: Thu, 28 Sep 2017 15:45:12 +0200 (CEST)
From: Christian Kratzer <ck-li...@cksoft.de>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: VLAN and fixed IPs
Message-ID: <alpine.bsf.2.21.1709281542550.66...@nocfra1.cksoft.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi,

On Thu, 28 Sep 2017, Doug Hughes wrote:

> 3rd for Option 82. Most switches DHCP relay agent will support this via
> a command. The problem I ran into with the ISC DHCP option 82 was that I
> could do it based upon circuit-id (switch port) or on switch ID
> (sometimes IP address of switch, sometimes configurable to mac, or
> sometimes to hostname, usually configurable), but trying many different
> ways I could never get it to use both at the same time.

yes isc cannot match both.

Generally you should have control over what values you provision into 
circuit-id or remote-id so you should be able to provision a sufficently unique 
value so you can get by with only matching one of them.

In an isp ptp fibre scenario I provision the customers lineid into option82 
circuit-id.

> If your use case is simple on a single switch, or multiple switches
> where the switch port is unique, it should work just fine.

the trick is to design your network so that what you want is possible.


Greetings
Christian

-- 
Christian Kratzer                   CK Software GmbH
Email:   c...@cksoft.de               Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0       D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9       HRB 245288, Amtsgericht Stuttgart
Mobile:  +49 171 1947 843           Geschaeftsfuehrer: Christian Kratzer
Web:     http://www.cksoft.de/


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

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 107, Issue 25
*******************************************

Reply via email to