Re: NetReg: You are not in my allowable ip range

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Patrick Jaques (pjaques@comcast.net)
Date: Tue Dec 02 2003 - 22:37:12 CST


Calissa J Lazowicki wrote:
> I am using the standard variables.pl that comes w/the CIDR update...
> w/the exception of our LDAP info for authentication... here is what i
> have been told so far:
...
> Now, i have also been told i need the $ALLOW_DOMAIN in the
> variables.pl
> file even w/the CIDR update, so i tried that... i still get the same
> thing - ip not in my allowable ip range... any ideas would be wonderful

Hi Calissa,

I don't think the variables.pl file is an issue in your problem because you
are using NetReg v1.3rc2 with the latest CIDR update. The CIDR version of
variables.pl and register.cgi does not use the $ALLOW_DOMAIN variable. All
subnet information is stored in /etc/netreg/subnet.dat.

I noticed a small problem in your subnet.dat. The 3rd parameter in
subnet.dat should refer to the total number of leases allocated to your
registered client pool, but instead it refers to total number hosts allowed
on your entire subnet.

Subnet.dat:
     1st 2nd 3rd 4th (empty)
   157.62.236.0/23:LaurelB:510::

dhcpd.conf:

     Registered Host Pool
     -------------------------------------------------
     range 157.62.236.5 - 157.62.236.49 (45)
     range 157.62.236.156 - 157.62.236.229 (74)
     range 157.62.236.246 - 157.62.236.254 (9)

     Unregistered client pool
     -------------------------------------------------
     range 157.62.236.50 - 157.62.236.154 (105)

The above ranges in your registered client pool are only 128 total leases,
not 510 and your unregistered client pool has only 105 available leases. The
third parameter should say 128, instead of 510. BTW, your lease pools are
too small and should be increased. Since your subnet starts at 157.62.236.1
and ends at 157.62.237.254, you should make use of the unused address space
between 157.62.237.1 and 157.62.237.254 for your lease pools.

-- Patrick Jaques

**********************************************************************
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
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:42 CDT