network addressing
network addressing
we can say that if any two devices want to engage in any kind of dialogue
(communication), then they should first identify themselves in this complex network
transmission arena. So first they should know each other’s respective addresses (of source
and destination) .
In the internet employing TCP/IP protocol, we have four levels of addresses being in
use for different layers. Now let us see the different addressing methods in detail.
Four types of addressing methods used are the following :
Physical address
Logical address (IP)
Port address and
Specific address
Before we dig deep into each type of addressing, we should first understand the respective
mapping (implementation) of each address in each of the layers of TCP/IP model:
A MAC address is basically a local address. It will be unique locally but it is not unique
universally. The format and size of this kind of address will further change depending on the
network.Most importantly we should be able to map an IP address into a corresponding MAC
address.The size and format of any physical address vary depending on the nature of network.
The Ethernet (LAN) uses a 48-bit (6-byte) physical address which is normally
produced in the network interfacing card (NIC).
The sender computer with a physical address of 15 wants of communicate with the receiver
computer with a physical address 54.The frame sent by any sender consists of the destination
address,senders address,encapsulated data, and a trailer that contains the error control bit.
When this frame travels over the bus topology ,each and every computer receives it and tries
to match it with its own physical address.Each of the stations having a physical address which
is other than 54 declines the frame simply because the destination target contained in the
framework doesn’t match it’s very own physical address .
If the destination address in the frame header does not match with the physical address it will
simply drop the frame.At receiver computer(D) the destinations address matches with its
physical address (54).So the frame is accepted and decapsulation is carried out to recover the
data.Thus finally the frame is checked, the header and the trailer are dropped, and the data
part is then decapsulated and delivered to the upper layer.
The internet consists of many physical networks interconnected via devices like routers.
Internet is a packed switched networked that means the data from the source computer is sent
in the form of small packets carrying the destination address upon them.
A packet starts from the source host,passes through many physical networks, and finally
reaches the destination host.When the frame reaches the destination, the packet is then
decapsulated.
The destination logical address further matches the logical address of a particular computer.
The data are then finally decapsulated from the packet and then delivered (forwarded) to the
upper layer.
The message frame is initially received by every unit on the LAN network , but is then
declined by all apart from the necessarily required router, which ultimately realizes that the
location destination address in the frame fits with its own target physical address. The router
then finally decapsulates the data packet in order to retrieve the destination logical address .
At the network level , the hosts and routers are further recognised by their IP
Addresses.Note that although the physical addresses will change itself from the hop to hop
movement (each jump transition) , the logical addresses will remain the same from the source
to destination .
3. Port Address:
The IP and Physical address are essential for any level of data traveling from the
certain specific source to the destination host that is required. But in today’s modern
computers, we may require to run multiple processes on it simultaneously.
Let us suppose a computer says ‘A’ first initiate communication with another computer
named ‘C’ by using TELNET. Further, consider now, the same computer ‘A’ communicates
with any computer ‘B’ simultaneously by means of the File Transfer Protocol (FTP) .
The main objective of the internet is the process to process communications. For this
purpose, it is necessary to label or name a specific process.
Thus the process needs addresses. The label that is allocated to a process is known as the port
address.It is a 16 bit address field .
The physical addresses change for each and every trip a packet takes, but the logical and port
addresses basically will remain as it is.
4. Specific Addresses:
A few of the applications generally have simple (easy to use) address. Examples of
specific addresses are the e-mail addresses of the University Resource Locators(URL).
Examples mainly consist of the email address (for eg, electronicscrunch@gmail.com) and the
Universal Resource Locator (URL) (for eg , www.gmail.com).
These kinds of addresses are designed for a specific address. However, this address
gets changed according to the required logical and port addresses sent from the sender
computer.So this is it from this topic of different addressing methods implemented in TCP/IP
architecture. From the next post onwards we will start looking into each of the protocols in
detail.
Network Addressing
Classful Addressing
o Class A
o Class B
o Class C
o Class D
o Class E
Class A
In Class A, an IP address is assigned to those networks that contain a large number of hosts
In Class A, the first bit in higher order bits of the first octet is always set to 0 and the
remaining 7 bits determine the network ID. The 24 bits determine the host ID in any network.
Class B
In Class B, an IP address is assigned to those networks that range from small-sized to large-
sized networks.
Class C
In Class C, the higher order bits of the first octet is always set to 110, and the remaining 21
bits determine the network ID. The 8 bits of the host ID determine the host in a network.
Class D
In Class D, an IP address is reserved for multicast addresses. It does not possess subnetting.
The higher order bits of the first octet is always set to 1110, and the remaining bits
determines the host ID in any network.
Class E
In Class E, an IP address is used for the future use or for the research and development
purposes. It does not possess any subnetting. The higher order bits of the first octet is always
set to 1111, and the remaining bits determines the host ID in any network.
Rules for assigning Host ID:
The Host ID is used to determine the host within any network. The Host ID is assigned based
on the following rules:
If the hosts are located within the same local network, then they are assigned with the same
network ID. The following are the rules for assigning Network ID:
A 0 8 24 27 224 0.0.0.0 to
127.255.255.255