-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03-Jul-2002/18:58 +0000, Tyler Durdin <[EMAIL PROTECTED]> wrote:
>in the samba config file when i am setting the host allow how do i put in
>a range ex. 192.168.0.1 to 192.168.0.10 and then another range from
>192.169.0.20 tp 192.168.0.30? and is there a way to block all other
>hosts?

This would be a lot easier if you used blocks of 8 or 16 addresses. As it
is, it would probably be simpler to just list the IP addresses than to do
all the math to figure out the subnet blocks, then list the additional IPs
that fall outside of a standard subnet block.

If you used blocks of 8 (192.168.0.0-7 and 16-23) you could describe these
subnets as 192.168.0.0/29 and 192.168.0.16/29. If you use blocks of 16
addresses (192.168.0.0-15 and 32-47) your subnets would be 192.168.0.0/28
and 192.168.0.32/28.

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D

iD8DBQE9I1QnpCpg3WyUI50RAg0MAKCtRAN05WXK0r/KyUbWgKIrJLYfdgCgh/ni
4XNceeIJnF/AdweuPXChgjA=
=LeUy
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to