(original) (raw)

2009/9/26 "Martin v. L�wis" <martin@v.loewis.de>


> I don't think the RFCs forbid the zero address being used





RFC 1122 does: "IP addresses are not permitted to have the value 0 or -1

for any of the <Host-number>, <Network-number>, or <Subnet-

number> fields (except in the special cases listed above)."


The current version of the PEP and reference implementation do not mention or deal with IPv4
classful addressing (A, B, C, D and E). It would be good to
know if any of this (admittedly older yet no less important) functionality is going to be supported. If the library is to concentrate solely on classless addressing (i.e. CIDR) please can this be stated in future revisions of the PEP.




RFC 3021 modifies this requirement, allowing the zero address to

be used for an 31-bit prefix.


Regards,
Martin
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/drkjam%40gmail.com