SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Network Addressing



          Networking for Home and Small Businesses – Chapter
          5




ITE PC v4.0
Chapter 1                              © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   1
Purpose of an IP Address
           A logical network address that identifies a host
           A host (end-user) must have a NIC card
              – workstations
              – servers
              – printers
              – router interface

           Each packet will contain a source and destination IP
            address

              Packet Tracer Activity 5.1.1 – Section 2


ITE PC v4.0
Chapter 1                              © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   2
IP addresses


        32 binary digits
        4 octets
        Dotted decimal notation
        IP Version 4
              – most common form of IP addresses

        Over 4 billion possible IP addresses



ITE PC v4.0
Chapter 1                                © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   3
Binary Numbers
           The IP address is made up of binary numbers (1 or 0)
           Humans must be able to talk computer language to
            send data
           We do this by converting our numbering system
            (Base 10 to binary)
           Let’s try some . . .
              Convert 140 to binary
              Convert 10 to binary
              Convert 11010111 to Base 10
              Convert 11111110 to Base 10


              Time to play a game -- Online Activity 5.1.2 –
              Section 3
ITE PC v4.0
Chapter 1                               © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   4
Parts of an IP Address
           Hierarchial
              – made up of 2 parts
                 • network
                 • host
              – determined by IP class




           Similar to your phone number
              – Area code = network
              – phone number = host



ITE PC v4.0
Chapter 1                                © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   5
Purpose of the Subnet Mask
           Helps identify network bits (all 1s) and host bits
           Boolean math or “ANDING”
           What happens if both source and destination IP are on
            the same network??




ITE PC v4.0
Chapter 1                               © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   6
Types of IP Addresses
           Class A
              – Range 1-127
              – N.H.H.H
              – First bit in octet will be a 0
              – Default subnet mask
                 • 255.0.0.0
              – can create over 16 million host addresses
                 • 224 – 2 = 16,777,214 to be exact
                 • why do you subtract 2???
              – Used in large organizations




ITE PC v4.0
Chapter 1                                        © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   7
Types of IP Addresses
           Class B
              – Range 128-191
              – N.N.H.H
              – First bit in octet will be a 1
              – Default subnet mask
                 • 255.255.0.0
              – can create over 65,000 host addresses
                 • 216 – 2 = 65,534 to be exact
              – Used in medium-sized organizations




ITE PC v4.0
Chapter 1                                        © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   8
Types of IP Addresses
           Class C
              – Range 192 -223
              – N.N.N.H
              – First two bits in octet will be a 11
              – Default subnet mask
                 • 255.255.255.0
              – can create 254 hosts
                 • 28 – 2 = 254 to be exact
              – Used in small organizations




ITE PC v4.0
Chapter 1                                     © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   9
Types of IP Addresses
           Class D
              – Range 224 - 239
              – used for multicasting
              – not for commercial use

           Class E
              – Range 240 - 255
              – reserved for experimental use
              – not for commercial use




ITE PC v4.0
Chapter 1                                 © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   10
Private IP Addresses
           Helps avoid the problem of limited IP addresses
           Allows hosts to communicate locally without each device needing
            a public IP address
           Not routed on the Internet; blocked by the ISP router
           Private address ranges assigned by RFC 1918
               – Request for comment
               – all classes can be used for any size network
               – most use Class A




ITE PC v4.0
Chapter 1                                      © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   11
Unicast Address
           Most common type of address
           Intended for a specific host
           Must have both destination IP and MAC in the header




ITE PC v4.0
Chapter 1                              © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   12
Broadcast Address
           All ones in the host portion of the IP address
              – Class C address: 204.33.4.0 (N.N.N.H)
              – Broadcast address: 204.33.4.255

           MAC address all Fs
              – FF-FF-FF-FF-FF-FF




ITE PC v4.0
Chapter 1                               © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   13
Multicast Address
           Send packet to a group of devices
           Must use multicast address range
           Range 224.0.0.0 – 239.255.255.255
           Used for remote gaming
           MAC address begins with:
              – 01-00-5E




ITE PC v4.0
Chapter 1                              © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   14
Using Static IP Addressing
           Manually configured by the network administrator
           Advantages
              – useful for printers, servers, etc
              – increased control of resources (security)


           Disadvantages
              – time consuming




ITE PC v4.0
Chapter 1                                    © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   15
Using Dynamic IP Addressing
           Automatic assignment of IP addresses
           Useful if frequent change in users (wireless hotspot)
           Uses DHCP (Dynamic Host Configuration Protocol)
            server
           IP addresses leased for a period of time
              – if host is removed from the network (turned off), the IP
              address goes back into the pool of IP address

           Preferred method for large networks
              – reduces the burden of network support




ITE PC v4.0
Chapter 1                                   © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   16
Configuring DHCP
               If host is configured as DHCP client, it will not have a
                  – IP address
                  – Subnet Mask
                  – Default Gateway

               Clients send a DHCP address
                  – Broadcast IP and MAC
                     • only DHCP server replies

               Server responds with DHCP offer of an IP address
               Host/client sends DHCP request asking server to
                use the IP address
               Server responds with DHCP acknowledgment
ITE PC v4.0
Chapter 1                                    © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   17
Obtaining an IP address from DHCP server
           Multifunction device (Linksys Router) provides services
            to clients (SOHO network)
           Configuring the DHCP server
              – Enter router default IP address and subnet mask for internal
              interface
                 • IP = 192.168.1.1
                 • Subnet Mask = 255.255.255.0
              –On DHCP screen
                 • check range
                 • number of users
                 • lease time (24 hours by default)


ITE PC v4.0
Chapter 1                                  © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   18
Purpose of a Gateway

           Used by the router to provide the path through which hosts on one
            network can communicate with hosts on a different network


           Default gateway address
               – IP address of the router interface


           If DHCP is being used
               – the DHCP server will automatically send the correct IP interface to
               the host to use as the default gateway




ITE PC v4.0
Chapter 1                                       © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   19
Address Assignment

           ISR (Integrated Services Router)
           Default IP address
              – Class C Private Address
              – Configured on router interface

           Internal hosts must be assigned addresses within the
            same network




ITE PC v4.0
Chapter 1                                  © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   20
Address Management
           Direct Connection
              – direct connection from PC to ISP through modem
              – public address assigned to the host

           Connection through Integrated Router
              – more than one host needs access to the Internet
              – modem connected to ISR

           Connection through Gateway Device
              – ISR and modem in one unit
              – connect directly to ISP




ITE PC v4.0
Chapter 1                                 © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   21
Using NAT with a Home or Small Business
          Network
           NAT (Network Address Translation)
           Translates private IP addresses into unique public
            address for Internet communication
           Only packets destined for different network use NAT




ITE PC v4.0
Chapter 1                             © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   22
ITE PC v4.0
Chapter 1     © 2007 Cisco Systems, Inc. All rights reserved.   Cisco Public   23

Weitere ähnliche Inhalte

Was ist angesagt?

VoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP CommunicatorVoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP Communicator
chinmaypadhye1985
 
Basic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notesBasic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notes
Vamsi Krishna Kalavala
 
Ccna interview questions
Ccna interview questionsCcna interview questions
Ccna interview questions
Sanjay Thakare
 
Ccna r&s overview presentation
Ccna r&s overview presentationCcna r&s overview presentation
Ccna r&s overview presentation
personal
 

Was ist angesagt? (20)

CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10CCNA 1 Routing and Switching v5.0 Chapter 10
CCNA 1 Routing and Switching v5.0 Chapter 10
 
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 1 Routing and Switching v5.0 Chapter 8
 
VoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP CommunicatorVoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP Communicator
 
Avaya VoIP on Cisco Best Practices by PacketBase
Avaya VoIP on Cisco Best Practices by PacketBaseAvaya VoIP on Cisco Best Practices by PacketBase
Avaya VoIP on Cisco Best Practices by PacketBase
 
CCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerCCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application Layer
 
CCA security answers chapter 2 test
CCA security answers chapter 2 testCCA security answers chapter 2 test
CCA security answers chapter 2 test
 
Cisco Certified Network Associate
Cisco Certified Network AssociateCisco Certified Network Associate
Cisco Certified Network Associate
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
 
Basic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notesBasic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notes
 
CCNAv5 - S3: Chapter9 IOS Images and Licensing
CCNAv5 - S3: Chapter9 IOS Images and LicensingCCNAv5 - S3: Chapter9 IOS Images and Licensing
CCNAv5 - S3: Chapter9 IOS Images and Licensing
 
CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5CCNA RS_NB - Chapter 5
CCNA RS_NB - Chapter 5
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
CCNA RS_ITN - Chapter 10
CCNA RS_ITN - Chapter 10CCNA RS_ITN - Chapter 10
CCNA RS_ITN - Chapter 10
 
Ccna interview questions
Ccna interview questionsCcna interview questions
Ccna interview questions
 
CCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 VlansCCNAv5 - S2: Chapter3 Vlans
CCNAv5 - S2: Chapter3 Vlans
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 1
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 1CCNA (R & S) Module 01 - Introduction to Networks - Chapter 1
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 1
 
CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2CCNA 2 Routing and Switching v5.0 Chapter 2
CCNA 2 Routing and Switching v5.0 Chapter 2
 
Ccna r&s overview presentation
Ccna r&s overview presentationCcna r&s overview presentation
Ccna r&s overview presentation
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And Answers
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10
 

Andere mochten auch (6)

CCNA ALL IN ONE
CCNA ALL IN ONE CCNA ALL IN ONE
CCNA ALL IN ONE
 
Data Link Layer
Data Link LayerData Link Layer
Data Link Layer
 
Internet address
Internet addressInternet address
Internet address
 
Jdbc 1
Jdbc 1Jdbc 1
Jdbc 1
 
Introduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link LayerIntroduction to the OSI 7 layer model and Data Link Layer
Introduction to the OSI 7 layer model and Data Link Layer
 
Mac addresses(media access control)
Mac addresses(media access control)Mac addresses(media access control)
Mac addresses(media access control)
 

Ähnlich wie Chapter 5

CCNA Discovery 2 - Chapter 4
CCNA Discovery 2 - Chapter 4CCNA Discovery 2 - Chapter 4
CCNA Discovery 2 - Chapter 4
Irsandi Hasan
 
CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6
Irsandi Hasan
 
Exploration routing chapter_6
Exploration routing chapter_6Exploration routing chapter_6
Exploration routing chapter_6
Joshua Torres
 
Ipv6 the next generation protocol
Ipv6 the next generation protocolIpv6 the next generation protocol
Ipv6 the next generation protocol
PRADEEP Cheekatla
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
CAVC
 
Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2
sunabozu
 

Ähnlich wie Chapter 5 (20)

CCNA Discovery 2 - Chapter 4
CCNA Discovery 2 - Chapter 4CCNA Discovery 2 - Chapter 4
CCNA Discovery 2 - Chapter 4
 
CCNA Icnd110 s01l04
CCNA Icnd110 s01l04CCNA Icnd110 s01l04
CCNA Icnd110 s01l04
 
CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6CCNA Exploration 2 - Chapter 6
CCNA Exploration 2 - Chapter 6
 
Exploration routing chapter_6
Exploration routing chapter_6Exploration routing chapter_6
Exploration routing chapter_6
 
Addressing the Network – IPv4
Addressing the Network – IPv4Addressing the Network – IPv4
Addressing the Network – IPv4
 
Ipv6 the next generation protocol
Ipv6 the next generation protocolIpv6 the next generation protocol
Ipv6 the next generation protocol
 
Network basics 3 eng. moaath alshaikh
Network basics 3 eng. moaath alshaikhNetwork basics 3 eng. moaath alshaikh
Network basics 3 eng. moaath alshaikh
 
Day 17.1 nat pat
Day 17.1 nat pat Day 17.1 nat pat
Day 17.1 nat pat
 
Chapter 08 - IP Addressing
Chapter 08 - IP AddressingChapter 08 - IP Addressing
Chapter 08 - IP Addressing
 
CCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip AddressingCCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip Addressing
 
Chapter 8 : IP addressing
Chapter 8 : IP addressingChapter 8 : IP addressing
Chapter 8 : IP addressing
 
CCNA Icnd110 cag
CCNA Icnd110 cagCCNA Icnd110 cag
CCNA Icnd110 cag
 
Icnd210 s07l02
Icnd210 s07l02Icnd210 s07l02
Icnd210 s07l02
 
ccna lec 1.pdf
ccna lec 1.pdfccna lec 1.pdf
ccna lec 1.pdf
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
 
Ccna v5-S1-Chapter 8
Ccna v5-S1-Chapter 8Ccna v5-S1-Chapter 8
Ccna v5-S1-Chapter 8
 
1
11
1
 
Nat 03
Nat 03Nat 03
Nat 03
 
Chapter_2_CCNA2
Chapter_2_CCNA2Chapter_2_CCNA2
Chapter_2_CCNA2
 
CCNA RS_ITN - Chapter 8
CCNA RS_ITN - Chapter 8CCNA RS_ITN - Chapter 8
CCNA RS_ITN - Chapter 8
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Chapter 5

  • 1. Network Addressing Networking for Home and Small Businesses – Chapter 5 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
  • 2. Purpose of an IP Address  A logical network address that identifies a host  A host (end-user) must have a NIC card – workstations – servers – printers – router interface  Each packet will contain a source and destination IP address Packet Tracer Activity 5.1.1 – Section 2 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 2
  • 3. IP addresses  32 binary digits  4 octets  Dotted decimal notation  IP Version 4 – most common form of IP addresses  Over 4 billion possible IP addresses ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
  • 4. Binary Numbers  The IP address is made up of binary numbers (1 or 0)  Humans must be able to talk computer language to send data  We do this by converting our numbering system (Base 10 to binary)  Let’s try some . . . Convert 140 to binary Convert 10 to binary Convert 11010111 to Base 10 Convert 11111110 to Base 10 Time to play a game -- Online Activity 5.1.2 – Section 3 ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 4
  • 5. Parts of an IP Address  Hierarchial – made up of 2 parts • network • host – determined by IP class  Similar to your phone number – Area code = network – phone number = host ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 5
  • 6. Purpose of the Subnet Mask  Helps identify network bits (all 1s) and host bits  Boolean math or “ANDING”  What happens if both source and destination IP are on the same network?? ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
  • 7. Types of IP Addresses  Class A – Range 1-127 – N.H.H.H – First bit in octet will be a 0 – Default subnet mask • 255.0.0.0 – can create over 16 million host addresses • 224 – 2 = 16,777,214 to be exact • why do you subtract 2??? – Used in large organizations ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 7
  • 8. Types of IP Addresses  Class B – Range 128-191 – N.N.H.H – First bit in octet will be a 1 – Default subnet mask • 255.255.0.0 – can create over 65,000 host addresses • 216 – 2 = 65,534 to be exact – Used in medium-sized organizations ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 8
  • 9. Types of IP Addresses  Class C – Range 192 -223 – N.N.N.H – First two bits in octet will be a 11 – Default subnet mask • 255.255.255.0 – can create 254 hosts • 28 – 2 = 254 to be exact – Used in small organizations ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
  • 10. Types of IP Addresses  Class D – Range 224 - 239 – used for multicasting – not for commercial use  Class E – Range 240 - 255 – reserved for experimental use – not for commercial use ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 10
  • 11. Private IP Addresses  Helps avoid the problem of limited IP addresses  Allows hosts to communicate locally without each device needing a public IP address  Not routed on the Internet; blocked by the ISP router  Private address ranges assigned by RFC 1918 – Request for comment – all classes can be used for any size network – most use Class A ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 11
  • 12. Unicast Address  Most common type of address  Intended for a specific host  Must have both destination IP and MAC in the header ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 12
  • 13. Broadcast Address  All ones in the host portion of the IP address – Class C address: 204.33.4.0 (N.N.N.H) – Broadcast address: 204.33.4.255  MAC address all Fs – FF-FF-FF-FF-FF-FF ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
  • 14. Multicast Address  Send packet to a group of devices  Must use multicast address range  Range 224.0.0.0 – 239.255.255.255  Used for remote gaming  MAC address begins with: – 01-00-5E ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
  • 15. Using Static IP Addressing  Manually configured by the network administrator  Advantages – useful for printers, servers, etc – increased control of resources (security)  Disadvantages – time consuming ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 15
  • 16. Using Dynamic IP Addressing  Automatic assignment of IP addresses  Useful if frequent change in users (wireless hotspot)  Uses DHCP (Dynamic Host Configuration Protocol) server  IP addresses leased for a period of time – if host is removed from the network (turned off), the IP address goes back into the pool of IP address  Preferred method for large networks – reduces the burden of network support ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
  • 17. Configuring DHCP  If host is configured as DHCP client, it will not have a – IP address – Subnet Mask – Default Gateway  Clients send a DHCP address – Broadcast IP and MAC • only DHCP server replies  Server responds with DHCP offer of an IP address  Host/client sends DHCP request asking server to use the IP address  Server responds with DHCP acknowledgment ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
  • 18. Obtaining an IP address from DHCP server  Multifunction device (Linksys Router) provides services to clients (SOHO network)  Configuring the DHCP server – Enter router default IP address and subnet mask for internal interface • IP = 192.168.1.1 • Subnet Mask = 255.255.255.0 –On DHCP screen • check range • number of users • lease time (24 hours by default) ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 18
  • 19. Purpose of a Gateway  Used by the router to provide the path through which hosts on one network can communicate with hosts on a different network  Default gateway address – IP address of the router interface  If DHCP is being used – the DHCP server will automatically send the correct IP interface to the host to use as the default gateway ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 19
  • 20. Address Assignment  ISR (Integrated Services Router)  Default IP address – Class C Private Address – Configured on router interface  Internal hosts must be assigned addresses within the same network ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20
  • 21. Address Management  Direct Connection – direct connection from PC to ISP through modem – public address assigned to the host  Connection through Integrated Router – more than one host needs access to the Internet – modem connected to ISR  Connection through Gateway Device – ISR and modem in one unit – connect directly to ISP ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 21
  • 22. Using NAT with a Home or Small Business Network  NAT (Network Address Translation)  Translates private IP addresses into unique public address for Internet communication  Only packets destined for different network use NAT ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 22
  • 23. ITE PC v4.0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 23