Problem solve Get help with specific problems with your technologies, process and projects.

What is the broadcast address used for?

What is the broadcast address (or the Network address with the invers of the Netmask) used for?

This is what I know so far:
"It is used in arp to get the hardware (MAC) address of the target." Doesn't make sense: If the target is listening on both the BROADCAST and it's IP addresses, the source might as well use the target's IP address in order to ask the for the MAC address from the target.
IP and MAC addresses are both needed. If you use the analogy of sending a letter, both a physical street address and a logical name are needed to complete delivery. A network operates in much the same fashion.

The network stack is implemented in layers. The most common method used to explain its operation is the OSI model. Toward the bottom of the stack are the physical layer protocols. An example of a physical layer protocol is Ethernet. Ethernet nodes are identified by MAC address. MAC addressing is the method of communication used to communicate on a LAN.

Higher up the stack are logical protocols. An example of a logical protocol is IP. Therefore if IP needed to send information to the gateway router in must pass the data packet down the stack to the NIC. This resolution of a known IP to an unknown physical address is known as ARP. Since the NIC does not know the physical address of the gateway router, it performs an ARP to determine the gateway routers physical address. Once this information is returned, the packet can be addresses with the gateway routers MAC address and the packet can be sent out on the wire. Most systems cache this information so that an ARP does not have to be performed each time a packet is transmitted.

This was last published in August 2003

Dig Deeper on Campus area network