SlideShare a Scribd company logo
1 of 27
The OSI Model in Practice
 The transmitting process generates data to be used
by the receiving process.
 In each OSI layer along the way down the model,
data is added - and subsequently used by the
corresponding layer at the receiving end.
 This data is normally in the form of a header at the
beginning of a data packet that arrives from the
layer above.
 In the link layer, data is often added at the end of
the packet as well, in the form of a trailer.
 Each OSI layer has its own data format protocol.
TCP/IP Model
TCP/IP Protocol Architecture
 Developed by the US Defense Advanced
Research Project Agency (DARPA) for its
packet switched network (ARPANET)
 Used by the global Internet
 No official model but a working one.
 Application layer
 Host to host or transport layer
 Internet layer
 Network access layer
 Physical layer
TCP/IP Reference Model
Packet Format
Taxonomy
OSI vs. TCP/IP
 OSI Network:
 Connectionless or
 connection-oriented.
 OSI Transport
 Connectionless.
 TCP/IP Network:
Connectionless.
 TCP/IP
Transport:
Connectionless or
connection-oriented svc.
Hybrid Model
 The hybrid reference model:
The Application Layer
 The higher level protocols include the session
and presentation layer details.
 The application layer handles high-level
protocols, issues of representation, encoding,
and dialog control.
 This model combines all application-related
issues into one layer, and assures this data is
properly packaged for the next layer.
The Transport Layer
• This layer deals with the quality-of-service issues of
reliability, flow control, and error correction.
• One of its protocols, the transmission control
protocol (TCP), provides excellent and flexible ways
to create reliable, well-flowing, low-error network
communications.
• TCP is a connection-oriented protocol.
• It dialogues between source and destination while
packaging application layer information into units
called segments.
The Transport Layer - Cont
• Connection-oriented does not mean that a
circuit exists between the communicating
computers (that would be circuit switching).
• It does mean that the segments travel back
and forth between two hosts to acknowledge
the connection exists logically for some
period.
• This is known as packet switching.
• Another protocol at this layer is UDP.
The Internet/Network Layer
• The purpose of the Network layer is to send source packets from
any network on the inter-network and have them arrive at the
destination independent of the path and networks they took to
get there.
• The specific protocol that governs this layer is called the Internet
protocol (IP).
• Best path determination and packet switching occur at this layer.
• Think of it in terms of the postal system: When you mail a letter,
you do not know how it gets there (there are various possible
routes), but you do care that it arrives.
Internet Protocol
The IP in UDP/IP and TCP/IP
 IP is the network layer
 packet delivery service (host-to-host).
 translation between different data-link
protocols.
IP Datagrams
 IP provides connectionless, unreliable
delivery of IP datagrams.
 Connectionless: each datagram is
independent of all others.
 Unreliable: there is no guarantee that
datagrams are delivered correctly or at
all.
IP Addresses
 IP addresses are not the
same as the underlying data-
link (MAC) addresses.
Why ?
IP Addresses
 IP is a network layer - it must be
capable of providing communication
between hosts on different kinds of
networks (different data-link
implementations).
 The address must include information
about what network the receiving host
is on. This makes routing feasible.
IP Addresses
 IP addresses are logical addresses (not
physical)
 32 bits.
 Includes a network ID and a host ID.
 Every host must have a unique IP address.
 IP addresses are assigned by a central
authority (Internet Corporation for Assigned
Names and Numbers -- ICANN)
The four formats of IP Addresses
0 NetID
10
110 NetID
1110 Multicast Group ID
HostID
NetID HostID
HostID
Class
A
B
C
D
8 bits 8 bits 8 bits
8 bits
Class A
 128 possible network IDs
 over 4 million host IDs per network ID
Class B
 16K possible network IDs
 64K host IDs per network ID
Class C
 over 2 million possible network IDs
 about 256 host IDs per network ID
Network and Host IDs
 A Network ID is assigned to an
organization by a global authority.
 Host IDs are assigned locally by a
system administrator.
 Both the Network ID and the Host ID
are used for routing.
IP Addresses
 IP Addresses are usually shown in dotted
decimal notation:
1.2.3.4 00000001 00000010 00000011 00000100
 cs.rpi.edu is 128.213.1.1
10000000 11010101 00000001 00000001
CS has a class B network
Host and Network Addresses
 A single network interface is assigned
a single IP address called the host
address.
 A host may have multiple interfaces,
and therefore multiple host addresses.
 Hosts that share a network all have
the same IP network address (the
network ID).
IP Broadcast and Network Addresses
 An IP broadcast addresses has a
host ID of all 1s.
 IP broadcasting is not necessarily a
true broadcast, it relies on the
underlying hardware technology.
 An IP address that has a host ID of
all 0s is called a network address and
refers to an entire network.
Virtual Circuits
 Source-to-destination path behaves much like
telephone circuit.
 Call setup for each call before data can flow.
 Each packet carries VC identifier (not destination
host ID).
 Every router on source-destination path maintains
“state” for each passing connection.
 Link and router resources (bandwidth, buffers) may
be allocated to VC to get circuit-like performance.
Datagram networks:
the Internet model
 No call setup at network layer.
 Routers: no state about end-to-end
connections.
 No network-level concept of “connection”.
 Packets forwarded using destination host
address.
 packets between same source-destination pair
may take different paths.
Routing
 Goal: determine “good”
path (sequence of routers)
through network from
source to destination.
 graph nodes are routers
 graph edges are physical links
 link cost: delay, $ cost, or congestion level.
 good” path:
 typically means minimum cost path.
A
E
D
C
B
F
2
2
1
3
1
1
2
5
3
5
Data Link Layer
 The main tasks of the data link layer are:
 Transfer data from the network layer of one machine to the
network layer of another machine
 Convert the raw bit stream of the physical layer into groups
of bits (“frames”)
 Broadcast Networks: All stations share a single
communication channel
 Point-to-Point Networks: Pairs of hosts (or routers)
are directly connected
 Typically, local area networks (LANs) are broadcast
and wide area networks (WANs) are point-to-point

More Related Content

Similar to lecture-2-tcp-ip.ppt

Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addressesAmandeep Kaur
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesSerious_SamSoul
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) pptDulith Kasun
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationsAnyapuPranav
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureManoj Kumar
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfGandhibabu8
 
Лекц 7
Лекц 7Лекц 7
Лекц 7Muuluu
 
Computer networking (nnm)
Computer networking (nnm)Computer networking (nnm)
Computer networking (nnm)nnmaurya
 
09 Systems Software Programming-Network Programming.pptx
09 Systems Software Programming-Network Programming.pptx09 Systems Software Programming-Network Programming.pptx
09 Systems Software Programming-Network Programming.pptxKushalSrivastava23
 
Fundamentals of Networking
Fundamentals of NetworkingFundamentals of Networking
Fundamentals of NetworkingIsrael Marcus
 
Chapter 11Networks of NetworksChapter 11 OutlineNetwor.docx
Chapter 11Networks of NetworksChapter 11 OutlineNetwor.docxChapter 11Networks of NetworksChapter 11 OutlineNetwor.docx
Chapter 11Networks of NetworksChapter 11 OutlineNetwor.docxbartholomeocoombs
 

Similar to lecture-2-tcp-ip.ppt (20)

IP Address
IP AddressIP Address
IP Address
 
TCPIP
TCPIPTCPIP
TCPIP
 
Internetworking
InternetworkingInternetworking
Internetworking
 
Week 2
Week 2Week 2
Week 2
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notes
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdfAutomation and Robotics 20ME51I_Week_3_Practicals.pdf
Automation and Robotics 20ME51I_Week_3_Practicals.pdf
 
Лекц 7
Лекц 7Лекц 7
Лекц 7
 
Chapter4 Network
Chapter4 NetworkChapter4 Network
Chapter4 Network
 
OSI model.pptx
OSI model.pptxOSI model.pptx
OSI model.pptx
 
CCNA
CCNACCNA
CCNA
 
Computer networking (nnm)
Computer networking (nnm)Computer networking (nnm)
Computer networking (nnm)
 
09 Systems Software Programming-Network Programming.pptx
09 Systems Software Programming-Network Programming.pptx09 Systems Software Programming-Network Programming.pptx
09 Systems Software Programming-Network Programming.pptx
 
Networking HMT-2
Networking HMT-2Networking HMT-2
Networking HMT-2
 
Fundamentals of Networking
Fundamentals of NetworkingFundamentals of Networking
Fundamentals of Networking
 
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENTTCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
 
Chapter 11Networks of NetworksChapter 11 OutlineNetwor.docx
Chapter 11Networks of NetworksChapter 11 OutlineNetwor.docxChapter 11Networks of NetworksChapter 11 OutlineNetwor.docx
Chapter 11Networks of NetworksChapter 11 OutlineNetwor.docx
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

lecture-2-tcp-ip.ppt

  • 1. The OSI Model in Practice  The transmitting process generates data to be used by the receiving process.  In each OSI layer along the way down the model, data is added - and subsequently used by the corresponding layer at the receiving end.  This data is normally in the form of a header at the beginning of a data packet that arrives from the layer above.  In the link layer, data is often added at the end of the packet as well, in the form of a trailer.  Each OSI layer has its own data format protocol.
  • 3. TCP/IP Protocol Architecture  Developed by the US Defense Advanced Research Project Agency (DARPA) for its packet switched network (ARPANET)  Used by the global Internet  No official model but a working one.  Application layer  Host to host or transport layer  Internet layer  Network access layer  Physical layer
  • 7. OSI vs. TCP/IP  OSI Network:  Connectionless or  connection-oriented.  OSI Transport  Connectionless.  TCP/IP Network: Connectionless.  TCP/IP Transport: Connectionless or connection-oriented svc.
  • 8. Hybrid Model  The hybrid reference model:
  • 9. The Application Layer  The higher level protocols include the session and presentation layer details.  The application layer handles high-level protocols, issues of representation, encoding, and dialog control.  This model combines all application-related issues into one layer, and assures this data is properly packaged for the next layer.
  • 10. The Transport Layer • This layer deals with the quality-of-service issues of reliability, flow control, and error correction. • One of its protocols, the transmission control protocol (TCP), provides excellent and flexible ways to create reliable, well-flowing, low-error network communications. • TCP is a connection-oriented protocol. • It dialogues between source and destination while packaging application layer information into units called segments.
  • 11. The Transport Layer - Cont • Connection-oriented does not mean that a circuit exists between the communicating computers (that would be circuit switching). • It does mean that the segments travel back and forth between two hosts to acknowledge the connection exists logically for some period. • This is known as packet switching. • Another protocol at this layer is UDP.
  • 12. The Internet/Network Layer • The purpose of the Network layer is to send source packets from any network on the inter-network and have them arrive at the destination independent of the path and networks they took to get there. • The specific protocol that governs this layer is called the Internet protocol (IP). • Best path determination and packet switching occur at this layer. • Think of it in terms of the postal system: When you mail a letter, you do not know how it gets there (there are various possible routes), but you do care that it arrives.
  • 13. Internet Protocol The IP in UDP/IP and TCP/IP  IP is the network layer  packet delivery service (host-to-host).  translation between different data-link protocols.
  • 14. IP Datagrams  IP provides connectionless, unreliable delivery of IP datagrams.  Connectionless: each datagram is independent of all others.  Unreliable: there is no guarantee that datagrams are delivered correctly or at all.
  • 15. IP Addresses  IP addresses are not the same as the underlying data- link (MAC) addresses. Why ?
  • 16. IP Addresses  IP is a network layer - it must be capable of providing communication between hosts on different kinds of networks (different data-link implementations).  The address must include information about what network the receiving host is on. This makes routing feasible.
  • 17. IP Addresses  IP addresses are logical addresses (not physical)  32 bits.  Includes a network ID and a host ID.  Every host must have a unique IP address.  IP addresses are assigned by a central authority (Internet Corporation for Assigned Names and Numbers -- ICANN)
  • 18. The four formats of IP Addresses 0 NetID 10 110 NetID 1110 Multicast Group ID HostID NetID HostID HostID Class A B C D 8 bits 8 bits 8 bits 8 bits
  • 19. Class A  128 possible network IDs  over 4 million host IDs per network ID Class B  16K possible network IDs  64K host IDs per network ID Class C  over 2 million possible network IDs  about 256 host IDs per network ID
  • 20. Network and Host IDs  A Network ID is assigned to an organization by a global authority.  Host IDs are assigned locally by a system administrator.  Both the Network ID and the Host ID are used for routing.
  • 21. IP Addresses  IP Addresses are usually shown in dotted decimal notation: 1.2.3.4 00000001 00000010 00000011 00000100  cs.rpi.edu is 128.213.1.1 10000000 11010101 00000001 00000001 CS has a class B network
  • 22. Host and Network Addresses  A single network interface is assigned a single IP address called the host address.  A host may have multiple interfaces, and therefore multiple host addresses.  Hosts that share a network all have the same IP network address (the network ID).
  • 23. IP Broadcast and Network Addresses  An IP broadcast addresses has a host ID of all 1s.  IP broadcasting is not necessarily a true broadcast, it relies on the underlying hardware technology.  An IP address that has a host ID of all 0s is called a network address and refers to an entire network.
  • 24. Virtual Circuits  Source-to-destination path behaves much like telephone circuit.  Call setup for each call before data can flow.  Each packet carries VC identifier (not destination host ID).  Every router on source-destination path maintains “state” for each passing connection.  Link and router resources (bandwidth, buffers) may be allocated to VC to get circuit-like performance.
  • 25. Datagram networks: the Internet model  No call setup at network layer.  Routers: no state about end-to-end connections.  No network-level concept of “connection”.  Packets forwarded using destination host address.  packets between same source-destination pair may take different paths.
  • 26. Routing  Goal: determine “good” path (sequence of routers) through network from source to destination.  graph nodes are routers  graph edges are physical links  link cost: delay, $ cost, or congestion level.  good” path:  typically means minimum cost path. A E D C B F 2 2 1 3 1 1 2 5 3 5
  • 27. Data Link Layer  The main tasks of the data link layer are:  Transfer data from the network layer of one machine to the network layer of another machine  Convert the raw bit stream of the physical layer into groups of bits (“frames”)  Broadcast Networks: All stations share a single communication channel  Point-to-Point Networks: Pairs of hosts (or routers) are directly connected  Typically, local area networks (LANs) are broadcast and wide area networks (WANs) are point-to-point