Introduction
- All entities in a data communications network must be uniquely identified to allow data to be directed to the intended recipient. This process is known as “addressing” and the identifier allocated to a node is known as its address.
- Each node/device is usually allocated at least one address.
Definition
- Network addressing a way to put unique value as addresses to the devices used in a computer network. Thus, it identifies networking devices separately/individually or as members of a group in a network uniquely.
Characteristics
- The network addresses are normally quoted in a numeric format (either in hexadecimal, decimal, or dotted decimal form), which is easily encoded into binary for transmission across the network.
- An address is a data structure, understood by the network, used to specify the destination of a connection/ message/ packet/ process/ device/service.
Types of Network Addressing
[A] OSI Layer Addresses
- Network Addressing is performed on various layers of the OSI model. Thus, schemes used for addressing vary on the basis of the protocol used and the OSI layer. On this basis, internetwork addresses can be categorised into three types –
(a) Data Link Layer/Physical/Hardware Addresses
(b) Media Access Control (MAC)/Subnetwork addresses
(c) Network Layer/Logical/Virtual Addresses
(a) Data Link Layer Addresses
-
- Data-link layer addresses sometimes also called physical or hardware addresses, that uniquely identify each physical network connection of a network device.
- Usually data-link addresses have a pre-established and fixed relationship to a specific device.
- End systems generally have only one physical network connection and thus, have only one data-link address.
- Routers and other internetworking devices typically have multiple physical network connections and therefore, have multiple data-link addresses.
(b) Media Access Control (MAC) Addresses
-
- Media Access Control (MAC) addresses are used to identify network entities in LANs that implement the IEEE MAC addresses of the data link layer.
- These addresses are 48 bits(8 btyes) in length and are expressed as 12 hexadecimal digits.
- MAC addresses are unique for each LAN interface.
- These addresses consist of a subset of data link layer addresses.
(c) Network Layer Addresses
-
- Network addresses are sometimes called virtual or logical addresses.
- These addresses are used to identify an entity at the network layer of the OSI model.
- Network layer addresses are usually hierarchical addresses.
[B] Hierarchical and Flat Network Addresses
Usually Internetwork addresses may fall into two major categories
(a) Hierarchical address
- Hierarchical addresses are combination of number of subgroups and each subgroup is successively narrowing an address until it points to a ultimate final device in the network.
- When the networks use a hierarchical address structure, the network may use this address to perform the routing operation.
- A typical example of a hierarchical addressing system is the telephone numbering scheme(+91-9334102034) in which many subgroups of number is assigned successively and each subgroup identifies the specific entity such as name of country, name of state, name of district, location/area of user or subscriber etc.
(b) Flat address
- Many networks use a flat addressing scheme in which certain numbers are organized as an index mainly, such as our roll no., that provides no indication of the location of a computer in the network. Here, the number itself says nothing about the individual.
- Examples – the MAC hardware address.
- This type of address is easily administered and assumes no specific network topology.
- Flat networks are designed to reduce the number of routers and switches on a computer network by connecting the devices to a single switch instead of separate switches.
- Flat networks are typically used in homes or small businesses where network requirements are low.
- They have poor security.
[C]Static & Dynamic IP(Network) Addresses
- To display Static & Dynamic IP of a device = Type “ipconfig /all” at DOS prompt.
- A networking device that possess an IP address which can be assigned in either of these two ways/forms: –
(i) Static IP Address
- This address is assigned by a network administrator according to a predefined internetwork plan.
- A static address does not change/remains constant until the network administrator changes it manually.
- Typically, static IP addresses are best for businesses, which host their own websites and internet services.
(ii) Dynamic IP Address
- This address is assigned automatically to the device when they are
connected to a network - This is done by means of some protocol-specific process.
- The same device normally possess different addresses each time when connected to the network.
- Dynamic IP addresses are usually fine for most consumers.
(D) IP/Network/Classful Address
Introduction
Definition
- IP address is a unique address(i.e., no two machines on the Internet can have same IP address) that gives the addresses and thus helps in identifying the existing network uniquely .
Features
- Every host and router, in a internetwork possess an IP address.
- The three main IP address classes are class A, class B, and class C.
- By examining the first few bits of an IP address, IP software can quickly determine the class, and therefore, the structure of an address.
Types & Structure
- The typical old format of all IP addresses are 32-bit long(4-octet) numeric address written as four numbers separated by periods/dot symbol. Each number can be ranges from 0 to 255.
- An IP address identifies the connection of a host to its network.
- An IP address is actually/technically associated with an interface rather than with the host or a router.
- IP addresses are used in the Source address and Destination address fields of IP header packets.
- An IP address consists of three parts –
(i) Class type:
-
- This field indicates the IP class, to which the packet belongs.
- This field identifies a specific computer/device on the network.
(ii) Network identifier (netid):
-
- This field identifies the network (a group of computers) id.
(iii) Host identifier (hostid):
-
- This field identifies a specific computer/device attached in the network.
- IP addresses are divided into the five categories. These different classes are designed to cover the needs of IP addresses for different types of organisations in the world.
(i)Class A:
- In binary form of IP address, If the only first bit of an IP address is 0, it is considered as the address of a class A network.
- In decimal form of IP address, If the number in the first byte is between 0-127, then the IP address is in the Class A range.
- The first bit of Netid/Network address of class A address identifies the address class and the next 7 bits identify the network, and the last 24 bits identify the host(hostid/host address).
- There are fewer than 128 class A network numbers, but each class A network can be composed of millions of hosts(231=2,147,483,648).
(ii)Class B:
- In binary form of IP address, If the only first 2 bits of the address are 1 0, it is considered as a class B network address.
- In decimal form of IP address, If the number in the first byte is between 128-191, then the IP address is in the Class B range.
- The first 2 bits of Netid/Network part identify address class whereas the next 14 bits identify the network address, and the last 16 bits identify the host address.
- There are thousands of class B network numbers and each class B network can contain thousands of hosts( 231=1,073,741,824).
(iii)Class C:
- In binary form of IP address, If the only first 3 bits of the IP addresses are 1 1 0, it is considered as a class C network address.
- In decimal form of IP address, If the number in the first byte is between 192-223, then the IP address is in the Class C range.
- In a class C address, the first 3 bits of netid are used to represent address class identifiers and the next 21 bits are the network address, and the last 8 bits identify the host address.
- There are millions of class C network numbers, but each class C network is composed of fewer than 254 hosts.
(iv) Class D:
- In binary form of IP address, If the only first 4 bits of the address are 1 1 1 0, then it is considered as a class C network address/multicast address.
- Multicast addresses are used to address groups of computers together at moment in time. Multicast addresses, identify a group of computers that share a common application, such as a video conference, as opposed to a group of computers that share a common network.
- In decimal form of IP address, If the number in the first byte is between 224-239, then the IP address is in the Class D range.
- These addresses are sometimes called class D addresses, but they don’t really refer to specific networks.
(v)Class E:
- In binary form of IP address, If the first four bits of the address are 1 1 1 1, it is a special reserved address i.e. class E.
- These addresses are called class E addresses, but they don’t really refer
to specific networks. - No numbers are currently assigned in this range practically but theoretically In decimal form of IP address, If the number in the first byte is between 240-255, then the IP address is in the Class E range.
(E)
(a) Private IP Address
-
- Private IP address is those which are not routed and applied on the internet and they work on the local network only.
- For example – The following IP addresses are normally used in local network IP addresses. These are –
(i) Class A = 10.0.0.0 to 10.255.255.255
(ii) Class B = 172.16.0.0 to 172.31.255.255
(iii) Class C = 192.168.0.0 to 192.168.255.255
0 Comments