dhcpd.conf question
I am migrating a Microsoft DHCP solution the ISC DHCP on SLES 9. I have a few subnets that that require certain IP ranges w/in the scope be reserved and not handed out via DHCP. I couldn't find how to accomplish this. Here is what I'm thinking: #9th Floor subnet 10.120.190.0 netmask 255.255.254.0 { range 10.120.190.1 10.120.190.179 ; range 10.120.190.185 10.120.190.254 ; option routers 10.120.190.1 ; } In this example, I want all IPs between 10.120.190.1 - 10.120.190.254 to be available except the IPs of 10.120.190.180 - 10.120.190.184. Can I use 2 "range" declerations or is there some type of "exclude" decleration I should be using? Thanks, Ryan
I figured it out.. Heres how to do it: subnet 10.120.190.0 netmask 255.255.254.0 { option routers 10.120.190.254; pool { range 10.120.190.1 10.120.190.179; } pool { range 10.120.190.185 10.120.190.254; } }
On Thu, Oct 26, 2006 at 2:00 PM, in message <4540BF6D.5D1A.003A.0@dss.state.la.us>, "Ryan McCain" <Ryan.McCain@dss.state.la.us> wrote: I am migrating a Microsoft DHCP solution the ISC DHCP on SLES 9.
I have a few subnets that that require certain IP ranges w/in the scope be reserved and not handed out via DHCP. I couldn't find how to accomplish this. Here is what I'm thinking:
#9th Floor subnet 10.120.190.0 netmask 255.255.254.0 { range 10.120.190.1 10.120.190.179 ; range 10.120.190.185 10.120.190.254 ; option routers 10.120.190.1 ; }
In this example, I want all IPs between 10.120.190.1 - 10.120.190.254 to be available except the IPs of 10.120.190.180 - 10.120.190.184.
Can I use 2 "range" declerations or is there some type of "exclude" decleration I should be using?
Thanks, Ryan
participants (1)
-
Ryan McCain