Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Earn Money

I want to earn money by completing tasks…

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 1

IP Addressing

85

IP Addressing

 An IP address is a numeric identifier assigned to
each machine on an IP network.

 Software address, 32-bit long divided into four
sections, referred to as octets.

 4.3 billion address space
 written in a format known as dotted decimal.
 172.16.30.56
 The 32-bit IP address is a structured or hierarchical

address.

86

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 2

IP Address Structure

 IP addressing uses two-level (three-level) hierarchical addressing
structured by network and host, network, subnet and host.

 The network address uniquely identifies each network segment
to which one or more hosts are connected.

 Every machine on the same network shares that network address
as part of its IP address.

 In the IP address 172.16.30.56, for example, 172.16 is the network
address.

 The node address or host address is assigned to, and uniquely
identifies, each machine on a network.

 This part of the address must be unique because it identifies a
particular machine—an individual— as opposed to a network,
which is a group.

 In the sample IP address 172.16.30.56, the 30.56 is the node
address.

87

IP Address Classes

 The designers of the Internet decided to create classes of
networks based on network size.

 For the small number of networks possessing a very large
number of hosts, they created the rank Class A network.

 At the other extreme is the Class C network, which is reserved
for the numerous networks with a small number of hosts.

 The class distinction for networks between very large and very
small is predictably called the Class B network.

88

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 3

Class of IP Address – Range
89

90

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 4

91

92

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 5

IPV4 Address
93

Default subnet mask

 A subnet mask is a 32-bit value that allows the recipient of IP
packets to distinguish the network ID portion of the IP address
from the host ID portion of the IP address.

 The 1s in the subnet mask represent the positions that refer to
the network or subnet addresses.

94

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 6

Default subnet mask
95

Special purpose / Reserved IPs

 Some IP addresses are reserved for special purposes- can’t assigned to hosts.

96

Link-local Addresses
In case a host is not able to acquire an IP address from the DHCP server and it has
not been assigned any IP address manually, the host can assign itself an IP address
from a range of reserved Link-local addresses. Link local address ranges from
169.254.0.0 — 169.254.255.255.
These IPs are also not routable.

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 7

97

 Link-local Addresses

 In case a host is not able to acquire an IP address from the
DHCP server and it has not been assigned any IP address
manually, the host can assign itself an IP address from a range
of reserved Link-local addresses. Link local address ranges
from 169.254.0.0 — 169.254.255.255.

 These IPs are also not routable.

Private IPs

 These addresses can be used on a private network, but they’re not
routable through the Internet.

 If every host on every network had to have real routable IP
addresses, we would have run out of IP addresses.

 By using private IP addresses, ISPs, corporations, and home users
only need a relatively tiny group of IP addresses to connect their
networks to the Internet.

 This is economical because they can use private IP addresses on their
inside networks.

98

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 8

Private IPs
99

• These private addresses are used within an organization or site to allow devices to
communicate locally. However, because these addresses do not identify any single
company or organization over Internet, therefore, private IPv4 addresses cannot
be routed over the Internet.

Network Address Translation (NAT) is required to convert a private IP to real
(public) IP.

Network Address Translation
100

 Number of available IPv4 addresses is not enough.

 Due to explosion of the Internet and the increase in home networks and
business networks.

 The obvious solution is to redesign the address format to allow for more
possible addresses.

 IPv6 – developed, but will take several years to implement because it
requires modification of the entire infrastructure of the Internet.

 NAT (RFC 1631) comes to the rescue. Network Address Translation allows a
single device, such as a router, to act as an agent between the Internet (or
“public network”) and a local (or “private”) network.

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 9

NAT
101

 NAT combined with private IPv4 addresses has
proven to be a useful method of preserving public
IPv4 addresses.

 A single, public IPv4 address can be shared by
hundreds, even thousands, of devices, each
configured with a unique private IPv4 address.

 Without NAT, the exhaustion of the IPv4 address
space would have occurred well before the year
2000.

NAT-Enabled Router
102

 NAT-enabled routers can be configured with one or more valid public IPv4 addresses.

 These public addresses are known as the NAT pool. When an internal device sends traffic
out of the network, the NAT-enabled router translates the internal IPv4 address of the
device to a public address from the NAT pool.

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 10

NAT address types
103

 Addresses used after NAT translations are called global addresses.

 These are usually the public addresses used on the Internet

 Local addresses are the ones we use before NAT translation.

 So, the inside local address is actually the private address of the sending
host that’s trying to get to the Internet

104

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 11

105

NAT working
106

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 12

Types of NAT
107

 Static NAT

 Dynamic NAT

 PAT (Port Address Translation)

Static NAT
108

 Static NAT uses a one-to-one mapping of local and global addresses. These
mappings are configured by the network administrator and remain
constant.

 Basic static NAT configuration:
ip nat inside source static 10.1.1.1 170.46.2.2

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 13

Dynamic NAT
109

 Dynamic NAT uses a pool of public addresses and assigns them on a first-
come, first-served basis. When an inside device requests access to an
outside network, dynamic NAT assigns an available public IPv4 address
from the pool.

 Dynamic NAT configuration:

 ip nat pool todd 170.168.2.2 170.168.2.254
netmask 255.255.255.0
ip nat inside source list 1 pool todd

PAT – NAT Overloading

 With PAT, multiple
addresses can be mapped to
one or to a few addresses
because each private
address is also tracked by a
port number.

 ip nat pool globalnet
170.168.2.1 170.168.2.1

 netmask 255.255.255.0
 ip nat inside source list 1

pool globalnet overload

110

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 14

111

Network Address Translation
112

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 15

113

114

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 16

115

116

Subject: Computer Networks 8/16/2024

Subject Teacher: Dr. Adnan Ahmed Arain, Dept.
of Cyber Security, QUEST, Nawabshah 17

Who governs the IP Address
117

There are five Regional Internet Registries covering the whole world. They are:
•AFRINIC – African Network Information Centre
•APNIC -Asia-Pacific Network Information Centre
•ARIN – American Registry for Internet Numbers
•LACNIC – Latin America and Caribbean Network Information Centre
•RIP NCC – Réseaux IP Européens Network Coordination Centre
The RIRs are responsible for the allocation and management of IP addresses and AS
(Autonomous System) numbers to their respective local internet registries and the
internet service provider( ISP). The ISP further assigns the IP addresses to the end-users.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

The Equifax Data Breach

Briefly explain what the Equifax data breach was, why it happened, and why it was important. You should mention that Equifax failed to protect personal data, discuss the ethical and security issues involved, and explain what companies can learn from the incident. Please see attached documents. 

Reflection on Big Data and AI

please see attached DAT 260 Module Five Journal Guidelines and Rubric Overview In this journal assignment, you will reflect on key concepts covered in this module. This assignment directly supports your work in Project Two, which is due in Module Seven. Directions In a well-crafted journal entry, address the following:

Disaster Recovery

  Questions: Research the network and server outage problems experienced during a previous man-made or natural disaster and answer the following questions: What parts of the infrastructure was impacted? How were the networks recovered? How redundancy could have mitigated the impact of the disaster?

Network Design and Plan Purpose

Please review attachment Mod 4 Project: Network Design and Plan Purpose In this module, we will introduce a course design project that will be completed in four parts during the course. This project provides you an opportunity to solve a comprehensive problem in firewall and virtual private network (VPN) implementation

Memecoins & Stablecoins Development

Please take a look at the attachment. Lab #3: Blockchain-Based Ecosystems: Memecoins & Stablecoins Development, Attack Simulation, and Auditing Lastname: ______________ First name:____________Date_______ TA_Prove_ Yes/No 1. Overview This lab guides students through designing, implementing, deploying, testing, and auditing a simple memecoin (ERC‑20) and a minimal ecosystem around it (liquidity pool,

Blockchain Presentation

presentation about a blockchain Term Project CIS 5730- Blockchain Application Project Guideline Part ii–Presentation Along with the project you will present what you did to the class in a short presentation. If you want, you can demonstrate the project, or just present an overview of what you did. Presentations should

Network Threats

  Questions: Below is a list of common network attacks: Distributed Denial of Service (DDoS) DNS poisoning ARP poisoning Domain hijacking MAC flooding MAC cloning Man-in-the-Middle Explain two of these network attacks and discuss methods/techniques for protecting the network against them.

Best Practices for Role-Based Privilege Management in Databases

  Research the best practices for managing and securing role-based privileges in databases and address the following questions in your discussion post:  What are the key challenges in managing role-based privileges, and how do they impact database security? Can you provide a real-world scenario where poor role-based privilege management led

Computer Science Cloud Computing assignment

Please see attachment for details 4 [ Note: To complete this template, replace the bracketed text with your own content. Remove this note before you submit your paper.] Cloud Computing Evaluation Paper 1 Cloud Computing [Differentiate between cloud computing models and their uses. What are the different types of deployment

Computer Science- Python Python Programming Assignment

Computer Science Python Programming Lab assignment help. Design a Python program that calculates a credit card customer’s minimum payment based on their balance. Please use If Else and elif statements in your code. You must add comments in your code. Please round the minimum payment to two decimal places using

Blockchain Application

I need help with my coursework project. Let me know if you need any help from me.  Lab 2: Blockchain-Based Academic Credentials Lab Lastname: ______________ Firstname:________________ 1. Overview AETHELRED UNIVERSITY Registrar’s Office wants to start issuing a digital transcripts and diploma for graduating students. You are called to build the

LOREM, IPSUM

The ability to develop a risk register is a skill needed by all cybersecurity leaders when assessing cybersecurity risks. A risk register provides a detailed listing of known risks as well as quantitative or qualitative assessments of those risks, resulting in the prioritization of action.

Virtual LANs

  Questions: A VLAN allows different devices to be connected virtually to each other as if they were in a LAN sharing a single broadcast domain. 1. Why a network engineer would want to deploy VLANs? 2. How do VLANs improve network security?

compliance and rules to follow in cybersecurity.

Follow the attached instructions to complete this work. Note: Make sure to follows rubric or aligns with Rubric. Unit 8 Assignment Directions: Case Study Review the following hypothetical case study. Consider the big-picture ideas and the specific concerns. Make use of the key terms and concepts from the readings in

Discussion on data ( computer science)

Follow the attached direction to complete this work Unit 7 Discussion   Overview Consider this scenario: PQR Corporation provides facial recognition technology to customers. Its products include customer access to consumer electronics as well as mass surveillance capabilities through networked camera systems. While operating legally, PQR has maintained a low

Computer Science – Machine Learning Python Programming Assignment

Assignment Help. Please don’t forget to add comments in the code Page 1 of 3 NorQuest College – CMPT 1011: Lab Assignment 5 CMPT 1011: Introduction to Computing Lab Assignment 2: Variables, mathematical operations and data types Value This coding challenge is worth 3% of your final grade. Background In