SlideShare a Scribd company logo
1 of 23
TCP/IPProtocolSuite
P r e s e n t e d B y : S a r a S h a f q a t 2 0 2 1 - B B I T - 6 1
A f z a S h a h b a z 2 0 2 1 - B B I T - 8 8
Tableof
Contents
1. Example
2. TCP/IP Protocol Suite
3. TCP Protocol
4. IP Protocol
5. IPAddress
6. Subnet Mask
7. Network Classes
8. Difference BetweenTCP/IP & OSI Model
9. TCP/IP Model Layers
10. Uses ofTCP/IP Suite
11. Pros and Cons of TCP/IP Suite
Hi I am
Alice
Hi I am
Bob
Example
1. Message Creation:
 Alice writes her letter, creating the initial
data for communication.
2. Segmentation:
 Alice divides her long letter into smaller
envelopes, drawing a parallel to TCP.
3. Addressing:
 Alice writes Bob's address on each
envelope, similar to IP addressing
4. Sending:
 Alice sends the envelopes akin to data
packets being sent over the internet.
5. Acknowledgment:
 Bob sends acknowledgments, drawing
parallels with TCP's
6. Reassembly:
 Bob arranges the envelopes in the correct
order akin to TCP reassembling data
segments.
7. Message Processing:
 Bob's reading and processing of Alice's
letter, relating it to the application layer
in the TCP/IP model.
8. Communication Continues:
 Alice and Bob continue exchanging
letters, mirroring how TCP ensures
reliable data transmission.
• Comprehensive set of communication protocols.
• Reliable and efficient data transmission.
• Foundation of the modern internet and most
computer networks.
• Vast number of protocols
TCP/IP
Protocol
Suite
• Stands for Transmission Control Protocol.
• Connection-oriented protocol.
• Suitable for tasks like loading web pages and
sending emails etc.
TCPProtocol
• Stands for Internet Protocol
• Used to deliver packets from the source host to
the destination host based on the IP addresses
• Responsible for two primary tasks.
1. Addressing
2. Routing
IPProtocol
• 32-bit number
• Uniquely identifies a Host within the Network
and the Network itself.
• Has two parts:
IPAddress
Network Number Computer/host Number
1 2
• For Example:
10010001000010100010001000000011
10010001.00001010.00100010.00000011
• 8 bits = 1 octet
IPAddress
1 2 3 4
Binary
notation
10010001.00001010.00100010.00000011
145 10 34 3
145.10.34.3
IPAddress
Decimal
notation
Calculations:
1st octet
=20 x 1 + 21 x 0 + 22 x 0 + 23 x 0 + 24 x 1 + 25 x 0
+ 26 x 0 + 27 x 1 = 145
Calculations:
2nd octet
=20 x 0 + 21 x 0 + 22 x 0 + 23 x 0 + 24 x 1 + 25 x 0
+ 26 x 1 + 27 x 0 = 10
Calculations:
3rd octet
= 20 x 0 + 21 x 1 + 22 x 0 + 23 x 0 + 24 x 0 + 25 x 1
+ 26 x 0 + 27 x 0 = 34
Calculations:
4th octet
= 20 x 1 + 21 x 1 + 22 x 0 + 23 x 0 + 24 x 0 + 25 x 0
+ 26 x 0 + 27 x 0 = 3
Formula: (Applying on every Bit)
2(the position of the bit) x Bit
1 2 3 4
Writing position NO. from right to left on every bit of the octet
Doing Calculations starting from right bit to the left bit of every Octet
Question: How would we know
which part of the IPAddress is of
the Network size and which part is
the Host size?
Answer: For that we use Subnet
Mask.
• 32-bit number
• divide an IP address into network and host
portions
• If in the octets of the subnet mask comes
1. 11111111 = 255 = Size of the Network Portion
2. 00000000 = 0 = Size of the Host Portion
SubnetMask
Binary
notation
Decimal
notation
• some common subnet masks:
1. 255.255.255.0
2. 255.255.0.0
3. 255.0.0.0
Ip address = 145.10.34.3
Subnet mask = 255.255.0.0
SubnetMask
Where
145.10.0.0 = network
number
34.3 = Host Number
Question: How would we know
that for the specific IPAddress
what will be its Subnet Mask?
Answer: For that we use Network
Classes.
• Related to determining the subnet mask.
• Provide information about how IP addresses are
divided into network and host portions.
• To categorize IP addresses based on the size of
the network
Network
Classes
Class 1st Octet Decimal
range of IP Address
1st Octet High Order
Bits of IP Address
Default Subnet
Mask
Example
A 1-126 0 255.0.0.0 120.3.10.50
B 128-191 10 255.255.0.0 145.10.34.3
C 192-223 110 255.255.255.0 200.9.31.6
D 224-239 1110 Reserved for
Multicasting
239.1.1.1
E 240-254 1111 Experimental; used
for research
purpose
240.0.0.1
The IP address range from 127.0.0.0 to 127.255.255.255 is reserved for
a special purpose known as the "loopback" or "localhost" address.
DifferenceBetweenTCP/IP&OSIModel
TCP/IP Model
• Transmission Control
Protocol
• Based on standard
protocol
• It comprises of four
layers
OSI Model
• Open System
Interconnection
• Deals with the
functioning of a
network.
• It comprises seven
layers.
OSI Model
TCP/IP Model
TCP/IP Model Layers
1. Application layer
• Where software applications that use the
network reside
2. Transport layer
• Ensures data is delivered reliably
between devices.
3. Internet layer
• Deals with addressing and routing data
packets across the internet.
4. Link layer
• Responsible for data transmission over
the physical network medium.
• Web Browsing
• Email
• File Sharing
• Video Calls
• Smart Devices
Usesof
TCP/IPSuite
ProsandConsof TCP/IPSuite
Pros
• Modularity
• Reliability
• Scalability
Cons
• Complicated to set up
• Not easy to replace
protocols
• Vulnerable to a
synchronized attack
THANKYOU

More Related Content

Similar to TCP/IP suite presentation slides and data.pptx

Similar to TCP/IP suite presentation slides and data.pptx (20)

Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
 
Bots.pdf
Bots.pdfBots.pdf
Bots.pdf
 
iP Address ,
 iP Address , iP Address ,
iP Address ,
 
Subnetting
SubnettingSubnetting
Subnetting
 
13788 3
13788 313788 3
13788 3
 
IP Address & Its Classes .pdf
IP    Address   &   Its    Classes  .pdfIP    Address   &   Its    Classes  .pdf
IP Address & Its Classes .pdf
 
ip_addressing_subnetting aaaaaaaaaaa.ppt
ip_addressing_subnetting aaaaaaaaaaa.pptip_addressing_subnetting aaaaaaaaaaa.ppt
ip_addressing_subnetting aaaaaaaaaaa.ppt
 
Ip subnetting
Ip subnettingIp subnetting
Ip subnetting
 
I Paddress
I PaddressI Paddress
I Paddress
 
Uccn1003 -may10_-_lect03c_-_ip_subnets_rules
Uccn1003  -may10_-_lect03c_-_ip_subnets_rulesUccn1003  -may10_-_lect03c_-_ip_subnets_rules
Uccn1003 -may10_-_lect03c_-_ip_subnets_rules
 
Subnetting and routing
Subnetting and routingSubnetting and routing
Subnetting and routing
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Assignment 1 iap
Assignment 1 iapAssignment 1 iap
Assignment 1 iap
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
 
Networking Chapter 7
Networking Chapter 7Networking Chapter 7
Networking Chapter 7
 
subnet.ppt
subnet.pptsubnet.ppt
subnet.ppt
 
Subnetting
SubnettingSubnetting
Subnetting
 
Networking Brush Up for Amazon AWS Administrators
Networking Brush Up for Amazon AWS AdministratorsNetworking Brush Up for Amazon AWS Administrators
Networking Brush Up for Amazon AWS Administrators
 

Recently uploaded

Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 

TCP/IP suite presentation slides and data.pptx

  • 1. TCP/IPProtocolSuite P r e s e n t e d B y : S a r a S h a f q a t 2 0 2 1 - B B I T - 6 1 A f z a S h a h b a z 2 0 2 1 - B B I T - 8 8
  • 2. Tableof Contents 1. Example 2. TCP/IP Protocol Suite 3. TCP Protocol 4. IP Protocol 5. IPAddress 6. Subnet Mask 7. Network Classes 8. Difference BetweenTCP/IP & OSI Model 9. TCP/IP Model Layers 10. Uses ofTCP/IP Suite 11. Pros and Cons of TCP/IP Suite
  • 3. Hi I am Alice Hi I am Bob
  • 4. Example 1. Message Creation:  Alice writes her letter, creating the initial data for communication. 2. Segmentation:  Alice divides her long letter into smaller envelopes, drawing a parallel to TCP. 3. Addressing:  Alice writes Bob's address on each envelope, similar to IP addressing 4. Sending:  Alice sends the envelopes akin to data packets being sent over the internet.
  • 5. 5. Acknowledgment:  Bob sends acknowledgments, drawing parallels with TCP's 6. Reassembly:  Bob arranges the envelopes in the correct order akin to TCP reassembling data segments. 7. Message Processing:  Bob's reading and processing of Alice's letter, relating it to the application layer in the TCP/IP model. 8. Communication Continues:  Alice and Bob continue exchanging letters, mirroring how TCP ensures reliable data transmission.
  • 6. • Comprehensive set of communication protocols. • Reliable and efficient data transmission. • Foundation of the modern internet and most computer networks. • Vast number of protocols TCP/IP Protocol Suite
  • 7. • Stands for Transmission Control Protocol. • Connection-oriented protocol. • Suitable for tasks like loading web pages and sending emails etc. TCPProtocol
  • 8. • Stands for Internet Protocol • Used to deliver packets from the source host to the destination host based on the IP addresses • Responsible for two primary tasks. 1. Addressing 2. Routing IPProtocol
  • 9. • 32-bit number • Uniquely identifies a Host within the Network and the Network itself. • Has two parts: IPAddress Network Number Computer/host Number 1 2
  • 11. 10010001.00001010.00100010.00000011 145 10 34 3 145.10.34.3 IPAddress Decimal notation Calculations: 1st octet =20 x 1 + 21 x 0 + 22 x 0 + 23 x 0 + 24 x 1 + 25 x 0 + 26 x 0 + 27 x 1 = 145 Calculations: 2nd octet =20 x 0 + 21 x 0 + 22 x 0 + 23 x 0 + 24 x 1 + 25 x 0 + 26 x 1 + 27 x 0 = 10 Calculations: 3rd octet = 20 x 0 + 21 x 1 + 22 x 0 + 23 x 0 + 24 x 0 + 25 x 1 + 26 x 0 + 27 x 0 = 34 Calculations: 4th octet = 20 x 1 + 21 x 1 + 22 x 0 + 23 x 0 + 24 x 0 + 25 x 0 + 26 x 0 + 27 x 0 = 3 Formula: (Applying on every Bit) 2(the position of the bit) x Bit 1 2 3 4 Writing position NO. from right to left on every bit of the octet Doing Calculations starting from right bit to the left bit of every Octet
  • 12. Question: How would we know which part of the IPAddress is of the Network size and which part is the Host size? Answer: For that we use Subnet Mask.
  • 13. • 32-bit number • divide an IP address into network and host portions • If in the octets of the subnet mask comes 1. 11111111 = 255 = Size of the Network Portion 2. 00000000 = 0 = Size of the Host Portion SubnetMask Binary notation Decimal notation
  • 14. • some common subnet masks: 1. 255.255.255.0 2. 255.255.0.0 3. 255.0.0.0 Ip address = 145.10.34.3 Subnet mask = 255.255.0.0 SubnetMask Where 145.10.0.0 = network number 34.3 = Host Number
  • 15. Question: How would we know that for the specific IPAddress what will be its Subnet Mask? Answer: For that we use Network Classes.
  • 16. • Related to determining the subnet mask. • Provide information about how IP addresses are divided into network and host portions. • To categorize IP addresses based on the size of the network Network Classes
  • 17. Class 1st Octet Decimal range of IP Address 1st Octet High Order Bits of IP Address Default Subnet Mask Example A 1-126 0 255.0.0.0 120.3.10.50 B 128-191 10 255.255.0.0 145.10.34.3 C 192-223 110 255.255.255.0 200.9.31.6 D 224-239 1110 Reserved for Multicasting 239.1.1.1 E 240-254 1111 Experimental; used for research purpose 240.0.0.1 The IP address range from 127.0.0.0 to 127.255.255.255 is reserved for a special purpose known as the "loopback" or "localhost" address.
  • 18. DifferenceBetweenTCP/IP&OSIModel TCP/IP Model • Transmission Control Protocol • Based on standard protocol • It comprises of four layers OSI Model • Open System Interconnection • Deals with the functioning of a network. • It comprises seven layers.
  • 20. TCP/IP Model Layers 1. Application layer • Where software applications that use the network reside 2. Transport layer • Ensures data is delivered reliably between devices. 3. Internet layer • Deals with addressing and routing data packets across the internet. 4. Link layer • Responsible for data transmission over the physical network medium.
  • 21. • Web Browsing • Email • File Sharing • Video Calls • Smart Devices Usesof TCP/IPSuite
  • 22. ProsandConsof TCP/IPSuite Pros • Modularity • Reliability • Scalability Cons • Complicated to set up • Not easy to replace protocols • Vulnerable to a synchronized attack