Professional Documents
Culture Documents
Tech Subjects GATE 2022 GATE CSE Books Job Opportunities Contact Us Subscribe
IP Address in Networking-
Before you go through this article, make sure that you have gone through the previous article on IP Address.
Follow us on Instagram
We have discussed-
IP Address is a unique address assigned to each computing device in an IP network. Recommended Books
ISP assigns IP Address to all the devices present on its network.
Casting refers to transmitting data (stream of packets) over the network.
Types of Delays In this article, we will discuss some practice problems based on IP Address.
Important Points-
Flow Control
Sliding Window Protocol If the range of first octet is [1, 126], then IP Address belongs to class A.
Problems On Sliding Window Protocol If the range of first octet is [128, 191], then IP Address belongs to class B.
Go back N Protocol If the range of first octet is [192, 223], then IP Address belongs to class C.
Problems On Go Back N Protocol If the range of first octet is [224, 239], then IP Address belongs to class D.
If the range of first octet is [240, 254], then IP Address belongs to class E.
Selective Repeat Protocol
Problems On SR Protocol
Access Control Direct Broadcast Address is obtained by setting all its Host ID part bits to 1.
Polling
For any given IP Address, limited Broadcast Address is obtained by setting all its bits to 1.
CSMA / CD
For any network, its limited broadcast address is always 255.255.255.255 Popular Gate Books
Back Off Algorithm
Problems On CSMA / CD
LAN Technologies
PRACTICE PROBLEMS BASED ON IP ADDRESS IN NETWORKING-
Ethernet | Ethernet Frame Format
Problems On Ethernet
Problem-01:
Switching
For the following IP Addresses-
Identify the Class, Network IP Address, Direct broadcast address and Limited broadcast address of each IP
IP Address Address.
Classes of IP Address
Types of Casting
Problems On IP Addresses
Subnetting
IPv4 Subnetting
Characteristics Of TCP
Submit
TCP Header
Part-B:
Sequence Numbers | Wrap Around GATE Exam Corner
Concept
Important Topics For GATE Exam
Given IP Address is-
Three Way Handshake
Standard GATE Textbooks
TCP Retransmission 10.15.20.60
TCP Timers
Limited Broadcast Address = 255.255.255.255
130.1.2.3
Application Layer Protocols
Domain Name Service IP Address belongs to class B
HyperText Transfer Protocol Network IP Address = 130.1.0.0
150.0.150.150
Symmetric Key Cryptography
RSA Algorithm
IP Address belongs to class B
Diffie Hellman Key Exchange
Algorithm Network IP Address = 150.0.0.0
Part-E:
200.1.10.100
220.15.1.10
Part-G:
Part-H:
300.1.2.3
Computer Networks
A device has two or more IP Addresses, the device is called-
Operating System
1. Workstation
Computer Organization & Architecture
2. Router
Data Structures
3. Gateway
Theory of Automata & Computation
4. All of these
Compiler Design
Graph Theory
Machine Learning Router has only 3 layers last layer being network layer.
Artificial Intelligence
A user may configure more than one IP Addresses in his workstation / computer.
With more than one IP Address, it remains present in more than one networks.
So, if one network goes down, it is always reachable from other networks.
The following figure shows a host present in more than one networks-
Router-
Problem-03:
A host with IP Address 200.100.1.1 wants to send a packet to all the hosts in the same network.
1. Source IP Address
2. Destination IP Address
Solution-
1. Source IP Address = IP Address of the sender = 200.100.1.1
2. Destination IP Address = Limited Broadcast Address = 255.255.255.255
Problem-04:
1. Source IP Address
2. Destination IP Address
Solution-
Problem-05:
How many bits are allocated for Network ID and Host ID in 23.192.157.234 address?
Solution-
Thus,
Problem-06:
1. Hub
2. Switch
3. Bridge
4. Router
Solution-
Devices which have network layer as the last layer can only use logical addressing system.
Devices which have data link layer as the last layer can only use physical addressing system.
IP Addresses are the logical addresses and MAC Addresses are the physical addresses.
Option-A:
Hub can neither use physical addressing system nor logical addressing system.
This is because it has physical layer as the last layer.
Option-B:
Switch can use physical addressing system but not logical addressing system.
This is because it has data link layer as the last layer.
Option-C:
Bridge can use physical addressing system but not logical addressing system
Bridge can use physical addressing system but not logical addressing system.
This is because it has data link layer as the last layer.
Option-D:
Router can use physical addressing system as well as logical addressing system.
This is because it has network layer as the last layer.
Problem-07:
Solution-
Problem-08:
Column-I:
1. 200.10.192.100
2. 7.10.230.1
3. 128.1.1.254
4. 255.255.255.255
5. 100.255.255.255
Column-II:
1. Class A
2. Limited Broadcast Address
3. Direct Broadcast Address
4. Class C
5. Class B
Solution-
Problem-09:
Suppose that instead of using 16 bits for network part of a class B Address, 20 bits have been used. How
many class B networks would have been possible?
Solution-
Solution-
Summary
Publisher Logo