Assign from Pool according to Relay Agent

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

Assign from Pool according to Relay Agent

Alp Eren Kose
Hi all,

We have got a special need for a stupid router. The router is acting as a DHCP relay agent. However it sends the same address for the DHCP Discovery source IP and GIADDR fields. 

So I need a way to say for example; if GIADDR equals to 10.0.10.10 then assign IP addreses from this pool. But that pool is not in the same subnet with the GIADDR. Is it possible at all? I couldn't find any relevant answer to this..

Thanks in advance.

Alp

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

RE: Assign from Pool according to Relay Agent

Patrick Trapp
Just off the cuff, but are you needing a shared-network declaration? We have requests coming from one network to the DHCP server that are actually for a second (or third) network. We have an empty declaration for the apparent source network as part of a shared-network included with the actual networks that the DHCP server is providing addresses for.

Sounds like it might be similar to what you need. I'm sure the experts around here can tell you for certain or explain what I've got wrong.


From: [hidden email] [[hidden email]] on behalf of Alp Eren Kose [[hidden email]]
Sent: Wednesday, July 29, 2015 9:00 AM
To: [hidden email]
Subject: Assign from Pool according to Relay Agent

Hi all,

We have got a special need for a stupid router. The router is acting as a DHCP relay agent. However it sends the same address for the DHCP Discovery source IP and GIADDR fields. 

So I need a way to say for example; if GIADDR equals to 10.0.10.10 then assign IP addreses from this pool. But that pool is not in the same subnet with the GIADDR. Is it possible at all? I couldn't find any relevant answer to this..

Thanks in advance.

Alp

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

Re: Assign from Pool according to Relay Agent

Simon Hobson
Patrick Trapp <[hidden email]> wrote:

>> We have got a special need for a stupid router. The router is acting as a DHCP relay agent. However it sends the same address for the DHCP Discovery source IP and GIADDR fields.
>>
>> So I need a way to say for example; if GIADDR equals to 10.0.10.10 then assign IP addreses from this pool. But that pool is not in the same subnet with the GIADDR. Is it possible at all? I couldn't find any relevant answer to this..

Just to be clear, the example 10.0.10.10 is the IP of the router interface facing the DHCP server, not an IP of an interface facing the clients ?

> Just off the cuff, but are you needing a shared-network declaration? We have requests coming from one network to the DHCP server that are actually for a second (or third) network. We have an empty declaration for the apparent source network as part of a shared-network included with the actual networks that the DHCP server is providing addresses for.

That would probably do it, create a dummy subnet that includes 10.0.10.10 and put it in a shared network with the real client facing subnet. However, this is likely to break things if there are any other routers who's IPs fall into that dummy subnet.


Of course, the real answer is to send the broken router back and insist the vendor fix it !

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