address/prefix length mismatch

Ondřej Surý ondrej at isc.org
Wed Aug 24 13:33:28 UTC 2022



> On 24. 8. 2022, at 15:26, Elias Pereira <empbilly at gmail.com> wrote:
> 
> 
> Hello Greg,
> 
> Why doesn't bind work with networks/subnets in the conventional way?

It does.

> If the private subnet is 10.60.0.0/23, then it means that the address range is 10.60.0.1 to 10.60.1.254.

That’s wrong. 10.60.0.0/23 means 10.60.0.0 to 10.60.1.255 range.

> How do I configure this ACL in named.conf.local so that it takes the whole range?

Correctly specified range (without address/host bits) does takes the whole range.

Ondrej 
--
Ondřej Surý — ISC (He/Him)

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.

>> On Wed, Aug 24, 2022 at 9:31 AM Anand Buddhdev <anandb at ripe.net> wrote:
>> On 24/08/2022 14:16, Elias Pereira wrote:
>> 
>> Hi Elias,
>> 
>> > Oh, sorry... :D
>> > 
>> > here it is
>> > 
>> > # cat named.conf.local
>> > # ACL das redes internas
>> > # Ultima modificação: 24/08/2022
>> > 
>> > acl "internal" {
>> > 10.60.0.1/23;
>> 
>> This is the issue. The address part of the prefix should be the lowest 
>> address in that prefix. If you change this to 10.60.0.0/23, it will be 
>> fine. The same goes for all the other prefixes in your list. Change the 
>> 1's to 0's.
>> 
>> > 10.10.1.1/24;
>> > 10.10.2.1/25;
>> > 10.10.3.1/25;
>> > 10.10.4.1/25;
>> > 10.10.5.1/25;
>> > 10.51.0.1/23;
>> > 10.10.6.1/25;
>> > 10.10.7.1/26;
>> > 172.20.0.1/26;
>> > 10.50.0.1/23;
>> > 10.40.0.1/22;
>> > 10.56.0.1/22;
>> > };
> 
> 
> -- 
> Elias Pereira
> -- 
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20220824/7d95979d/attachment.htm>


More information about the bind-users mailing list