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

computering part 7

The goal of this project is to integrate your various components into polished, professional products. Follow the instructions below to ensure a successful submission: Apply Feedback: Review and incorporate all feedback received from previous submissions (Parts 2-6). Enhance and Improve: Refine any of the three required items (cover letter with

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Based on the readings this week, 1. Discuss some common strategies and pitfalls you have seen with business continuity. 2. Discuss some common strategies and

sociology

The goal of this project is to integrate your various components into polished, professional products. Follow the instructions below to ensure a successful submission: Apply Feedback: Review and incorporate all feedback received from previous submissions (Parts 2-6). Enhance and Improve: Refine any of the three required items (cover letter with

Python

  Instructions Create a simple Python application (Save as w5_firstname_lastname.py) . Create a Python script that takes two parameters to do the following:- 1) List all files names, size, date created in the given folder 2) Parameter1 = Root Folder name Parameter2= File size >>> to filter file size (

Python

  Instructions:  Describe methods for securing Python code. Pick at least ONE of the methods for securing node and deep dive into what it means and how it is used to secure code.   

Discussion 8 of 459

Follow the attach instruction to complete the work. 1. What is one specific technology you found the most intriguing throughout the course? 2. If you were to be a hacker, which building block vector would you choose to attack your selected technology and why?

WK 4 Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Discussion on access control and physical security. These areas found to be one or more points of weakness in audit 1. Discuss some common points of

Node.js

  Instructions Create a simple Node.js server (Save as w4_firstname_lastname.js) . Create a restful application similar to the one in lesson 4 (ReSTFul Web Services). Document the routing table, and the application you created. Submit your week 4 work in w4_firstname_lastname.txt (Please save the file as a text file and

Computer Science- Python Gurobi assignment

I need the output following these steps: Put all of these files into the same folder, Open the python file, If there is any error, check if any file is missing, It has 105 counties and 4 districts, so it will take a while to finish running. I need it

Research Project

Please follow the instructions attached below:  I have choose the topic from the list is:   PROJECT TITLE Firm RTOS – Balancing Real-Time Performance and Flexibility Please check the abstract from my file and write the research project. 

provide me java based interview question.

Core Java Interview Questions (Basic Level) 1. What is Java? Java is a high-level, object-oriented, platform-independent programming language developed by Sun Microsystems. 2. What are the features of Java?  Object-Oriented  Platform Independent (via JVM)  Secure and Robust  Multithreaded  Architecture Neutral  High Performance (via JIT

Dynamons world Mod APK

 What are the best tips for playing RPG games like Dynamons World? I recently found a great resource at that offers a lot of insights and even MOD APKs for Dynamons World, but I’d love to hear personal strategies and gameplay advice from the community too! ???????? 

459 w7

Follow the attach instructions to complete this work. Questions: 1. What is Generative AI and how is it similar/different to Traditional AI? 2. Do you believe that work created by Generative AI (e.g. ChatGPT) is comparable in quality to human created content?  What challenges and opportunities  does Generative AI pose

Computer Science WK3 Assignment

Please see attachment for instructions ISSC680 Week 3 Homework Assignment Instructions: Please provide a one-page response to the following topic utilizing supporting documentation obtained from the attach books and the Internet. APA format and reference. Topic: Differentiate between the different types of cryptographic algorithms.

Discussion and Replies

Please see attachment for instructions     Discussion   In 250 words total, answer the questions below with 4 evidence base scholarly articles. APA format. Based on this weeks readings, 1. Discuss some effective strategies for Security Awareness in your organization or 2. What you would like to see implemented