SlideShare une entreprise Scribd logo
1  sur  21
Introduction
• Hector Macleod
  – CCNA student
  – Systems Integration Engineer
• Subject - IP addressing
Topics
•   What is an IP address ?
•   Types of IP addressing
•   Classes of IP address
•   Networks & subnetworks
•   IP addresses and routing
What is an IP address?

• IP (Internet Protocol) address
  – device used by routers, to select best path
    from source to destination, across
    networks and internetworks
  – network layer address, consisting of
    NETWORK portion, and HOST portion
  – logical address,assigned in software by
    network administrator
  – part of a hierarchical ‘numbering scheme’ -
    unique, for reliable routing
Types of IP address

• Static address
• Dynamic address
Types of IP address

• Static IP address
  – manually input by network administrator
  – manageable for small networks
  – requires careful checks to avoid duplication
Types of IP address

• Dynamic IP address
• examples - BOOTP, DHCP
  – assigned by server when host boots
  – derived automatically from a range of
    addresses
  – duration of ‘lease’ negotiated, then address
    released back to server
Class A IP address

• 1st octet = network address, octets 2-4
  = host address
• 1st bits of 1st octet set to 0
• up to (2^24 - 2) host addresses (16.8M)
Class A IP address


             124.224.224.100


01111100   11100000     11100000   01100100
Class B IP address

• 1st 2 octets = network address, octets
  3-4 = host address
• 1st 2 bits of 1st octet set to 10
• up to (2^16 - 2) host addresses (65534)
Class B IP address

             129.224.224.100


10000001   11100000    11100000   01100100
Class C IP address

• 1st 3 octets = network address, octet 4
  = host address
• 1st 3 bits of 1st octet set to 110
• up to (2^8 - 2) host addresses (254)
Class C IP address


             193.224.224.100


11000001   11100000     11100000   01100100
IP addresses and
                             routing
• routing tables
• identifying source and destination
• IP packet routing
IP addresses and routing
                  -Routing tables
  – created by router, held in memory, constantly
    updated
• based on cross-referencing
  – IP packet source address, and port on which
    received
IP addresses and routing
Identifying source and destination

 – as part of a layer 3 packet, IP header contains
   source and destination address
 – each address is 32 bits long, and unique to device
   or port
 – router reads destination IP address, checks
   against routing tables
IP addresses and routing - IP
                            packet routing

– if destination address not on the same segment as
  receive port, router sends packet to correct port
  for routing to destination
– if destination on same segment as receive port,
  packet not forwarded
Networks and subnets

• why subnet
• subnet mask
• restrictions on ‘borrowed’ bits
why subnet
– reduce broadcast domain, improve network
  efficiency
subnet masks
– extend NETWORK portion, borrow from
  HOST portion
– allow external networks to route packets
  direct to subnet
restrictions on borrowed bits

• reserved addresses
  – all 0’s= network address, all 1’s broadcast
    address
• minimum of 2 bits borrowed from host
  portion
• minimum of 2 bits left for host portion
Phew !

Contenu connexe

Tendances (20)

Subnetting
SubnettingSubnetting
Subnetting
 
Ip -subnetting
Ip  -subnettingIp  -subnetting
Ip -subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
03 coms 525 tcpip - ip address
03   coms 525 tcpip -  ip address03   coms 525 tcpip -  ip address
03 coms 525 tcpip - ip address
 
Addressing in Computer Networks
Addressing in Computer NetworksAddressing in Computer Networks
Addressing in Computer Networks
 
Unit05
Unit05Unit05
Unit05
 
Subnetting and routing
Subnetting and routingSubnetting and routing
Subnetting and routing
 
Addressing
AddressingAddressing
Addressing
 
Subnetting
SubnettingSubnetting
Subnetting
 
Configuration and testing of network
Configuration and testing of networkConfiguration and testing of network
Configuration and testing of network
 
Ramakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressingRamakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
Subneting
SubnetingSubneting
Subneting
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Soalan subneting
Soalan subnetingSoalan subneting
Soalan subneting
 
CCNA part 3 subnetting
CCNA part 3 subnettingCCNA part 3 subnetting
CCNA part 3 subnetting
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 

En vedette

CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)Anis Mizi
 
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
ccna summer training ppt ( Cisco certified network analysis) ppt.  by Traun k...ccna summer training ppt ( Cisco certified network analysis) ppt.  by Traun k...
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...Tarun Khaneja
 
CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing NetworksDsunte Wilson
 

En vedette (10)

Mod4
Mod4Mod4
Mod4
 
Cisco CCNA module 6
Cisco CCNA module 6Cisco CCNA module 6
Cisco CCNA module 6
 
CCNA CHAPTER 7 BY jetarvind kumar madhukar
CCNA CHAPTER 7 BY jetarvind kumar madhukarCCNA CHAPTER 7 BY jetarvind kumar madhukar
CCNA CHAPTER 7 BY jetarvind kumar madhukar
 
Mod6
Mod6Mod6
Mod6
 
Mod3
Mod3Mod3
Mod3
 
CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)
 
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
ccna summer training ppt ( Cisco certified network analysis) ppt.  by Traun k...ccna summer training ppt ( Cisco certified network analysis) ppt.  by Traun k...
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
 
CCNA TCP/IP
CCNA TCP/IPCCNA TCP/IP
CCNA TCP/IP
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing Networks
 

Similaire à Ip address (20)

Lecture 3 network layer
Lecture 3 network layerLecture 3 network layer
Lecture 3 network layer
 
network-addressing.pptx
network-addressing.pptxnetwork-addressing.pptx
network-addressing.pptx
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
chapter 5 (1).ppt
chapter 5 (1).pptchapter 5 (1).ppt
chapter 5 (1).ppt
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
IP adress and routing(networking)
IP adress and routing(networking)IP adress and routing(networking)
IP adress and routing(networking)
 
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.pptchsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
 
Network layer logical addressing
Network layer logical addressingNetwork layer logical addressing
Network layer logical addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
ADDRESSING PADA TCP IP
ADDRESSING PADA TCP IPADDRESSING PADA TCP IP
ADDRESSING PADA TCP IP
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
tcpip.ppt
tcpip.ppttcpip.ppt
tcpip.ppt
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclass
 
IPV4 addresses
IPV4 addressesIPV4 addresses
IPV4 addresses
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Tcpip
TcpipTcpip
Tcpip
 
vulnerabilities in IP.pdf
vulnerabilities in IP.pdfvulnerabilities in IP.pdf
vulnerabilities in IP.pdf
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
IP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.pptIP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.ppt
 

Ip address

  • 1. Introduction • Hector Macleod – CCNA student – Systems Integration Engineer • Subject - IP addressing
  • 2. Topics • What is an IP address ? • Types of IP addressing • Classes of IP address • Networks & subnetworks • IP addresses and routing
  • 3. What is an IP address? • IP (Internet Protocol) address – device used by routers, to select best path from source to destination, across networks and internetworks – network layer address, consisting of NETWORK portion, and HOST portion – logical address,assigned in software by network administrator – part of a hierarchical ‘numbering scheme’ - unique, for reliable routing
  • 4. Types of IP address • Static address • Dynamic address
  • 5. Types of IP address • Static IP address – manually input by network administrator – manageable for small networks – requires careful checks to avoid duplication
  • 6. Types of IP address • Dynamic IP address • examples - BOOTP, DHCP – assigned by server when host boots – derived automatically from a range of addresses – duration of ‘lease’ negotiated, then address released back to server
  • 7. Class A IP address • 1st octet = network address, octets 2-4 = host address • 1st bits of 1st octet set to 0 • up to (2^24 - 2) host addresses (16.8M)
  • 8. Class A IP address 124.224.224.100 01111100 11100000 11100000 01100100
  • 9. Class B IP address • 1st 2 octets = network address, octets 3-4 = host address • 1st 2 bits of 1st octet set to 10 • up to (2^16 - 2) host addresses (65534)
  • 10. Class B IP address 129.224.224.100 10000001 11100000 11100000 01100100
  • 11. Class C IP address • 1st 3 octets = network address, octet 4 = host address • 1st 3 bits of 1st octet set to 110 • up to (2^8 - 2) host addresses (254)
  • 12. Class C IP address 193.224.224.100 11000001 11100000 11100000 01100100
  • 13. IP addresses and routing • routing tables • identifying source and destination • IP packet routing
  • 14. IP addresses and routing -Routing tables – created by router, held in memory, constantly updated • based on cross-referencing – IP packet source address, and port on which received
  • 15. IP addresses and routing Identifying source and destination – as part of a layer 3 packet, IP header contains source and destination address – each address is 32 bits long, and unique to device or port – router reads destination IP address, checks against routing tables
  • 16. IP addresses and routing - IP packet routing – if destination address not on the same segment as receive port, router sends packet to correct port for routing to destination – if destination on same segment as receive port, packet not forwarded
  • 17. Networks and subnets • why subnet • subnet mask • restrictions on ‘borrowed’ bits
  • 18. why subnet – reduce broadcast domain, improve network efficiency
  • 19. subnet masks – extend NETWORK portion, borrow from HOST portion – allow external networks to route packets direct to subnet
  • 20. restrictions on borrowed bits • reserved addresses – all 0’s= network address, all 1’s broadcast address • minimum of 2 bits borrowed from host portion • minimum of 2 bits left for host portion