[issue22876] ip_interface can't be broadcast or number net
R. David Murray
report at bugs.python.org
Sat Nov 15 20:02:34 CET 2014
R. David Murray added the comment:
Well, it can be the network, even though it isn't typically (and some devices don't support it...I'm pretty sure I remember doing it on a Cisco, though I wouldn't swear to it without testing :). Same is true for broadcast, though that would be *really* questionable and I doubt many devices support it. (At least, I couldn't find any RFC that says those two addresses are actually reserved in all contexts).
I know of two situations in which it is specifically not true: the simplest (which could be special cased) is a two ip (point to point) subnet. The other is a "routed" subnet: a subnet where the subnet is routed to a router/firewall, and the router/firewall NATs those addresses to some internal addresses. Conceptually, every IP in the subnet can be an interface IP.
----------
nosy: +r.david.murray
versions: +Python 3.4, Python 3.5 -Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22876>
_______________________________________
More information about the Python-bugs-list
mailing list