SlideShare uma empresa Scribd logo
1 de 10
ASSIGNMENT #1
SUBMITTED TO:
MISS SARA SARWAR
SUBMITTED BY:
RABIA ZAFAR
17581556-045
BS IT(5TH
SEMESTER)
SECTION A
Question 1:
Write the default Masks for the Class A Class B and Class C IP addresses.
Answer:
 Class A default subnet mask (255.0.0.0).
 Class B default subnet mask (255.255.0.0).
 Class C default subnet mask (255.255.255.0).
Question 2:
How we can distinguish Class A, Class B, Class C, Class D and Class E IP addresses from
each other. Write the range of first octet in decimal and Binary for all the 5 IP address
classes.
Answer:
IP addresses are 32-bit binary numbers that are separated by a dot. The number is
generally represented as 4 octets of numbers from the ranges 0-255.
Range:
Classes Range
Class A 0-126
Class B 128-191
Class C 192-223
Class D 224-239
Class E 240-255
Class A:
Decimal Binary
1 00000001
Class B:
Decimal Binary
128 10000000
Class C:
Decimal Binary
192 11000000
Class D:
Decimal Binary
224 11100000
Class E:
Decimal Binary
240 11110000
Question 3:
Write the default subnet Masks for the following IP addresses:
a. 179.65.225.4
b. 222.35.20.18
c. 111.7.80.0?
Answer:
a. 179.65.225.4, this IP belongs to class B. The default subnet mask of class B is
255.255.0.0.
b. 222.35.20.18, this IP belongs to class D. the default subnet mask of class D is
255.255.255.0.
c. 111.7.80.0, this IP belongs to class A. The default subnet mask of class A is
255.0.0.0.
Question 4:
Write down the three available ranges for assigning Private IP addresses recommended
by IANA(Internet Assigned Number Authority).
Answer:
The Internet Assigned Numbers Authority (IANA) has assigned several address ranges
to be used by private networks.
Address ranges to be use by private networks are:
 Class A: 10.0.0.0 to 10.255.255.255
 Class B: 172.16.0.0 to 172.31.255.255
 Class C: 192.168.0.0 to 192.168.255.255
Question 5:
A broadcast address is the one that addresses to all the hosts in any network. State that to
create a broadcast address, all the bits of network ID portion or all the bits of host ID
portion are set to 1? Write down the broadcast addresses of the networks to which the
following IP addresses belong, write network addresses and ranges of their valid IP
address too. (No subnetting)
a. 129.65.225.4 b. 211.35.20.18
c. 180.47.115.6
Answer:
(a)
192.65.225.4 Class B
129.65.0.0 Network ID
129.65.255.255 Broadcast ID
(b)
211.35.20.18 Class C
211.35.20.0 Network ID
211.35.20.255 Broadcast ID
(c)
180.47.115.6 Class B
180.47.0.0 Network ID
180.47.255.255 Broadcast ID
Question 6:
Subnet Mask or Custom mask tells us that how many bits are used for Subnet ID portion
and how many for host ID portion. Identify how many bits are used for subnetting in the
following IP address using its subnet mask:
a. IP Address: 135.65.225.4 Subnet Mask: 255.255.240.0
b. IP Address: 210.35.20.18 Subnet Mask: 255.255.255.248
c. IP Address: 190.47.115.6 Subnet Mask: 255.255.254.0
Answer:
(a)
IP address:
135.65.255.4 from class B
Subnet mask:
255.255.240.0
11111111.11111111.11110000.00000000
Bits for subnet ID portion=20
Bits for host ID portion=12
(b)
IP address:
210.35.20.18 from class C
Subnet mask:
255.255.255.248
11111111.11111111.11111111.11111000
Bits for subnet ID portion=29
Bits for host ID portion=3
(c)
IP address:
190.47.115.6 from class B
Subnet mask:
255.255.254.0
11111111.11111111.11111110.00000000
Bits for subnet ID portion=23
Bits for host ID portion=9
Question 7:
Extract the Network Addresses of the given IP addresses in question number 8, using the
subnet masks given with them. (Remember that ANDing the IP address with the Mask
extracts the network address from the given IP address).
Answer:
(a)
IP address: 135.65.225.4
Subnet mask: 255.255.0.0
Binary of IP address: 10000111.010000011.11100001.00000100
Binary of subnet mask: 11111111.11111111.00000000.00000000
---------------------------------------------------------------------
10000111.01000001.00000000.00000000
Network address: 135.65.0.0
(b)
IP address: 210.35.20.18
Subnet mask: 255.255.255.0
Binary of IP address: 11010010.00100011.00010100.00010010
Binary of subnet mask: 11111111.11111111.11111111.00000000
-------------------------------------------------------------------
11010010.00100011.00010100.00000000
Network address: 210.34.20.0
(c)
IP address: 190.47.115.6
Subnet mask: 255.255.0.0
Binary of IP address: 10111110.00101111.01110011.00000110
Binary of subnet mask: 11111111.11111111.00000000.00000000
---------------------------------------------------------------------
10111110.00101111.00000000.00000000
Network address: 190.47.0.0
Question 8:
Which of the following Subnet masks would allow a class A network to allow subnets to
have up to 150 hosts and allow for up to 164 subnets?
a. 255.0.0.0
b. 255.255.255.0
c. 255.255.192.0
d. 255.255.240.0
e.255.255.252.0
Answer:
(a)
255.0.0.0 from class A
Binary: 11111111.00000000.00000000.00000000
Subnet: 2^s =2^0 =1
Host: 2^h – 2 = 2^24 -2 =16,777,216 -2 =16,777,214
(b)
255.255.255.0 from class C
Binary: 11111111.11111111.11111111.00000000
Subnet: 2^s= 2^0 = 1
Host: 2^h-2 =2^8-2=256-2 =254
(c)
255.255.192.0 from class B
Binary: 11111111.11111111.11000000.00000000
Subnet: 2^s=2^2=4
Host: 2^s-2=2^14-2=16384-2=16382
(d)
255.255.240.0 from class B
Binary: 11111111.11111111.11110000.0000000
Subnet: 2^s =2^4 =16
Host: 2^h-2 =2^12 -2=4096-2=4094
(e)
255.255.252.0 from class B
Binary: 11111111.11111111.11111100.00000000
Subnet: 2^s = 2^6 =64
Host: 2^h-2 = 2^10-2=1024-2=1022
Question 9:
Suppose you have a class C Network 208.94.115.0. Your task is to design a subnet scheme
so that we can create 16 Network segments (subnets) within this Network. Each subnet
should support 10-14 hosts.
2n
>= 14
24
>= 14
16 > 14
So, n = 4.
a. How many bits would you use for the subnet ID?
28 bits are used for subnet ID.
b. How many bits would you use for the Host ID?
4 bits are used for Host ID
c. How many maximum possible subnets will be there?
24
subnets are possible because we have 8 bits for Host ID. So,
16 maximum subnets are possible.
d. How many maximum possible hosts will be there in each subnet?
24
subnets are possible because we have 8 bits for Host ID. So,
16 maximum hosts are possible per subnet.
e. Write down the Subnet Mask of your scheme.
208.94.115.11110000
255.255.255.240
f. Write down All the valid IP addresses
Valid IP’s
 208.94.115.0/28
 208.94.115.16/28
 208.94.115.32/28
 208.94.115..48/28
 208.94.115.64/28
 208.94.115.80/28
 208.94.115.96/28
 208.94.115.112/28
 208.94.115.128/28
 208.94.115.160/28
 208.94.115.176/28
 208.94.115.192/28
 208.94.115.208/28
 208.94.115.224/28
 208.94.115.240/28
g. The broadcast address of the First subnet of your scheme.
208.94.115.15 /28
Question 10:
Suppose you have a class C Network 220.94.115.0. Your task is to design a subnet
scheme so that we can create 28 Network segments (subnets) within this Network. Each
subnet should support hosts as given below.
a. 2 Network Segment support 30 Hosts
b. 4 Network Segment support 14 Hosts
c. 8 Network Segment support 6 Hosts
d. 14 Network Segment support 2 Hosts
Steps
1- IP
220.94.115.0
2- Convert to binary
220.94.115.00000000
3- Find n
2n
>= max host value
2n
>= 30
25
>= 30
N=5
4- Give bits to network
220.94.115.11100000
5- IP of this network
220.94.115.224
6- Subnet Mask of IP
255.255.255.224/27
7- Subnets
 220.94.115.0/27
 220.94.115.32/027
 220.94.115.64/027
 220.94.115.96/027
 220.94.115.128/027
 220.94.115.160/027
 220.94.115.192/027
 220.94.115.224/027
These are the network segments that can be created. Each subnet will support
up to 32 hosts.
To make the 28 segments we can use Class A or B for more segments.

Mais conteúdo relacionado

Mais procurados

Subnet Masks
Subnet MasksSubnet Masks
Subnet Masksswascher
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategyMustafa Salam
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6Adeel Rasheed
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnettingShashank Asthana
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPTPijush Kanti Das
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING AYESHA JAVED
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classesmail2rajeev10
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1VISHNU N
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorialmikem801
 
network Addressing
network Addressingnetwork Addressing
network AddressingTauseef khan
 

Mais procurados (20)

Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Subnetting made simple
Subnetting made simpleSubnetting made simple
Subnetting made simple
 
C I D R
C I D RC I D R
C I D R
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
network Addressing
network Addressingnetwork Addressing
network Addressing
 

Semelhante a IP classes and subnetting.

IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing ArchitectureShreehari Dhat
 
Soal Subnetting - Jaringan Komputer
Soal Subnetting - Jaringan KomputerSoal Subnetting - Jaringan Komputer
Soal Subnetting - Jaringan Komputerirawan afrianto
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2kurtmctaggart
 
Network Layer Numericals
Network Layer NumericalsNetwork Layer Numericals
Network Layer NumericalsManisha Keim
 
Ip addresses
Ip addressesIp addresses
Ip addressesAsif
 
CyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & SubnettingCyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & SubnettingVivek chan
 
1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_AddressingAnusuaBasu
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 conceptsJAIGANESH SEKAR
 
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docxLab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docxDIPESH30
 
Ip address classes
Ip address classesIp address classes
Ip address classesvalency paul
 
Understanding ip address
Understanding ip addressUnderstanding ip address
Understanding ip addressMujahid Hussain
 
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTSleek International
 
Subnet questions with ans(networking)
Subnet questions with ans(networking)Subnet questions with ans(networking)
Subnet questions with ans(networking)welcometofacebook
 

Semelhante a IP classes and subnetting. (20)

IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
 
Soal Subnetting - Jaringan Komputer
Soal Subnetting - Jaringan KomputerSoal Subnetting - Jaringan Komputer
Soal Subnetting - Jaringan Komputer
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2
 
Network Layer Numericals
Network Layer NumericalsNetwork Layer Numericals
Network Layer Numericals
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
CyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & SubnettingCyberLab TCP/IP and IP Addressing & Subnetting
CyberLab TCP/IP and IP Addressing & Subnetting
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
 
1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
 
How IP address works
How IP address worksHow IP address works
How IP address works
 
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docxLab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
 
Ip address classes
Ip address classesIp address classes
Ip address classes
 
Ip subnetting
Ip subnettingIp subnetting
Ip subnetting
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Understanding ip address
Understanding ip addressUnderstanding ip address
Understanding ip address
 
subnet.ppt
subnet.pptsubnet.ppt
subnet.ppt
 
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
 
Subnet questions with ans(networking)
Subnet questions with ans(networking)Subnet questions with ans(networking)
Subnet questions with ans(networking)
 
CCNA 1 Chapter 9 v5.0 2014
CCNA 1 Chapter 9 v5.0 2014CCNA 1 Chapter 9 v5.0 2014
CCNA 1 Chapter 9 v5.0 2014
 

Mais de university of Gujrat, pakistan

Mais de university of Gujrat, pakistan (20)

Change management
Change management Change management
Change management
 
Latest Trends in Digital Marketing
Latest Trends in Digital MarketingLatest Trends in Digital Marketing
Latest Trends in Digital Marketing
 
Dark web (2)
Dark web (2)Dark web (2)
Dark web (2)
 
Code of ethics and professional conduct (1)
Code of ethics and professional conduct (1)Code of ethics and professional conduct (1)
Code of ethics and professional conduct (1)
 
Certification accreditation and licensure (1)
Certification accreditation and licensure (1)Certification accreditation and licensure (1)
Certification accreditation and licensure (1)
 
biggest technology trends
biggest technology trendsbiggest technology trends
biggest technology trends
 
Freedom of information (1)
Freedom of information (1)Freedom of information (1)
Freedom of information (1)
 
Individual cognition ppt (1)
Individual cognition ppt (1)Individual cognition ppt (1)
Individual cognition ppt (1)
 
Top 10 highest (1)
Top 10 highest (1)Top 10 highest (1)
Top 10 highest (1)
 
creativity and imagination
creativity and imagination creativity and imagination
creativity and imagination
 
Brainstorming 078 (1)
Brainstorming 078 (1)Brainstorming 078 (1)
Brainstorming 078 (1)
 
speeh-artificial intelligemce
speeh-artificial intelligemce speeh-artificial intelligemce
speeh-artificial intelligemce
 
Pp dealing with problem complexity (1)
Pp dealing with problem complexity (1)Pp dealing with problem complexity (1)
Pp dealing with problem complexity (1)
 
Motivation
MotivationMotivation
Motivation
 
Vision of artificial intelligence (1)
Vision of artificial intelligence (1)Vision of artificial intelligence (1)
Vision of artificial intelligence (1)
 
Entrepreneurship (1)
Entrepreneurship (1)Entrepreneurship (1)
Entrepreneurship (1)
 
Role of professional societies
Role of professional societiesRole of professional societies
Role of professional societies
 
Dealing with culticultural environment (1)
Dealing with culticultural environment (1)Dealing with culticultural environment (1)
Dealing with culticultural environment (1)
 
Dealing with problem complexity (1)
Dealing with problem complexity (1)Dealing with problem complexity (1)
Dealing with problem complexity (1)
 
cyber security and cyber crime
cyber security and cyber crime cyber security and cyber crime
cyber security and cyber crime
 

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

IP classes and subnetting.

  • 1. ASSIGNMENT #1 SUBMITTED TO: MISS SARA SARWAR SUBMITTED BY: RABIA ZAFAR 17581556-045 BS IT(5TH SEMESTER) SECTION A
  • 2. Question 1: Write the default Masks for the Class A Class B and Class C IP addresses. Answer:  Class A default subnet mask (255.0.0.0).  Class B default subnet mask (255.255.0.0).  Class C default subnet mask (255.255.255.0). Question 2: How we can distinguish Class A, Class B, Class C, Class D and Class E IP addresses from each other. Write the range of first octet in decimal and Binary for all the 5 IP address classes. Answer: IP addresses are 32-bit binary numbers that are separated by a dot. The number is generally represented as 4 octets of numbers from the ranges 0-255. Range: Classes Range Class A 0-126 Class B 128-191 Class C 192-223 Class D 224-239 Class E 240-255 Class A: Decimal Binary 1 00000001 Class B: Decimal Binary 128 10000000 Class C: Decimal Binary 192 11000000 Class D:
  • 3. Decimal Binary 224 11100000 Class E: Decimal Binary 240 11110000 Question 3: Write the default subnet Masks for the following IP addresses: a. 179.65.225.4 b. 222.35.20.18 c. 111.7.80.0? Answer: a. 179.65.225.4, this IP belongs to class B. The default subnet mask of class B is 255.255.0.0. b. 222.35.20.18, this IP belongs to class D. the default subnet mask of class D is 255.255.255.0. c. 111.7.80.0, this IP belongs to class A. The default subnet mask of class A is 255.0.0.0. Question 4: Write down the three available ranges for assigning Private IP addresses recommended by IANA(Internet Assigned Number Authority). Answer: The Internet Assigned Numbers Authority (IANA) has assigned several address ranges to be used by private networks. Address ranges to be use by private networks are:  Class A: 10.0.0.0 to 10.255.255.255  Class B: 172.16.0.0 to 172.31.255.255  Class C: 192.168.0.0 to 192.168.255.255 Question 5: A broadcast address is the one that addresses to all the hosts in any network. State that to create a broadcast address, all the bits of network ID portion or all the bits of host ID portion are set to 1? Write down the broadcast addresses of the networks to which the
  • 4. following IP addresses belong, write network addresses and ranges of their valid IP address too. (No subnetting) a. 129.65.225.4 b. 211.35.20.18 c. 180.47.115.6 Answer: (a) 192.65.225.4 Class B 129.65.0.0 Network ID 129.65.255.255 Broadcast ID (b) 211.35.20.18 Class C 211.35.20.0 Network ID 211.35.20.255 Broadcast ID (c) 180.47.115.6 Class B 180.47.0.0 Network ID 180.47.255.255 Broadcast ID Question 6: Subnet Mask or Custom mask tells us that how many bits are used for Subnet ID portion and how many for host ID portion. Identify how many bits are used for subnetting in the following IP address using its subnet mask: a. IP Address: 135.65.225.4 Subnet Mask: 255.255.240.0 b. IP Address: 210.35.20.18 Subnet Mask: 255.255.255.248 c. IP Address: 190.47.115.6 Subnet Mask: 255.255.254.0 Answer: (a) IP address: 135.65.255.4 from class B Subnet mask: 255.255.240.0
  • 5. 11111111.11111111.11110000.00000000 Bits for subnet ID portion=20 Bits for host ID portion=12 (b) IP address: 210.35.20.18 from class C Subnet mask: 255.255.255.248 11111111.11111111.11111111.11111000 Bits for subnet ID portion=29 Bits for host ID portion=3 (c) IP address: 190.47.115.6 from class B Subnet mask: 255.255.254.0 11111111.11111111.11111110.00000000 Bits for subnet ID portion=23 Bits for host ID portion=9 Question 7: Extract the Network Addresses of the given IP addresses in question number 8, using the subnet masks given with them. (Remember that ANDing the IP address with the Mask extracts the network address from the given IP address). Answer: (a) IP address: 135.65.225.4
  • 6. Subnet mask: 255.255.0.0 Binary of IP address: 10000111.010000011.11100001.00000100 Binary of subnet mask: 11111111.11111111.00000000.00000000 --------------------------------------------------------------------- 10000111.01000001.00000000.00000000 Network address: 135.65.0.0 (b) IP address: 210.35.20.18 Subnet mask: 255.255.255.0 Binary of IP address: 11010010.00100011.00010100.00010010 Binary of subnet mask: 11111111.11111111.11111111.00000000 ------------------------------------------------------------------- 11010010.00100011.00010100.00000000 Network address: 210.34.20.0 (c) IP address: 190.47.115.6 Subnet mask: 255.255.0.0 Binary of IP address: 10111110.00101111.01110011.00000110 Binary of subnet mask: 11111111.11111111.00000000.00000000 --------------------------------------------------------------------- 10111110.00101111.00000000.00000000 Network address: 190.47.0.0 Question 8: Which of the following Subnet masks would allow a class A network to allow subnets to have up to 150 hosts and allow for up to 164 subnets? a. 255.0.0.0
  • 7. b. 255.255.255.0 c. 255.255.192.0 d. 255.255.240.0 e.255.255.252.0 Answer: (a) 255.0.0.0 from class A Binary: 11111111.00000000.00000000.00000000 Subnet: 2^s =2^0 =1 Host: 2^h – 2 = 2^24 -2 =16,777,216 -2 =16,777,214 (b) 255.255.255.0 from class C Binary: 11111111.11111111.11111111.00000000 Subnet: 2^s= 2^0 = 1 Host: 2^h-2 =2^8-2=256-2 =254 (c) 255.255.192.0 from class B Binary: 11111111.11111111.11000000.00000000 Subnet: 2^s=2^2=4 Host: 2^s-2=2^14-2=16384-2=16382 (d) 255.255.240.0 from class B Binary: 11111111.11111111.11110000.0000000 Subnet: 2^s =2^4 =16 Host: 2^h-2 =2^12 -2=4096-2=4094 (e)
  • 8. 255.255.252.0 from class B Binary: 11111111.11111111.11111100.00000000 Subnet: 2^s = 2^6 =64 Host: 2^h-2 = 2^10-2=1024-2=1022 Question 9: Suppose you have a class C Network 208.94.115.0. Your task is to design a subnet scheme so that we can create 16 Network segments (subnets) within this Network. Each subnet should support 10-14 hosts. 2n >= 14 24 >= 14 16 > 14 So, n = 4. a. How many bits would you use for the subnet ID? 28 bits are used for subnet ID. b. How many bits would you use for the Host ID? 4 bits are used for Host ID c. How many maximum possible subnets will be there? 24 subnets are possible because we have 8 bits for Host ID. So, 16 maximum subnets are possible. d. How many maximum possible hosts will be there in each subnet? 24 subnets are possible because we have 8 bits for Host ID. So, 16 maximum hosts are possible per subnet. e. Write down the Subnet Mask of your scheme. 208.94.115.11110000 255.255.255.240 f. Write down All the valid IP addresses Valid IP’s  208.94.115.0/28  208.94.115.16/28  208.94.115.32/28  208.94.115..48/28  208.94.115.64/28  208.94.115.80/28  208.94.115.96/28  208.94.115.112/28  208.94.115.128/28
  • 9.  208.94.115.160/28  208.94.115.176/28  208.94.115.192/28  208.94.115.208/28  208.94.115.224/28  208.94.115.240/28 g. The broadcast address of the First subnet of your scheme. 208.94.115.15 /28 Question 10: Suppose you have a class C Network 220.94.115.0. Your task is to design a subnet scheme so that we can create 28 Network segments (subnets) within this Network. Each subnet should support hosts as given below. a. 2 Network Segment support 30 Hosts b. 4 Network Segment support 14 Hosts c. 8 Network Segment support 6 Hosts d. 14 Network Segment support 2 Hosts Steps 1- IP 220.94.115.0 2- Convert to binary 220.94.115.00000000 3- Find n 2n >= max host value 2n >= 30 25 >= 30 N=5 4- Give bits to network 220.94.115.11100000 5- IP of this network 220.94.115.224 6- Subnet Mask of IP 255.255.255.224/27 7- Subnets  220.94.115.0/27  220.94.115.32/027  220.94.115.64/027
  • 10.  220.94.115.96/027  220.94.115.128/027  220.94.115.160/027  220.94.115.192/027  220.94.115.224/027 These are the network segments that can be created. Each subnet will support up to 32 hosts. To make the 28 segments we can use Class A or B for more segments.