SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Objectives
 Understanding how a “heterogeneous” collection
 of networks can be connected to create an
 internetwork

 Understanding how to use the hierarchy of the
 IP address to make routing decisions and make
 routing in an internet more scalable
Internet Protocol (IP)
 Part of TCP/IP
   Used by the Internet
 Specifies interface with higher layer
   e.g. TCP
 Specifies protocol format and mechanisms
IP Services
 Primitives
   Functions to be performed
   Form of primitive implementation dependent
    ⌧e.g. subroutine call
   Send
    ⌧Request transmission of data unit
   Deliver
    ⌧Used by IP to notify user of arrival of data unit
 Parameters
   Used to pass data and control info
Parameters (1)
 Source address
 Destination address
 Protocol
   Recipient e.g. TCP
 Type of Service
   Specify treatment of data unit during transmission
   through networks
 Identification
   Source, destination address and user protocol
   Uniquely identifies PDU
   Needed for re-assembly and error reporting
   Send only
Parameters (2)
 Don’t fragment indicator
   Can IP fragment data
   If not, may not be possible to deliver
   Send only
 Time to live
   Send only
 Data length
 Option data
 User data
Type of Service
 Precedence
   8 levels
 Reliability for damage and loss
   Normal or high
 Delay
   Normal or low
 Throughput
   Normal or high
IP Protocol
IP Addresses
 To achieve scalability:
   Reduce amount of info stored in each node
   Reduce info exchanged between nodes
 Introduce a 2-level hierarchy with networks at
 the top level and hosts at the lower level –
 hierarchical aggregation
 Routers can have forwarding tables that list only
 a set of networks numbers rather than all nodes
 in each network
 IP: get IP datagram to the right physical
 network. Problem?
IP Addresses - Class A
 Start with binary 0
 Range 1.x.x.x to 126.x.x.x
 Host portion is 24 bits
 All allocated
IP Addresses - Class B
 Start 10
 Range 128.x.x.x to 191.x.x.x
 Second Octet also included in network address
 214 = 16,384 class B addresses
 All allocated
IP Addresses - Class C
 Start 110
 Range 192.x.x.x to 223.x.x.x
 Second and third octets also part of network
 address
 221 = 2,097,152 addresses
 Nearly all allocated
   See IPv6
Internetworking Using IP (1)
 How do we get a datagram to a particular host or router on our
 network?
 The physical interface h/w on the host/router only understands the
 addressing scheme of that particular network (e.g., Ethernet flat
 addressing)
 IP address    link-level address
 Encapsulate IP datagram inside a frame w Ethernet address
 Solution?
    Encode a host’s physical address in the host part of the IP address
     ⌧Class A/B/C?
     ⌧Ethernet?
    Network admin manually configures a table of mappings
    ARP   ARP cache/table
     ⌧If (no mapping is found in ARP cache)
          Broadcast ARP query w target IP address
Internetworking Using IP (2)
 IP makes routing in an internet (or in the
 Internet) “SOMEWHAT” scalable
 Each router needs to know about all the
 networks connected to the internet
 Problem: today’s Internet has tens of thousands
 of networks
 Problem: large campus with many internal
 networks
   consider a Class C network with only 2/3 hosts
   consider a physical network that needs only 256/257
   hosts
Internetworking Using IP (3)
 Conclusion: assigning one network number per
 physical network uses up the IP address space
 much faster than we would like. Plus, the more
 the IP net numbers, the larger the forwarding
 tables
 Solutions:
   Subnetting (for address utilization)
   Route propagation techniques (16.1)
Subnets and Subnet Masks (1)
 Take a single IP net number and assign it more than
 one physical network, or “SUBNET”
 They will all look as a single network
 Examples: large campus or corporation. Form the
 outside, all a router needs to know to reach any subnet
 is the IP net number
 Each physical net is assigned a subnet number
 The host portion of the IP address is partitioned into
 subnet number and host number
 Bit positions containing this EXTENDED net number are
 indicated by means of the “SUBNET MASK”
Subnets and Subnet Masks (2)
 What happens when a datagram arrives from the rest of
 the internet?
 The subnet MASK allows the host to send directly or
 send to a router
 Hosts need not employ a subnet MASK. (T/F)
 Hosts need not make routing decisions. (T/F)
 Different subnets, on the same internet, can have the
 same subnet MASK
 Forwarding table entries
   Are not of the form <subnet #, nextHop>. Why not?
 <subnet #, subnet MASK, nextHop>
Subnets and Subnet Masks (3)
 Different subnets, on the same internet, can have
 different subnet MASKs. Why?
     255.255.255.192
     255.255.255.224
 Default subnet MASK for a given class of addresses is a
 null mask. What does this mean?
 [(Subnet #)*2k] + host # = host portion in IP portion
   10*25 + 1 = 65 (host C on p.547)
   1*25 + 25 = 57 (host B on p.547)
   Try it for hosts A and D
 For a Class C subnet MASK of 255.255.255.224, the first
 ___ rightmost/leftmost bits of the host portion of the IP
 address must be IDENTICAL for any 2 hosts on the
 same physical network
Subnets and Subnet Masks (4)
 For a Class C subnet MASK of 255.255.255.72, ___ bits
 of the host portion of the IP address must be
 IDENTICAL for any 2 hosts on the same physical
 network
 For a Class C subnet MASK of 255.255.255.0,
 the first ___ rightmost/leftmost bits of the host
 portion of the IP address must be IDENTICAL
 for any 2 hosts on the same physical network
 For a Class C subnet MASK of 255.255.255.224,
 how many different subnets can this
 accommodate?
     2number of 1s in host portion of IP-like subnet mask
Routing Using Subnets

Weitere Àhnliche Inhalte

Was ist angesagt?

TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
Ritul Sonania
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
Amandeep Kaur
 
IP adress and routing(networking)
IP adress and routing(networking)IP adress and routing(networking)
IP adress and routing(networking)
welcometofacebook
 
Subnetting
SubnettingSubnetting
Subnetting
swascher
 

Was ist angesagt? (20)

Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
 
Unit 2 : Internet Address
Unit 2 : Internet AddressUnit 2 : Internet Address
Unit 2 : Internet Address
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
 
TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Mod6
Mod6Mod6
Mod6
 
IP address and Domain name
IP address and Domain nameIP address and Domain name
IP address and Domain name
 
IP adress and routing(networking)
IP adress and routing(networking)IP adress and routing(networking)
IP adress and routing(networking)
 
IP classes
IP classesIP classes
IP classes
 
Computer Networking: Internet Protcol (IP) and IP Addressing
Computer Networking: Internet Protcol (IP) and IP AddressingComputer Networking: Internet Protcol (IP) and IP Addressing
Computer Networking: Internet Protcol (IP) and IP Addressing
 
Assignment subnetting part1 - solutions
Assignment subnetting part1 - solutionsAssignment subnetting part1 - solutions
Assignment subnetting part1 - solutions
 
Subnetting
SubnettingSubnetting
Subnetting
 
Day 2.2 ip addressing
Day 2.2 ip addressingDay 2.2 ip addressing
Day 2.2 ip addressing
 
Ip addressing3
Ip addressing3Ip addressing3
Ip addressing3
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Classful and classless addressing
Classful and classless addressingClassful and classless addressing
Classful and classless addressing
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ip address
Ip addressIp address
Ip address
 
Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing system
 

Andere mochten auch

Accessory
AccessoryAccessory
Accessory
aishfan
 
Publisher subscriber pattern
Publisher subscriber patternPublisher subscriber pattern
Publisher subscriber pattern
DaeMyung Kang
 
Enquesta de la televisiĂł i l'escola
Enquesta de la televisiĂł i l'escolaEnquesta de la televisiĂł i l'escola
Enquesta de la televisiĂł i l'escola
carlaag
 
ëŻŒëł€2012.3.4월혞
ëŻŒëł€2012.3.4ì›”í˜žëŻŒëł€2012.3.4월혞
ëŻŒëł€2012.3.4월혞
karyui
 
12 quelques prédicats prédéfinis de swi
12  quelques prédicats prédéfinis de swi12  quelques prédicats prédéfinis de swi
12 quelques prédicats prédéfinis de swi
Siham Rim Boudaoud
 
Editores de video
Editores de videoEditores de video
Editores de video
brocoli_GT
 

Andere mochten auch (20)

Caramenghitungangkakreditgurutahun2013 140309015522-phpapp02
Caramenghitungangkakreditgurutahun2013 140309015522-phpapp02Caramenghitungangkakreditgurutahun2013 140309015522-phpapp02
Caramenghitungangkakreditgurutahun2013 140309015522-phpapp02
 
Accessory
AccessoryAccessory
Accessory
 
12986
1298612986
12986
 
KEY DEPUTY
KEY DEPUTYKEY DEPUTY
KEY DEPUTY
 
EXCHANGE RATE
EXCHANGE RATEEXCHANGE RATE
EXCHANGE RATE
 
JAGUARIBE
JAGUARIBEJAGUARIBE
JAGUARIBE
 
Compra.venta.internet
Compra.venta.internetCompra.venta.internet
Compra.venta.internet
 
ë°©ëŹžì§„ /KBS ìŽì‚Źì„ ìž„êłŒì •
ë°©ëŹžì§„ /KBS ìŽì‚Źì„ ìž„êłŒì •ë°©ëŹžì§„ /KBS ìŽì‚Źì„ ìž„êłŒì •
ë°©ëŹžì§„ /KBS ìŽì‚Źì„ ìž„êłŒì •
 
Getting Started Online for Fine Food Brands
Getting Started Online for Fine Food BrandsGetting Started Online for Fine Food Brands
Getting Started Online for Fine Food Brands
 
Publisher subscriber pattern
Publisher subscriber patternPublisher subscriber pattern
Publisher subscriber pattern
 
6
66
6
 
Enquesta de la televisiĂł i l'escola
Enquesta de la televisiĂł i l'escolaEnquesta de la televisiĂł i l'escola
Enquesta de la televisiĂł i l'escola
 
Clase Usabilidad
Clase UsabilidadClase Usabilidad
Clase Usabilidad
 
Iink
IinkIink
Iink
 
ëŻŒëł€2012.3.4월혞
ëŻŒëł€2012.3.4ì›”í˜žëŻŒëł€2012.3.4월혞
ëŻŒëł€2012.3.4월혞
 
AnĂșncios de Semana de 27/02 a 04/03
AnĂșncios de Semana de 27/02 a 04/03AnĂșncios de Semana de 27/02 a 04/03
AnĂșncios de Semana de 27/02 a 04/03
 
Tobias schneebaum
Tobias schneebaumTobias schneebaum
Tobias schneebaum
 
12 quelques prédicats prédéfinis de swi
12  quelques prédicats prédéfinis de swi12  quelques prédicats prédéfinis de swi
12 quelques prédicats prédéfinis de swi
 
Editores de video
Editores de videoEditores de video
Editores de video
 
3 intro
3 intro3 intro
3 intro
 

Ähnlich wie 15 3

Intro tcp-ip
Intro tcp-ipIntro tcp-ip
Intro tcp-ip
Zoulou Adams
 
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
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
ZahouAmel1
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
ZahouAmel1
 
Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
githe26200
 
Tcp
TcpTcp
Tcp
giaolvq
 

Ähnlich wie 15 3 (20)

Free CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdfFree CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdf
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
 
Hardware9
Hardware9Hardware9
Hardware9
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
Introduction to tcp ip linux networking
Introduction to tcp ip   linux networkingIntroduction to tcp ip   linux networking
Introduction to tcp ip linux networking
 
Intro tcp-ip
Intro tcp-ipIntro tcp-ip
Intro tcp-ip
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
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
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
 
Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
 
Computer network
Computer networkComputer network
Computer network
 
Networking basics
Networking basicsNetworking basics
Networking basics
 
Tcp
TcpTcp
Tcp
 
ip addressing & subnet.pptx
ip addressing & subnet.pptxip addressing & subnet.pptx
ip addressing & subnet.pptx
 
Chapter_6_ Network Layer.pptx
Chapter_6_ Network Layer.pptxChapter_6_ Network Layer.pptx
Chapter_6_ Network Layer.pptx
 
CCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick NotesCCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick Notes
 
Unit 4 - Network Layer
Unit 4 - Network LayerUnit 4 - Network Layer
Unit 4 - Network Layer
 

KĂŒrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
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
Safe Software
 

KĂŒrzlich hochgeladen (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

15 3

  • 1. Objectives Understanding how a “heterogeneous” collection of networks can be connected to create an internetwork Understanding how to use the hierarchy of the IP address to make routing decisions and make routing in an internet more scalable
  • 2. Internet Protocol (IP) Part of TCP/IP Used by the Internet Specifies interface with higher layer e.g. TCP Specifies protocol format and mechanisms
  • 3. IP Services Primitives Functions to be performed Form of primitive implementation dependent ⌧e.g. subroutine call Send ⌧Request transmission of data unit Deliver ⌧Used by IP to notify user of arrival of data unit Parameters Used to pass data and control info
  • 4. Parameters (1) Source address Destination address Protocol Recipient e.g. TCP Type of Service Specify treatment of data unit during transmission through networks Identification Source, destination address and user protocol Uniquely identifies PDU Needed for re-assembly and error reporting Send only
  • 5. Parameters (2) Don’t fragment indicator Can IP fragment data If not, may not be possible to deliver Send only Time to live Send only Data length Option data User data
  • 6. Type of Service Precedence 8 levels Reliability for damage and loss Normal or high Delay Normal or low Throughput Normal or high
  • 8. IP Addresses To achieve scalability: Reduce amount of info stored in each node Reduce info exchanged between nodes Introduce a 2-level hierarchy with networks at the top level and hosts at the lower level – hierarchical aggregation Routers can have forwarding tables that list only a set of networks numbers rather than all nodes in each network IP: get IP datagram to the right physical network. Problem?
  • 9. IP Addresses - Class A Start with binary 0 Range 1.x.x.x to 126.x.x.x Host portion is 24 bits All allocated
  • 10. IP Addresses - Class B Start 10 Range 128.x.x.x to 191.x.x.x Second Octet also included in network address 214 = 16,384 class B addresses All allocated
  • 11. IP Addresses - Class C Start 110 Range 192.x.x.x to 223.x.x.x Second and third octets also part of network address 221 = 2,097,152 addresses Nearly all allocated See IPv6
  • 12. Internetworking Using IP (1) How do we get a datagram to a particular host or router on our network? The physical interface h/w on the host/router only understands the addressing scheme of that particular network (e.g., Ethernet flat addressing) IP address link-level address Encapsulate IP datagram inside a frame w Ethernet address Solution? Encode a host’s physical address in the host part of the IP address ⌧Class A/B/C? ⌧Ethernet? Network admin manually configures a table of mappings ARP ARP cache/table ⌧If (no mapping is found in ARP cache) Broadcast ARP query w target IP address
  • 13. Internetworking Using IP (2) IP makes routing in an internet (or in the Internet) “SOMEWHAT” scalable Each router needs to know about all the networks connected to the internet Problem: today’s Internet has tens of thousands of networks Problem: large campus with many internal networks consider a Class C network with only 2/3 hosts consider a physical network that needs only 256/257 hosts
  • 14. Internetworking Using IP (3) Conclusion: assigning one network number per physical network uses up the IP address space much faster than we would like. Plus, the more the IP net numbers, the larger the forwarding tables Solutions: Subnetting (for address utilization) Route propagation techniques (16.1)
  • 15. Subnets and Subnet Masks (1) Take a single IP net number and assign it more than one physical network, or “SUBNET” They will all look as a single network Examples: large campus or corporation. Form the outside, all a router needs to know to reach any subnet is the IP net number Each physical net is assigned a subnet number The host portion of the IP address is partitioned into subnet number and host number Bit positions containing this EXTENDED net number are indicated by means of the “SUBNET MASK”
  • 16. Subnets and Subnet Masks (2) What happens when a datagram arrives from the rest of the internet? The subnet MASK allows the host to send directly or send to a router Hosts need not employ a subnet MASK. (T/F) Hosts need not make routing decisions. (T/F) Different subnets, on the same internet, can have the same subnet MASK Forwarding table entries Are not of the form <subnet #, nextHop>. Why not? <subnet #, subnet MASK, nextHop>
  • 17. Subnets and Subnet Masks (3) Different subnets, on the same internet, can have different subnet MASKs. Why? 255.255.255.192 255.255.255.224 Default subnet MASK for a given class of addresses is a null mask. What does this mean? [(Subnet #)*2k] + host # = host portion in IP portion 10*25 + 1 = 65 (host C on p.547) 1*25 + 25 = 57 (host B on p.547) Try it for hosts A and D For a Class C subnet MASK of 255.255.255.224, the first ___ rightmost/leftmost bits of the host portion of the IP address must be IDENTICAL for any 2 hosts on the same physical network
  • 18. Subnets and Subnet Masks (4) For a Class C subnet MASK of 255.255.255.72, ___ bits of the host portion of the IP address must be IDENTICAL for any 2 hosts on the same physical network For a Class C subnet MASK of 255.255.255.0, the first ___ rightmost/leftmost bits of the host portion of the IP address must be IDENTICAL for any 2 hosts on the same physical network For a Class C subnet MASK of 255.255.255.224, how many different subnets can this accommodate? 2number of 1s in host portion of IP-like subnet mask