Project

General

Profile

Bug #7008

Stop handling the all-zero address in a subnet as broadcast

Added by Jörg Sonnenberger over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-05-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

In the early days of IP, both the all-zero and all-one address of a subnet had the special
broadcast properties. After 4.2BSD, this was mostly consolidated to using the all-one
address as canonical broadcast address of the subnet. The RFCs discouraged the use
of all-zero, but it was never really invalid contrary to various folklore. In the mean time,
smaller allocations like /28 have become a necessity in many places and wasting addresses costs real money.

This patch removes the broadcast flag and allows using the all-zero address normally.
This is consistent with the behavior of Windows and at least some of the BSDs (modulo
sysctl settings). If the all-zero address is not in use, nothing changes.


Files

allow-all-zero.diff (1.43 KB) allow-all-zero.diff Jörg Sonnenberger, 2016-05-28 11:12 PM

No data to display

Also available in: Atom PDF