[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug or Feature?



On Monday 29 April 2002 06:21 pm, Adam \"Tauvix\" Debus wrote:
> Something else to look into:
>
> I've allocated a /23 for a dialup pool. When I go to assign indivudial
> addresses it only gets up to .44 in the second /24 of the group in the pull
> down box. No matter how many IP addresses have been assigned before it....

The code that generates the dropdown's has a hard limit of 300 blocks 
(addresses in this case) and that most likely what your hitting sine 256 (1 
/23) + 44 = 300.  The limit is there to keep the time it takes to generate 
the dropdowns to a minimum.. i should make it more intelligent and be able to 
relaize when it needs to limit itself and not.. i'll put it on my TODO.

>
> Thanks,
>
> Adam "Tauvix" Debus
> Network Administrator, ReachONE Internet
> adam@reachone.com
>
> ----- Original Message -----
> From: "Hitesh Patel" <hitesh@presys.com>
> To: "Adam "Tauvix" Debus" <northstar@delsol.net>;
> <northstar-devel@brownkid.net>
> Sent: Monday, April 29, 2002 3:52 PM
> Subject: Re: Bug or Feature?
>
> > On Monday 29 April 2002 04:29 pm, Adam \"Tauvix\" Debus wrote:
> > > Hello,
> > >
> > >     Here's an example of a situation I find myself in currently:
> > >
> > >     I have a /19 (we'll call it 10.0.224.0/19). Under that I have
>
> allocated
>
> > > a /23 (10.0.226.0/23). We will also assume that 10.0.224.0/24 and
> > > 10.0.225.0/24 are already allocated. Note, allocated, not assigned.
> > > Now,
>
> I
>
> > > need to allocate a /24, so I click on the "Add Subnet" link for the
> > > /19, and the first /24 it comes up to be available for allocation is
> > > 10.0.226.0/24. Now, I want to use that entire /23 as a dialup pool.
>
> Should
>
> > > I be instead listing that as assigned?
> >
> > Yeah, currently the code finds the first available block whether it's
>
> already
>
> > under another block or not.  If you set the /23 to Assigned it will be
> > ignored and you should get back 10.0.226.2/24
> >
> > > Thanks,
> > >
> > > Adam "Tauvix" Debus
> > > Network Administrator, ReachONE Internet
> > > adam@reachone.com
> >
> > --
> > +---------------------------------+----------------------------+
> >
> > | Hitesh Patel                    |  Lead Developer            |
> > | hitesh@presys.com               |  NorthStar                 |
> >
> > +---------------------------------+----------------------------+
> >
> > | NorthStar: http://www.brownkid.net/NorthStar/                |
> > | PGP Key:   http://www.brownkid.net/pgpkey.asc                |
> >
> > +--------------------------------------------------------------+

-- 
+---------------------------------+----------------------------+
| Hitesh Patel                    |  Voice: (541) 759-3126     |
| Network Engineering Manager     |  Fax:   (541) 759-3214     |
| Preferred Communications Inc.	  |  Email: hitesh@pciwest.net |
+---------------------------------+----------------------------+