<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 8 October 2016 at 09:57, Pol Hallen <span dir="ltr"><<a href="mailto:bindml@fuckaround.org" target="_blank">bindml@fuckaround.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
192.168.1/24 is not a valid netmask<br>
</blockquote>
<br></span>
huh?<br>
In linux and BSD I always use 192.168.1/24 (how shortcut of <a href="http://192.168.1.0/24" rel="noreferrer" target="_blank">192.168.1.0/24</a>) and so on...</blockquote><div><br></div><div>You're confusing network configuration with ACL syntax.</div><div><br></div><div>Where you're using <a href="http://192.168.1.50/24">192.168.1.50/24</a> in your OS configuration, what you're really saying is 192.168.1.50 netmask 255.255.255.0.</div><div>When you use it in an ACL, you're saying "the entire /24 that contains 192.168.1.50"</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hint: using /24 everywhere is nonsense<br>
</blockquote>
<br></span>
why?<br>
<br>
My goal is allow <a href="http://192.168.1.0/24" rel="noreferrer" target="_blank">192.168.1.0/24</a> (net) and deny 192.168.1.50 (host)<br>
<br>
thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
Pol</font></span></blockquote><div><br></div><div>It sounds like what you want is to permit <a href="http://192.168.1.0/24">192.168.1.0/24</a> and deny <a href="http://192.168.1.50/32">192.168.1.50/32</a>.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/bind-users</a><br>
</div></div></blockquote></div><br></div></div>