From: Calissa Lazowicki (clazowic@mnsfld.edu)
Date: Thu Feb 05 2004 - 10:54:32 CST
This same thing happened to me when i first got my netreg box up and
running and i was having the same problem as below... once i changed this
everything was working perfect :)
good luck!
At 11:27 AM 2/5/2004, you wrote:
>Dieudonne, Jose wrote:
>
>>I am still having trouble getting the netreg box to work properly. When
>>trying to register a pc I get error: Permission Denied -- You are not in
>>my allowable ip range 172.17.0.254. I am using the netreg V1.3rc2 with
>>cidr update
>>The files in /etc/dhcpd are rw to the group netreg. I do not know where
>>the problem is. I am posting the dhcpd.conf and subnet.dat files.
>>Thanks,
>>Jose
>>
>>*******DHCP.CONF****************
>>
>>##
>>## /etc/dhcpd/dhcpd.conf
>>## ISC DHCPD v3 Configuration file
>>## anakin.southwestern.edu -- DHCP registration server
>>## Peter Valian -- June 04 1999
>>## Modified: 20010813
>>
>>
>>max-lease-time 120;
>>default-lease-time 120;
>>allow bootp;
>>allow booting;
>>option domain-name "arcadia.edu";
>>ddns-update-style ad-hoc;
>>ddns-updates off;
>>omapi-port 7911;
>>
>>subnet 172.17.0.0 netmask 255.255.0.0 {
>> authoritative;
>> option routers 172.17.0.1;
>> option subnet-mask 255.255.0.0;
>> option broadcast-address 172.17.255.255;
>># Unknown clients get this pool.
>> pool {
>> option domain-name-servers 172.17.0.2;
>> max-lease-time 120;
>> default-lease-time 120;
>> range 172.17.0.50 172.17.0.254;
>> allow unknown clients;
>> }
>> # Known clients get this pool.
>> pool {
>> option domain-name-servers 66.54.175.122, 66.54.175.38;
>> max-lease-time 28800;
>> default-lease-time 28800;
>> range 172.17.1.0 172.17.255.254;
>> deny unknown clients;
>> }
>>}
>>
>>
>>#<BEGIN_STATIC>#
>>
>>
>>*******************Subnet.dat****************
>># Fields followed by colons:
>># 1. Subnet/mask length for registered clients
>># 2. Location of subnet
>># 3. Total number of leases from the subnet for registered clients
>># 4. Subnet/mask length for unregistered clients if different,
>># otherwise blank. Note, if you do not specify a different
>># "subnet" for unregistered clients, active leases for this
>># subnet (#1 above) will be counted as belonging to unregistered
>># clients. You should specify a range for unknown clients in
>># your dhcpd.conf file that be covered a subnet, no matter how
>># small and regardless of whether it overlaps with the subnet
>># for registered clients. A trailing colon is optional.
>>#
>># e.g.
>># 10.0.64.0/20:Engineering:425::
>># 10.0.96.0/24:Sales:25:192.168.0.0/24:
>># 10.0.128.0/24:Building 52:127:10.0.128.192/26:
>># Added by IT (Arcadia University)
>> 172.17.0.0/16:Residence Halls:5100::
>>**********************************************************************
>>To unsubscribe from this list, send an e-mail message to
>>majordomo@southwestern.edu containing a single line with the words:
>>unsubscribe netreg
>>Send requests for assistance to: owner-netreg@southwestern.edu
>>**********************************************************************
>>
>Jose,
>
>I think there's a change that you need to make to your variables.pl file -
>You would change the ALLOW_DOMAIN variable to this:
>
> $ALLOW_DOMAIN = "172.17.*";
>
>if you wanted to allow everyone coming from the 172.17.0.0 network to
>register their hardware.
>
>Charles
>
>--
>Charles Scheidecker
>Network Specialist
>Wartburg College ITS
>(319)352-8519
>charles.scheidecker@wartburg.edu
>
>**********************************************************************
>To unsubscribe from this list, send an e-mail message to
>majordomo@southwestern.edu containing a single line with the words:
>unsubscribe netreg
>Send requests for assistance to: owner-netreg@southwestern.edu
>**********************************************************************
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:44 CDT