×

Local Broadcast Address and loopback address

In computer networking, if you send the data from one source to another source or group of sources in the form of packets, then this is called casting.

We can categorize the casting upon the number of receiver sources which are following:

  1. Unicast
  2. Broadcast
  3. Multicast

1. Unicast

When in a network, one host sends the data to another host in the same or different network then this is referred to as Unicast. In Unicast, the number of sources and destinations is always one.

The source host needs the IP address of the destination host, and then it can easily send the data in the form of packets.

For example, when we request some data from a hyperlink, the requested data is only received by the server on our local computer. So there is a direct transmission of data from one source to another source.

This is also referred to as one-to-one communication.

2. Broadcast

When one host sends the data to all the other hosts present in the same network or another network then this is called broadcasting.

One of the popular examples is radio channels. Radio channels broadcast their songs to a particular channel, and all the people on that channel can easily listen to those songs.

Another example of broadcast is the TV channels when these channels broadcast their shows with the help of satellites, then every device that can access these channels can see their shows.

It is also called one-to-many communication.

When receiver hosts are in the same network as the transmitter network, then this is called local broadcasting.

For local broadcasting, the sender needs the IP address of all the receiver hosts. So in IPV4, the address is reserved for all the local broadcasts, and it is called the local broadcast address.

Local broadcast address is 255.255.255.255, and in the binary form, it is

11111111.11111111.11111111.11111111.

For example, let's consider a network where 4 sources ( source1, source2, source3, and source4) are present.

If we want to consider the local broadcast in this network, then we will send the data to all the sources from one node.

Let's suppose the IP address of source 1 is 10.1.1.11

The IP address of source 2 is 10.1.1.22

The IP address of source 3 is 10.1.1.33

The IP address of source 4 is 10.1.1.44

Now, as source we will consider source 1 and in destination we will put the IP address as 255.255.255.255. As we broadcast the message then all the nodes and the router connected to this network will receive the message in the form of packets.

If the sender wants to send the data to all the hosts present in another network then this is called direct broadcasting.

If the destination IP address is 21.0.0.0 then to transmit data, all the hosts present in this network sender will send the data to the address 21.255.255.255.255.

You're presumably already acquainted with the loopback address, often known as localhost. It is a local system's internal address and routes there. In IPv4, the loopback address is 127.0.01. The loopback address in IPv6 is either 0:0:0:0:0:0:1 or::1.

In computer networks, the range for loopback addresses is 127.0.0.0 to 127.255.255.255. The loopback address is used by the operating system to test the software in the local machine.

When the destination is a loopback address for any packet, then the message is received by the same machine as it is destined to itself.

The most common use of loopback addresses is to recognize the device on the network.

IP address

The full form of IP is “Internet Protocol”, which means set of rules for the internet. The IP address is a numerical value that is unique, and it represents the unique node(computer) in the network.

IP addresses are classified in two types:

  1. IPV4
  2. IPV6

In IPV4, the number of bits is 32 which are divided into 4 parts by dots. For example a.b.c.d is a generalized IPV4 address where values of a, b, c and d can vary from 0 to 255.

For example 172.01.85.56 is an IPV4 address.

In IPV4 address number is represented in decimal form.

In IPV6, the number of bits is 128. IPV6 is more advanced and it has more addresses than IPV4. IPV6 numbers are represented in hexadecimal form.

In IPV6 colon is used as a separator between addresses.

For example fd80::c3a8:6435:d2d8:d9f3b01 is an unique IPV6 address.


Related Topics

Microprocessor classification

Introduction: Microprocessor is known as the computer processor. The IC or integrated Circuit makes the microprocessor. that is the brain of the computer machine. The microprocessor is known as the...

6 minutes read.

Instruction Pipelining and Pipeline Hazards

Instruction Pipelining and Pipeline Hazards To apply pipeline, the prerequisite is to perform the same processing over multiple inputs, then pipelining is important. So instruction execution is the best example for...

10 minutes read.

CarryLook Ahead Adder

What is Adder? Adder is the combinational circuit that is used to add the bits in digital electronics. As we know, in the digital system, every number is represented in the...

4 minutes read.

8255 Microprocessor Operating Modes

8255 microprocessor was invented by intel in the year 1980s. 8255 microprocessor is a general-purpose microprocessor that can be programmed. 8255 is mostly used as an interface between devices like...

3 minutes read.

8085 Pin Configuration

Introduction: Intel 8085 is consist 40 pin IC. The pin name of 8085 is A8 – A15; AD0 – AD7; ALE; IO/M; S0, S1; RD; WR; READY; HOLD; HLDA; INTR; INTA;...

6 minutes read.

8085 instructions set

Introduction: In the computer, the user sends the data. The computer can use data and it also process the data. After the processing, send the result to the user. The specific...

10 minutes read.

Biconnectivity in a Graph

What is a Graph? A graph is a structure where values are stored at the vertex, and the relation between vertices is denoted by edges. In a graph, if there is only...

4 minutes read.

Fixed and Floating-Point Number

Fixed and Floating-Point Number: In digital technology, data is stored in memory registers with binary bits 0’s and 1’s because the computer only understands binary language. When we enter data...

6 minutes read.

Addressing mode in 8085 microprocessor

What is a Microprocessor? Microprocessor is a unit which is able to perform arithmetic and logical operations and is built on a single chip. The 8085 microprocessor is built by Intel which...

4 minutes read.

Data Path, ALU and Control Unit

Data Path, ALU(Arithmetic Logic Unit) and Control Unit What is the Data path? Suppose any data processing operation should be performed in the CPU like transferring the content of register from one...

5 minutes read.

Types of Microprocessors

Introduction:Microprocessor is known as the computer processor. The IC or integrated Circuit makes the microprocessor. That is the brain of the computer machine.  The microprocessor is the Processor or CPU (Central...

3 minutes read.

Assembly Language Register

Assembly Language Register Assembly language was introduced during the late 1940s in the second generation. It is a low-level language that helps in communication between the user and the computer. It...

6 minutes read.

Use Case Diagram for the online bank system

What is a Use Case Diagram? A tool is called a Use Case Diagram which is used to create, present, and comprehend the functional requirements for a system. The Use Case...

3 minutes read.

CPU Registers

CPU Registers Within the CPU, we have small- small storage units called registers. If we are executing a certain program within the CPU, there's a need to store that program content,...

11 minutes read.

Instruction Cycle: Computer Organization and Architecture

What is an effective Address? “Effective address is the address of operand in a computation-type instruction.” Computation type instructions are like ADD, SUB, MOV, OR, AND, etc., which require operand to...

4 minutes read.

IEEE Standard 754 Floating Point Numbers

Floating Point Representation: IEEE- 754 There were many problems in the conventional representation of floating-point notation like we could not express 0(zero), infinity number. To solve this, scientists have given a...

8 minutes read.

Control Unit Organization

Control Unit Organization The Control Unit is the unit in the CPU, which controls the various components like input  & output devices, logic unit and memory. The Control Unit is the...

7 minutes read.

Convert a number from base 2 to base 6

Base 2 Base 2 is the format where you can represent any number with just two values which are 0 and 1. With the help of 0s and 1s, we can...

4 minutes read.

74138 IC DECODER

74138 DECODER Decoder A combinational circuit called a decoder can have up to 2n output lines and 'n' input lines. When a decoder is enabled, depending on the mix of inputs,...

4 minutes read.

Control Signals in 8155 Microprocessor

Intel designed the chip 8155 used to interface with I/O devices. Basically, the 8085 microprocessor is directly unable to deal with its peripheral input output devices for reading data or...

3 minutes read.