Home | Trees | Indices | Help |
|
---|
|
object --+ | AddrRange --+ | Wildcard
A block of contiguous IPv4 network addresses defined using a wildcard style syntax.
Individual octets can be represented using the following shortcuts :
*
- the asterisk octet (represents values 0 through 255)
'x-y'
- the hyphenated octet (represents values x
through y)
A few basic rules also apply :
Example wildcards :
'192.168.0.1' # a single address '192.168.0.0-31' # 32 addresses '192.168.0.*' # 256 addresses '192.168.0-1.*' # 512 addresses '192.168-169.*.*' # 131,072 addresses '*.*.*.*' # the whole IPv4 address space
Wildcard ranges are not directly equivalent to CIDR ranges as they can represent address ranges that do not fall on strict bit mask boundaries.
All CIDR ranges can be represented as wildcard ranges but the reverse isn't always true.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
Constructor. |
|
str(x)
|
repr(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 7 22:21:37 2008 | http://epydoc.sourceforge.net |