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.
Dig Deeper on LANs (Local Area Networks)
Related Q&A from Michael Gregg
Enterprise security expert, Michael Gregg answers a question regarding port 3389 issues when a user tries to open port 3389 RDP on their router to ...continue reading
Expert Michael Gregg answers a reader question about Snort and the interfaces it uses.continue reading
Security expert Michael Gregg notes the risks to enteprise security that mobile devices may cause.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.