What is Broadcasting in Computer Network?
Last Updated :
03 Aug, 2023
In computer network, there are various ways in which we can transmit data from one node to another node, one node to multiple node, and many node to many nodes. For each type of transmission, there's a term associated with it. Let's see their examples in brief :
- For node to node: 'Unicast' also known as POINT-TO-POINT communication. Example: cell phone conversation.
- When multiple POINT-TO-POINT communications are made its called - 'Multicast'. The message is received by only those hosts who choose to be a part of a multicast group. Example: Video conferencing, sending a message targeting number of people at at a time.
- One Node to ALL Nodes - Broadcasting. Today we'll discuss broadcasting in depth.
What is Broadcasting?
Broadcasting in computer networks is a type of communication mechanism that allows the message to be received by all the nodes of a network. The term broadcast in general refers to the transmission of signals from radio or televisions.
Every broadcasted signal is stopped at layer-3 network layer of OSI or to be more practical - at the router. A more technical example of Broadcasting would be: The Address-Resolution-Protocol request (ARP-Request) whenever a host needs to resolve an IP address to its corresponding MAC address it will broadcast a signal asking "Who this IP address belongs to?" and this broadcasted signal is received by every single node in a network domain and then an appropriate node will respond accordingly.
Let's take example of a broadcast message with an IPv4 address, see the below two diagram of two different networks: (All the nodes are represented by green circles in the below diagrams)

Network 'A' in the above image has an IPv4 address - 90.0.0.0. This is the network address, now if any host has to send a message that is to be received by all the networks within this network then that host will use the address - 255.255.255.255
.png)
Network 'B' in the above image has an IPv4 address - 92.0.0.0. This is the network address now if any host has to send a message that is to be received by all the networks within this network then that host will also use the address - 255.255.255.255
But if any node of Network - 'A' has to broadcast a message to Network - 'B' (ALL the nodes in Network - 'B') then they'll use the broadcast address of a network - 'B' which is - 92.255.255.255. And if the same is to be done from Network - 'B' to Network - 'A' then the broadcast address would be - 90.255.255.255
Key Points on Broadcasting
- Data is sent to all the nodes/stations in the network domain.
- A special broadcast address exist for every network which is used to receive a broadcasted message.
- Not every device want to receive the broadcasted message.
- It generates the most network traffic because the broadcasted message is sent to every node in the network.
- It is less secure. A sensitive message shouldn't be sent to everyone and hence it should be kept in mind before broadcasting a message.
- Examples : Address Resolution Protocol (ARP) requests, Dynamic Host Configuration Protocol (DHCP) requests.
Advantages of Broadcasting
- Ease of communication: The main advantage of broadcasting is it allows the message to be delivered to every node in a network without establishing a POINT-TO-POINT communication channel which saves a lot of time & process overhead.
- Network Troubleshooting: One can easily identify the corrupt resource or potential security threats in a large network by sending a broadcast message.
- Reduced Network Traffic: Unlike unicast, which separately sends a message to each node in a network one by one resulting in high volume of traffic, and multicasting which also requires additional network infrastructure and can be complex to manage. But broadcasting doesn't require any additional network infrastructure and can simultaneously send data to all the nodes in a network without increasing traffic.
Disadvantages of Broadcasting
- Broadcast Storm: At any point of time if all of a sudden, a number of devices in a network choose to respond to a broadcasted message by sending another broadcast simultaneously then it would lead to higher network traffic and ultimately result in network failure.
- Limited Control & Security issue: When broadcasting a message, we have limited control i.e the data is sent to everyone. So any message before being broadcasted should be made sure that its intended user is everyone in the network.
- Broadcasting doesn't support large amount of devices, it also doesn't allow the message to be customized based on personal preferences.
Types of Broadcasting
There are 3 types of broadcasting mainly :
1. Limited Broadcast
It is a simplest broadcasting in which a message is transmitted to every node within a same network (the destination node exists within the same network), the scope of broadcast doesn't go beyond the local network. And an example IPv4 address would be - 255.255.255.255, and IPv6 : FF02::1
2. Directed Broadcast
In directed Broadcast, the message is sent to a specific group of hosts within a network that can be identified by their subnets. And the host bits of the destination IPv4 address are all set to 1. Example: 192.168.1.255
3. Subnet Broadcast
Subnetting refers to creating a smaller network within a larger network that shares a common network address. Whenever a message is to be broadcasted to a specific subnet within a larger network then its called subnet Broadcast. In this, the message is sent to the broadcast address of a specific subnet and the broadcast address of a subnet is the highest possible address. For example if the subnet address is : 192.168.1.0 & the subnet mask is 255.255.255.0 then the broadcast address would be 192.169.1.255.
How Broadcasting Works?
It works in following steps :
- The sender of the message to be broadcasted will initiate the process by setting the destination address as the broadcast address of the network.
- The message is encapsulated into the network frame with the destination MAC Address set to the broadcast MAC Address.
- The message is then finally broadcasted, and is received by all the devices of the intended network and the devices that receive this message check if the broadcast matches with their own IP Address.
- If its a match, then device proceeds with the message further else it discards it.
How To Calculate Broadcast Address?
Case 1:
Consider an IP address of class A - 10.20.15.3 and the default subnet mask for class A is 255.0.0.0. In each octet, there are 8 bits. So now at bit-level we'll perform an OR operation on 'inverted' Subnet Mask. See the below diagram :

Final Broadcast Address : 10.255.255.255
Case 2:
Consider an IP address of class C - 192.168.3.33 and the subnet mask given is: 255.255.255.248.
Perform same Bitwise OR operation on the given IP & subnet mask till 3rd octet.

But in the 4th octet as we can see its value is neither 0 nor 255 so we'll have to take some ADDITIONAL STEPS :
- There is a total of 256 values for each octet (0-255). So we'll subtract 248 from 256. 256-248 = 8.
- 8 here is called the multiplier. Now we have to determine how many multiples of 8 we need to come up with in order to obtain a value just GREATER than - 33 (4th octet in the given IP - 192.168.3.33).
- Checking multipliers of 8 (keep adding 8 until you get a number greater than 33) :-
- 8 + 8 = 16 (16 < 33)
- 16 + 8 = 24 (24 < 33)
- 24 + 8 = 32 (32 < 33)
- 32 + 8 = 40 (40 > 33)
- We got our answer - 40 which is immediate greater than 33 and is the multiplier of 8.
- Now, the next step is to subtract 1 from 40. 40-1 = 39. And put 39 in the last octet of our broadcast address and that's the final broadcast address : 192.168.3.39
Difference between Broadcasting and Multicasting
|
Definition | In this, the sender broadcasters the message to all the nodes present in a network | In this, the message is sent only to a group of nodes (intended ones). |
Network overhead | The network overhead is high as in this, the message is sent to all the devices present in the network (Generates a large network traffic) | The network overhead is comparatively low because the message is sent only to the devices who've joined the multicast group (generates a moderate level of network traffic) |
Addressing | Uses a broadcast address. Ex IPv4 : 192.168.10.255 IPv6 : (FF:FF:FF:FF:FF:FF) | Uses a special multicast address |
Recepients | Everyone present in the network | Only a group of nodes which wants to receive the message |
Example | Address Resolution protocol (ARP) because in ARP, the message is broadcasted to identify the corresponding MAC address related to the IP address | Video streaming or meeting with specific clients & audience. |
Similar Reads
What is Broadcast Domain ? When a computer network is separated logically then it is a Broadcast Domain. In a Broadcast Domain, there is reachability among nodes using broadcast at layer 2 of the OSI (Open System Interconnection) Model i.e. Data Link Layer. The broadcasts sent by one device are kept in a broadcast domain and
2 min read
Computer Network - Cheat Sheet A computer network is an interconnected computing device that can exchange data and share resources. These connected devices use a set of rules called communication protocols to transfer information over physical or wireless technology. Modern networks offer more than just connectivity. Enterprises
15+ min read
CATA protocol in Computer Network Collision Avoidance Time Allocation (CATA) Protocol is a Contention Based MAC Protocols with Reservation which is based on dynamic topology dependent transmission scheduling. In this, time is broken into frames, every frame is divided into slots, and each slots is divided into 5 mini-slots. Initial
3 min read
Difference between Unicast, Broadcast and Multicast in Computer Network The cast term here signifies some data(stream of packets) is being transmitted to the recipient(s) from the client(s) side over the communication channel that helps them to communicate. Let's see some of the "cast" concepts that are prevailing in the computer networks field. What is Unicast?This typ
5 min read
Basics of Computer Networking A computer network is a collection of interconnected devices that share resources and information. These devices can include computers, servers, printers, and other hardware. Networks allow for the efficient exchange of data, enabling various applications such as email, file sharing, and internet br
14 min read
Socket in Computer Network A socket is one endpoint of a two way communication link between two programs running on the network. The socket mechanism provides a means of inter-process communication (IPC) by establishing named contact points between which the communication take place. How Sockets Work in Computer NetworksLike
2 min read
Repeaters in Computer Network A computer network is made up of various devices, such as the hub, repeater, modem, switch, computer devices, etc. Each device plays a vital role in networking. Repeaters are used to extend the network and provide security, strength, and no data loss. In this article we will discuss repeater in deta
6 min read
Multiple Access Protocols in Computer Network Multiple Access Protocols are methods used in computer networks to control how data is transmitted when multiple devices are trying to communicate over the same network. These protocols ensure that data packets are sent and received efficiently, without collisions or interference. They help manage t
9 min read
Multiplexing (Channel Sharing) in Computer Network Multiplexing means multiple sources but one link. An alternative approach is a Direct point-to-point connection, but it has several problems as it requires an I/O port for each device, a need line for each device, and also a large amount of wiring needed if on different floors. Instead, if we use a
9 min read
Dimensions of Computer Network Dimensions of computer networks mean under what characteristics or factors can the computer networks be categorized. Computer networks can be divided into different groups under the pattern which recognizes the transmission of information or messages by the sender to the receiver and the area it cov
3 min read