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

Re: Pergunta básica de redes.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 28-06-2009 13:02, Allan Carvalho wrote:
> Prezados. 
> 
> Peço perdão pela pergunta básica de redes, mas eu realmente não sei o
> que significa essa representação. 
> 
> O que significa uma máscara de rede referenciada deste jeito:
> /26{5,7,9,16}?  

Segundo a documentação da Apple e do DragonFlyBSD são IPs dentro da
faixa especificada.


list: {num | num-num}[,list]
  Matches all addresses with base address addr (specified as a dotted
  quad or a hostname) and whose last byte is in the list between
  braces { } .  Note that there must be no spaces between braces and
  numbers (spaces after commas are allowed).  Elements of the list
  can be specified as single entries or ranges.  The masklen field is
  used to limit the size of the set of addresses, and can have any
  value between 24 and 32. If not specified, it will be assumed as 24.

  This format is particularly useful to handle sparse address sets
  within a single rule. Because the matching occurs using a bitmask,
  it takes constant time and dramatically reduces the complexity of
  rulesets.

  As an example, an address specified as 1.2.3.4/24{128,35-55,89} will
  match the following IP addresses:
  1.2.3.128, 1.2.3.35 to 1.2.3.55, 1.2.3.89 .

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/ipfw.8.html
http://leaf.dragonflybsd.org/cgi/web-man?command=ipfw&section=8

Abraço,
- --
Felipe Augusto van de Wiel (faw)
"Debian. Freedom to code. Code to freedom!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkpSZOsACgkQCjAO0JDlykY1xACguUNT21WPDk4pDD7CitjSPiMp
21gAoNMHDarcK5hwhbEjpd+RJwMLhwYB
=mme1
-----END PGP SIGNATURE-----


Reply to: