SlideShare a Scribd company logo
Chapter 1


                 TCP/IP




      Lecturer : Ms.Trần Thị Ngọc Hoa
Objectives
   TCP/IP Protocol Suite
   IPv4 Addressing Schema
   IPv4 Addressing Allocation




            Lecturer :Ms Trần Thị
            Ngọc Hoa
TCP/IP Protocol Suite


                                HTTP,DNS,FTP: Data Stream
   Application
   Transport                    TCP-UDP : Segment

    Internet                    IP address : Packet/Datagram

  Network.A.I                   MAC Address: Frame



        Lecturer :Ms Trần Thị
        Ngọc Hoa
Problem Statement




       Lecturer :Ms Trần Thị
       Ngọc Hoa
IP version 4 Addressing
   Structure
   Address Types
   Subnetting Rule




            Lecturer :Ms Trần Thị
            Ngọc Hoa
IPv4 Address Structure

1.   Logical address used to specify a node location
2.   32 bit long
3.   Presented as four octets in dotted decimal format
4.   Two components:
               Network ID
               Host ID
5.   Five classes : A B C D E


             Lecturer :Ms Trần Thị
             Ngọc Hoa
Class A

0    X   X   X    X    X   X    X        24 X

1                                               32
   Network Mask :
      /8
      255.0.0.0
   The number of networks : 126
      1.0.0.0 -126.0.0.0
      127.0.0.0 : Loopack address
   The number of host per network : 16.777.214
                 Lecturer :Ms Trần Thị
                 Ngọc Hoa
Class B

1    0        14 X               16 X

1                                              32
   Network Mask :
      /16

      255.255.0.0

   The number of networks : 16.386
      128.0.0.0 -191.255.0.0

   The number of hosts per network : 65.534
              Lecturer :Ms Trần Thị
             Ngọc Hoa
Class C

1    1   0              21 X           8X

1                                           32
   Network Mask :
      /24

      255.255.255.0

   The number of networks : 2.097.152
      192.0.0.0 -223.255.255.0

   The number of hosts per network : 254
              Lecturer :Ms Trần Thị
             Ngọc Hoa
Class D and Class E

    1   1   1   0                   28 X

1                                          32


    1   1   1   1                   28 X


1                                          32

   224.0.0.0 -> 247.0.0.0
   248.0.0.0 -> 255.0.0.0

                Lecturer :Ms Trần Thị
                Ngọc Hoa
Address Types
   Unicast
     Private
     Public

   Multicast
     224.x.x.x   – 247.x.x.x
   Broadcast
     Classfull
     Classless

   Loopback
     127.0.0.0
              Lecturer :Ms Trần Thị
              Ngọc Hoa
Subnetting Rule

   NET : SUBNET : HOST
   Maximum subnet bit : left 2 host bits
   You must figure the subnet mask by yourself




             Lecturer :Ms Trần Thị
             Ngọc Hoa

More Related Content

Similar to Chapter 11

Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)
maamir farooq
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.ppt
kigaliac
 
PPT on computer networks and communication
PPT on computer networks and communicationPPT on computer networks and communication
PPT on computer networks and communication
MuhammadAhsanAnsari5
 
17433_ip-addressing-subnetting-supernetting.ppt
17433_ip-addressing-subnetting-supernetting.ppt17433_ip-addressing-subnetting-supernetting.ppt
17433_ip-addressing-subnetting-supernetting.ppt
kashifmajeedjanjua
 
CCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick NotesCCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick Notes
Eng. Emad Al-Atoum
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
HNDE Labuduwa Galle
 
1.IPv4.pptx
1.IPv4.pptx1.IPv4.pptx
1.IPv4.pptx
WahyuniAnti
 
Network.pptx
Network.pptxNetwork.pptx
Network.pptx
SAMANTHACARDOSO13
 
Computer Networks Module III
Computer Networks Module IIIComputer Networks Module III
Computer Networks Module III
Ajit Nayak
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
aakritii765
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
Jayaprasanna4
 
1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt
PUSHPAKJAIN8
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
SangeethaSasi1
 
Module 6 ip addresing
Module 6   ip addresingModule 6   ip addresing
Module 6 ip addresing
Charlette Tolentino
 
Lesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking ConceptsLesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking Concepts
Mahmmoud Mahdi
 
gofortution
gofortutiongofortution
gofortution
gofortution
 
CN 5151(15) Module II part 2 13082020.pdf
CN 5151(15) Module II part 2 13082020.pdfCN 5151(15) Module II part 2 13082020.pdf
CN 5151(15) Module II part 2 13082020.pdf
ADARSHN40
 
Internetworking iso architecture routing.ppt
Internetworking iso architecture routing.pptInternetworking iso architecture routing.ppt
Internetworking iso architecture routing.ppt
Chaudharyshani2
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
Naveen Shivegowda
 
Computer network
Computer network Computer network
Computer network
RinkuNahar
 

Similar to Chapter 11 (20)

Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.ppt
 
PPT on computer networks and communication
PPT on computer networks and communicationPPT on computer networks and communication
PPT on computer networks and communication
 
17433_ip-addressing-subnetting-supernetting.ppt
17433_ip-addressing-subnetting-supernetting.ppt17433_ip-addressing-subnetting-supernetting.ppt
17433_ip-addressing-subnetting-supernetting.ppt
 
CCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick NotesCCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick Notes
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
 
1.IPv4.pptx
1.IPv4.pptx1.IPv4.pptx
1.IPv4.pptx
 
Network.pptx
Network.pptxNetwork.pptx
Network.pptx
 
Computer Networks Module III
Computer Networks Module IIIComputer Networks Module III
Computer Networks Module III
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
 
1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
Module 6 ip addresing
Module 6   ip addresingModule 6   ip addresing
Module 6 ip addresing
 
Lesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking ConceptsLesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking Concepts
 
gofortution
gofortutiongofortution
gofortution
 
CN 5151(15) Module II part 2 13082020.pdf
CN 5151(15) Module II part 2 13082020.pdfCN 5151(15) Module II part 2 13082020.pdf
CN 5151(15) Module II part 2 13082020.pdf
 
Internetworking iso architecture routing.ppt
Internetworking iso architecture routing.pptInternetworking iso architecture routing.ppt
Internetworking iso architecture routing.ppt
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
 
Computer network
Computer network Computer network
Computer network
 

Recently uploaded

04062024_First India Newspaper Jaipur.pdf
04062024_First India Newspaper Jaipur.pdf04062024_First India Newspaper Jaipur.pdf
04062024_First India Newspaper Jaipur.pdf
FIRST INDIA
 
What Ukraine Has Lost During Russia’s Invasion
What Ukraine Has Lost During Russia’s InvasionWhat Ukraine Has Lost During Russia’s Invasion
What Ukraine Has Lost During Russia’s Invasion
LUMINATIVE MEDIA/PROJECT COUNSEL MEDIA GROUP
 
03062024_First India Newspaper Jaipur.pdf
03062024_First India Newspaper Jaipur.pdf03062024_First India Newspaper Jaipur.pdf
03062024_First India Newspaper Jaipur.pdf
FIRST INDIA
 
Acolyte Episodes review (TV series)..pdf
Acolyte Episodes review (TV series)..pdfAcolyte Episodes review (TV series)..pdf
Acolyte Episodes review (TV series)..pdf
46adnanshahzad
 
Letter-from-ECI-to-MeiTY-21st-march-2024.pdf
Letter-from-ECI-to-MeiTY-21st-march-2024.pdfLetter-from-ECI-to-MeiTY-21st-march-2024.pdf
Letter-from-ECI-to-MeiTY-21st-march-2024.pdf
bhavenpr
 
Preview of Court Document for Iseyin community
Preview of Court Document for Iseyin communityPreview of Court Document for Iseyin community
Preview of Court Document for Iseyin community
contact193699
 
EED - The Container Port PERFORMANCE INDEX 2023
EED - The Container Port PERFORMANCE INDEX 2023EED - The Container Port PERFORMANCE INDEX 2023
EED - The Container Port PERFORMANCE INDEX 2023
El Estrecho Digital
 
2015pmkemenhub163.pdf 2015pmkemenhub163.pdf
2015pmkemenhub163.pdf 2015pmkemenhub163.pdf2015pmkemenhub163.pdf 2015pmkemenhub163.pdf
2015pmkemenhub163.pdf 2015pmkemenhub163.pdf
CIkumparan
 
Gabriel Whitley's Motion Summary Judgment
Gabriel Whitley's Motion Summary JudgmentGabriel Whitley's Motion Summary Judgment
Gabriel Whitley's Motion Summary Judgment
Abdul-Hakim Shabazz
 
Hogan Comes Home: an MIA WWII crewman is returned
Hogan Comes Home: an MIA WWII crewman is returnedHogan Comes Home: an MIA WWII crewman is returned
Hogan Comes Home: an MIA WWII crewman is returned
rbakerj2
 
Resolutions-Key-Interventions-28-May-2024.pdf
Resolutions-Key-Interventions-28-May-2024.pdfResolutions-Key-Interventions-28-May-2024.pdf
Resolutions-Key-Interventions-28-May-2024.pdf
bhavenpr
 
Hindustan Insider 2nd edition release now
Hindustan Insider 2nd edition release nowHindustan Insider 2nd edition release now
Hindustan Insider 2nd edition release now
hindustaninsider22
 

Recently uploaded (12)

04062024_First India Newspaper Jaipur.pdf
04062024_First India Newspaper Jaipur.pdf04062024_First India Newspaper Jaipur.pdf
04062024_First India Newspaper Jaipur.pdf
 
What Ukraine Has Lost During Russia’s Invasion
What Ukraine Has Lost During Russia’s InvasionWhat Ukraine Has Lost During Russia’s Invasion
What Ukraine Has Lost During Russia’s Invasion
 
03062024_First India Newspaper Jaipur.pdf
03062024_First India Newspaper Jaipur.pdf03062024_First India Newspaper Jaipur.pdf
03062024_First India Newspaper Jaipur.pdf
 
Acolyte Episodes review (TV series)..pdf
Acolyte Episodes review (TV series)..pdfAcolyte Episodes review (TV series)..pdf
Acolyte Episodes review (TV series)..pdf
 
Letter-from-ECI-to-MeiTY-21st-march-2024.pdf
Letter-from-ECI-to-MeiTY-21st-march-2024.pdfLetter-from-ECI-to-MeiTY-21st-march-2024.pdf
Letter-from-ECI-to-MeiTY-21st-march-2024.pdf
 
Preview of Court Document for Iseyin community
Preview of Court Document for Iseyin communityPreview of Court Document for Iseyin community
Preview of Court Document for Iseyin community
 
EED - The Container Port PERFORMANCE INDEX 2023
EED - The Container Port PERFORMANCE INDEX 2023EED - The Container Port PERFORMANCE INDEX 2023
EED - The Container Port PERFORMANCE INDEX 2023
 
2015pmkemenhub163.pdf 2015pmkemenhub163.pdf
2015pmkemenhub163.pdf 2015pmkemenhub163.pdf2015pmkemenhub163.pdf 2015pmkemenhub163.pdf
2015pmkemenhub163.pdf 2015pmkemenhub163.pdf
 
Gabriel Whitley's Motion Summary Judgment
Gabriel Whitley's Motion Summary JudgmentGabriel Whitley's Motion Summary Judgment
Gabriel Whitley's Motion Summary Judgment
 
Hogan Comes Home: an MIA WWII crewman is returned
Hogan Comes Home: an MIA WWII crewman is returnedHogan Comes Home: an MIA WWII crewman is returned
Hogan Comes Home: an MIA WWII crewman is returned
 
Resolutions-Key-Interventions-28-May-2024.pdf
Resolutions-Key-Interventions-28-May-2024.pdfResolutions-Key-Interventions-28-May-2024.pdf
Resolutions-Key-Interventions-28-May-2024.pdf
 
Hindustan Insider 2nd edition release now
Hindustan Insider 2nd edition release nowHindustan Insider 2nd edition release now
Hindustan Insider 2nd edition release now
 

Chapter 11

  • 1. Chapter 1 TCP/IP Lecturer : Ms.Trần Thị Ngọc Hoa
  • 2. Objectives  TCP/IP Protocol Suite  IPv4 Addressing Schema  IPv4 Addressing Allocation Lecturer :Ms Trần Thị Ngọc Hoa
  • 3. TCP/IP Protocol Suite HTTP,DNS,FTP: Data Stream Application Transport TCP-UDP : Segment Internet IP address : Packet/Datagram Network.A.I MAC Address: Frame Lecturer :Ms Trần Thị Ngọc Hoa
  • 4. Problem Statement Lecturer :Ms Trần Thị Ngọc Hoa
  • 5. IP version 4 Addressing  Structure  Address Types  Subnetting Rule Lecturer :Ms Trần Thị Ngọc Hoa
  • 6. IPv4 Address Structure 1. Logical address used to specify a node location 2. 32 bit long 3. Presented as four octets in dotted decimal format 4. Two components:  Network ID  Host ID 5. Five classes : A B C D E Lecturer :Ms Trần Thị Ngọc Hoa
  • 7. Class A 0 X X X X X X X 24 X 1 32  Network Mask :  /8  255.0.0.0  The number of networks : 126  1.0.0.0 -126.0.0.0  127.0.0.0 : Loopack address  The number of host per network : 16.777.214 Lecturer :Ms Trần Thị Ngọc Hoa
  • 8. Class B 1 0 14 X 16 X 1 32  Network Mask :  /16  255.255.0.0  The number of networks : 16.386  128.0.0.0 -191.255.0.0  The number of hosts per network : 65.534 Lecturer :Ms Trần Thị Ngọc Hoa
  • 9. Class C 1 1 0 21 X 8X 1 32  Network Mask :  /24  255.255.255.0  The number of networks : 2.097.152  192.0.0.0 -223.255.255.0  The number of hosts per network : 254 Lecturer :Ms Trần Thị Ngọc Hoa
  • 10. Class D and Class E 1 1 1 0 28 X 1 32 1 1 1 1 28 X 1 32  224.0.0.0 -> 247.0.0.0  248.0.0.0 -> 255.0.0.0 Lecturer :Ms Trần Thị Ngọc Hoa
  • 11. Address Types  Unicast  Private  Public  Multicast  224.x.x.x – 247.x.x.x  Broadcast  Classfull  Classless  Loopback  127.0.0.0 Lecturer :Ms Trần Thị Ngọc Hoa
  • 12. Subnetting Rule  NET : SUBNET : HOST  Maximum subnet bit : left 2 host bits  You must figure the subnet mask by yourself Lecturer :Ms Trần Thị Ngọc Hoa

Editor's Notes

  1. In the original Internet routing scheme developed in the 1970s, sites were assigned addresses from one of three classes : Class A, Class B and Class C. The address classes differ in size and number. Class A addresses are the largest, but there are few of them. Class Cs are the smallest, but they are numerous. Classes D and E are also defined, but not used in normal operation. ddress Classes In the original Internet routing scheme developed in the 1970s, sites were assigned addresses from one of three classes : Class A, Class B and Class C. The address classes differ in size and number. Class A addresses are the largest, but there are few of them. Class Cs are the smallest, but they are numerous. Classes D and E are also defined, but not used in normal operation. To say that class-based IP addressing in still used would be true only in the loosest sense. Many addressing designs are still class-based, but an increasing number can only be explained using the more general concept of CIDR, which is backwards compatible with address classes. Suffice it to say that at one point in time, you could request the Internet NIC to assign you a class A, B or C address. To get the larger class B addresses, you might have to supply some justification, but only the class A was really tough to get. In any case, NIC would set the network bits, or n-bits, to some unique value and inform the local network engineer. It would then be up to the engineer to assign each of his hosts an IP address starting with the assigned n-bits, followed by host bits, or h-bits, to make the address unique. Internet routing used to work like this: A router receiving an IP packet extracted its Destination Address, which was classified (literally) by examining its first one to four bits. Once the address's class had been determined, it was broken down into network and host bits. Routers ignored the host bits, and only needed to match the network bits to find a route to the network. Once a packet reached its target network, its host field was examined for final delivery. Summary of IP Address Classes Class A - 0nnnnnnn hhhhhhhh hhhhhhhh hhhhhhhh First bit 0; 7 network bits; 24 host bits Initial byte: 0 - 127 126 Class As exist (0 and 127 are reserved) 16,777,214 hosts on each Class A Class B - 10nnnnnn nnnnnnnn hhhhhhhh hhhhhhhh First two bits 10; 14 network bits; 16 host bits Initial byte: 128 - 191 16,384 Class Bs exist 65,532 hosts on each Class B Class C - 110nnnnn nnnnnnnn nnnnnnnn hhhhhhhh First three bits 110; 21 network bits; 8 host bits Initial byte: 192 - 223 2,097,152 Class Cs exist 254 hosts on each Class C Class D - 1110mmmm mmmmmmmm mmmmmmmm mmmmmmmm First four bits 1110; 28 multicast address bits Initial byte: 224 - 247 Class Ds are multicast addresses - see RFC 1112 Class E - 1111rrrr rrrrrrrr rrrrrrrr rrrrrrrr First four bits 1111; 28 reserved address bits Initial byte: 248 - 255 Reserved for experimental use