address range ... not on net
Benjamin Wiechman
benw at meltel.com
Wed Jul 2 14:59:23 UTC 2008
In the case of a shared network as described, how does the dhcp server
determine which subnet to use when assigning an address? If I would have two
subnets would it default to one until filled, then assign addresses from the
second or would I need to use classes or some other mechanism to assign
clients to one subnet or the other?
... heading to the man pages...
Ben Wiechman
> -----Original Message-----
> From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
> Behalf Of Oliver Hitz
> Sent: Monday, June 30, 2008 10:10 AM
> To: dhcp-users at isc.org
> Subject: Re: address range ... not on net
>
> Hi Stuart
>
> On 30 Jun 2008, Stuart Kendrick wrote:
> > shared-network test {
> > subnet 10.10.42.0 netmask 255.255.255.0 {
> > pool {
> > range 10.10.88.1 140.107.88.254;
> > }
> > option subnet-mask 255.255.255.0;
> > option broadcast-address 10.10.88.255;
> > option routers 10.10.88.1;
> > }
> > }
>
> You need two subnet statements in your shared network:
>
> shared-network test {
> subnet 10.10.42.0 netmask 255.255.255.0 {
> ...
> }
> subnet 10.10.88.0 netmask 255.255.255.0 {
> ...
> }
> pool {
> ...
> }
> }
>
> It should work like that.
>
> Regards
>
> Oliver
More information about the dhcp-users
mailing list