Multiple subnets with relays
jessmeyer82 at gmail.com
Mon Jan 19 08:18:24 UTC 2009
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.
More information about the dhcp-users