[vox-tech] netmask question

Ryan vox-tech@lists.lugod.org
Sun, 10 Mar 2002 12:18:41 -0800


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

Netmasks are not for sepcifing ip ranges, they're for specifing network s=
ize.

You'll should specify this as  7 255.255.0.0 netmasks.

A netmask should always be x number of one bits, followed by all zeros, h=
ence=20
the /x shorthand.

as an example, 255.255.255.16 would not be a valid netmask, but=20
255.255.255.192 would.

On Sunday, March 10 2002 08:51 am, Peter Jay Salzman wrote:
> begin Rod Roark <rod@sunsetsystems.com>
>
> > On Sunday 10 March 2002 08:17 am, Peter Jay Salzman wrote:
> > > how would someone write a range of IP addresses
> > >
> > > 61.220.0.0 - 61.227.255.255
> > >
> > > in the form of n.n.n.n/m.m.m.m?
> > >
> > > i'm looking more for the "how to do it" than the answer.
> >
> > That's a weird range:
> >
> >   220 =3D 11011100
> >   227 =3D 11100011
> >
> > Doesn't tell me what your netmask is, anyway.  :-)
>
> it's an isp in china:
>
> p@satan% whois 61.220.0.0
>
> inetnum:     61.220.0.0 - 61.227.255.255
> netname:     HINET
> descr:       Data Communication Business Group, Chunghwa Telecom Co.,
> descr:       Commerical ISP
> descr:       21, Section 1, Hsin-Yi Road, Taipei,
> descr:       Taipei 100, Taiwan, R.O.C.
>
> so there's no way to describe this network in a hosts.deny file other
> than something like
>
> ALL: 61.220.
> ALL: 61.221.
> ...
> ALL: 61.226.
> ALL: 61.227.
>
> pete
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

- --=20
No Microsoft products were used in any way for the creation of this messa=
ge.
PGP Public key at http://mother.com/~ryan/ryan_at_mother_dot_com.asc
It is also on the servers: Key ID 0x72177BC7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8i7+vEd9E83IXe8cRAi9xAJ9MrkbEp9YQ4/RrOC/ueJZdsv0DYACffhB+
qoAvzHnIMdxasiV2e720DWk=3D
=3DwdCy
-----END PGP SIGNATURE-----