Multiple subnets with relays
david.mcken at mail.tt
Mon Jan 19 13:17:28 UTC 2009
If you have multiple shared-subnet definitions the DHCP server looks at
the relay agent's ip and matches it up with one of the subnet
definitions, once that is done then all subnets under that shared-subnet
definition become valid for that request and normal "full-pool"
mechanics take effect.
That is my understanding of the matter, thus far have a network of 10+
shared network definitions and this works great.
Jessica Meyer wrote:
> Dear Simon,
> Thank you for your answer.
>> Congratulations, your config is just what you need (apart from adding
>> a few options like routers etc). The rest is automagic - the server
>> spots that the GIAddr (Gateway Interface Address) field is filled in
>> and uses it to determine which subnet (or shared network) the client
>> is connected to.
> Glad I'm on the right way, _BUT_, as you can see, I've set a
> shared-network for 10.1.0.0 and 10.2.0.0, but how does DHCPD know to
> give out IPs from this two networks?? I know that if a request comes
> from 10.1.0.1, DHCPD gives out an address of the 10.1.0.0 range (in
> this case, from 10.1.0.2 to 10.1.0.254). But what I want is that, if
> the first range has no more addresses, DHCPD also gives out addresses
> from the 10.2.0.0 network (even if the relay is 10.1.0.1). Hope I
> could explain it.
> In the end, I will create some shared-networks, but I want to know
> where I can set explicitely which relays get which ranges etc.
> dhcp-users mailing list
> dhcp-users at lists.isc.org
More information about the dhcp-users