×

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

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.

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.

Interfacing DAC with the 8051 Microcontroller

A wide range of applications calls for microcontrollers, including measuring and controlling physical quantities like temperature, pressure, speed, and distance. In these systems, the microcontroller creates digital output, but the controlling...

2 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.

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.

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.

Pipelining: Computer Organization and Architecture

Introduction to Pipelining Before learning pipeline, we have to understand about the Parallel processing. Parallel processing is the processing of data simultaneously. There are three techniques of parallel processing. Types of Processing: Vector ProcessingArray...

7 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.

Machine Instructions

What is a Digital Computer? A computer that takes input in a binary form and produces output in binary form. The question arises of what kind of input the computer takes...

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.

Digital Number System

Digital Number System: The computer understands digital language only. Many number systems are used in digital technology. The most common are Decimal, Binary, Octal and Hexadecimal number systems. Types of the...

7 minutes read.

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...

3 minutes read.

Micro-Operations

Micro-Operations If CPU wants to perform any operation, suppose execution of only one instruction or even break it down one particular execution phase (like fetch instruction, write back, decode, operand fetch...

9 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.

Ethernet Frame Format

What is Ethernet? As we know in computer networking, LAN (Local Area Network) is used to connect devices in limited geographical areas like schools or a building.LAN uses different topologies (arrangement...

3 minutes read.

BCD to 7 Segment Decoder

What is BCD? BCD is called Binary Coded Decimal. As you know there are a lot of forms in which we can represent the number like Binary, decimal, hexadecimal, and octal...

3 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.

Data Transfer and Manipulation

What is Data Transfer? In computer architecture, data transfer refers to the movement of data between different components within a computer system. These components can include the central processing unit (CPU),...

6 minutes read.

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.

COA: Interrupt and its types

Introduction: In general terms, the word interrupt means to stop the progress of ongoing work in between or to break the continuation of the work. In early digital computing, the...

5 minutes read.