请输入您要查询的百科知识:

 

词条 Broadcast address
释义

  1. Ethernet

  2. IPX networking

  3. AppleTalk

  4. See also

  5. References

{{refimprove|date=May 2013}}

A broadcast address is a network address at which all devices connected to a multiple-access communications network are enabled to receive datagrams. A message sent to a broadcast address may be received by all network-attached hosts.

In contrast, a multicast address is used to address a specific group of devices and a unicast address is used to address a single device.

=={{visible anchor|IP networking}}==

In Internet Protocol version 4 (IPv4) networks, broadcast addresses are special values in the host-identification part of an IP address.[1] The all-ones value was established as the standard broadcast address for networks that support broadcast.[1] This method of using the all-ones address was first proposed by R. Gurwitz and R. Hinden in 1982.[2] The later introduction of subnets and Classless Inter-Domain Routing changed this slightly, so that the all-ones host address of each subnet is that subnet's broadcast address.[3][4]

The broadcast address for an IPv4 host can be obtained by performing a bitwise OR operation between the bit complement of the subnet mask and the host's IP address. In other words, take the host's IP address, and set to '1' any bit positions which hold a '0' in the subnet mask. For example, for broadcasting a packet to an entire IPv4 subnet using the private IP address space {{IPaddr|172.16.0.0|12}}, which has the subnet mask {{IPaddr||12|netmask=dotted}}, the broadcast address is {{IPaddr|172.16.0.0}} OR {{IPaddr|0.15.255.255}} = {{IPaddr|172.31.255.255}}.

Binary form Dot-decimal notation
Subnet Mask 11111111.11110000.00000000.00000000 255.240.0.0
IP address space 10101100.00010000.00000000.00000000 172.16.0.0
Broadcast address 10101100.00011111.11111111.11111111 172.31.255.255
In bold, is shown the host part of the IP; the other part is the network prefix. The host gets set to all 1's, but the network prefix remains intact.

A special definition exists for the IP address {{IPaddr|255.255.255.255}}. It is the broadcast address of the zero network or {{IPaddr|0.0.0.0}}, which in Internet Protocol standards stands for this network, i.e. the local network. Transmission to this address is limited by definition, in that it is never forwarded by the routers connecting the local network to other networks.

IP broadcasts are used by BOOTP and DHCP clients to find and send requests to their respective servers.

Internet Protocol version 6 (IPv6) does not implement this method of broadcast, and therefore does not define broadcast addresses. Instead, IPv6 uses multicast addressing to the all-hosts multicast group. No IPv6 protocols are defined to use the all-hosts address, though; instead, they send and receive on particular link-local multicast addresses. This results in higher efficiency, because network hosts can filter traffic based on multicast address and do not need to process all broadcasts or all-hosts multicasts.

Ethernet

Broadcast is possible also on the underlying Data Link Layer in Ethernet networks. Frames are addressed to reach every computer on a given LAN segment if they are addressed to MAC address {{MACaddr|FF:FF:FF:FF:FF:FF}}. Ethernet frames that contain IP broadcast packages are usually sent to this address.

Ethernet broadcasts are used by Address Resolution Protocol and Neighbor Discovery Protocol to translate IP addresses to MAC addresses.

IPX networking

The Novell IPX protocol allows broadcast as well. When the network address is specified as FFFFFFFF, a packet is sent to all networks available. When the target node address is specified as FFFFFFFFFFFF, the packet is intended to be received by all hosts in the network.

AppleTalk

The AppleTalk protocol also allows broadcast. When the node ID is specified as 255, a packet is sent to all networks available.

See also

  • Default gateway
  • UDP Helper Address — a tool for routing DHCP and BOOTP broadcast requests across subnet boundaries

References

1. ^{{Cite IETF|rfc=919|title=BROADCASTING INTERNET DATAGRAMS|author1=J. Mogul|date=October 1984}}
2. ^IEN 212, IP - Local Area Network Addressing Issues, Robert Gurwitz, Robert Hinden, Bolt Beranek and Newman (BBN) (September 1982)
3. ^{{Cite IETF|rfc=922|title=BROADCASTING INTERNET DATAGRAMS IN THE PRESENCE OF SUBNETS|author1=J. Mogul|date=October 1984}}
4. ^{{IETF RFC|922}}, Broadcasting Internet Datagrams In the Presence of Subnets, J. Mogul (October 1984)
BroadcastBroadcastBroadcast

1 : Network addressing

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 2:53:03