SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Lecture 7




© 1999, Cisco Systems, Inc.   www.cisco.com
   Handles high-level protocols, issues of
    representation, encoding, and dialog control.
   The TCP/IP protocol suite combines all
    application related issues into one layer and
    ensures this data is properly packaged before
    passing it on to the next layer.
Five basic services:
   Segmenting upper-layer application
    data
   Establishing end-to-end operations
   Sending segments from one end host
    to another end host
   Ensuring data reliability
   Providing flow control
   The purpose of the Internet layer is to
    send packets from a network node and
    have them arrive at the destination
    node independent of the path taken.
   The network access layer is
    concerned with all of the issues that
    an IP packet requires to actually
    make a physical link to the network
    media.
   It includes the LAN and WAN
    technology details, and all the
    details contained in the OSI physical
    and data link layers.
• An IP address is a 32-bit sequence of 1s and 0s.
• To make the IP address easier to use, the address is
  usually written as four decimal numbers separated
  by periods.
• This way of writing the address is called the dotted
  decimal format.
Class A, B, C, D, and E IP
       Addresses
IPv4 Addressing
Reserved IP Addresses

• Certain host addresses are
  reserved and cannot be
  assigned to devices on a
  network.
• An IP address that has
  binary 0s in all host bit
  positions is reserved for the
  network address.
• An IP address that has
  binary 1s in all host bit
  positions is reserved for the
  network address.
Public and Private IP Addresses

• No two machines that connect to a public network can have
  the same IP address because public IP addresses are global
  and standardized.
• However, private networks that are not connected to the
  Internet may use any host addresses, as long as each host
  within the private network is unique.
• RFC 1918 sets aside three blocks of IP addresses for private,
  internal use.
• Connecting a network using private addresses to the Internet
  requires translation of the private addresses to public
  addresses using Network Address Translation (NAT).
• In TCP/IP communications, a datagram on a local-area
  network must contain both a destination MAC address and
  a destination IP address.
• There needs to be a way to automatically map IP to MAC
  addresses.
• The TCP/IP suite has a protocol, called Address Resolution
  Protocol (ARP), which can automatically obtain MAC
  addresses for local transmission.
• Each device on a network maintains
  its own ARP table.
• A device that requires an IP and
  MAC address pair broadcasts an
  ARP request.
• If one of the local devices matches
  the IP address of the request, it sends
  back an ARP reply that contains its
  IP-MAC pair.
   The Transmission Control Protocol (TCP) is one of
    the core protocols of the Internet Protocol Suite. TCP
    is so central that the entire suite is often referred to as
    "TCP/IP." Whereas IP handles lower-level
    transmissions from computer to computer as a
    message makes its way across the Internet, TCP
    operates at a higher level, concerned only with the
    two end systems.
   A TCP segment consists of two sections:
   header ( port no. , sequence no.)
   data
TCP connections have three phases:
 connection establishment

 data transfer

 connection termination
   To establish a connection, TCP uses a three-way
    handshake
   Client sending a SYN to the server.
   In response, the server replies with a SYN-
    ACK.
   Finally the client sends an ACK back to the
    server.
   Ordered data transfer - the destination host rearranges
    according to sequence number
   Retransmission of lost packets - any cumulative stream
    not acknowledged will be retransmitted[1]
   Discarding duplicate packets
   Error-free data transfer
   Flow control
   Congestion control - sliding window
The port numbers are divided into three ranges:
 The Well Known Ports are those in the range 0–1023. On Unix-
   like operating systems, binding a communications socket to a
   port in this range requires administrative privileges or
   possessing CAP_NET_BIND_SERVICE capability.
 The Registered Ports are those in the range 1024–49151.
 The Dynamic and/or Private Ports are those in the range 49152–
   65535. Randomly chosen port numbers out of this range are
   called ephemeral ports. These ports are not permanently
   assigned to any publicly defined application
The port numbers are divided into three ranges:
 The Well Known Ports are those in the range 0–1023. On Unix-
   like operating systems, binding a communications socket to a
   port in this range requires administrative privileges or
   possessing CAP_NET_BIND_SERVICE capability.
 The Registered Ports are those in the range 1024–49151.
 The Dynamic and/or Private Ports are those in the range 49152–
   65535. Randomly chosen port numbers out of this range are
   called ephemeral ports. These ports are not permanently
   assigned to any publicly defined application
   The Netstat (Network Statistics) is command-line tool that
    displays network connections (incoming and outgoing)
   It is used for finding problems in network and to
    determine the amount of traffic on network as a
    performance measurement
   Netstat provides :Protocol information ,Local address
    ,Foreign address ,State of TCP Connections
   In command prompt use command netstat ? To check out
    all options available
   The TCPView is graphical version of Netstat that will
    show you detailed listings of all TCP and UDP endpoints
    on your systems
   TCPView provides a more informative and conveniently
    presented subset of the Netstat program

Weitere ähnliche Inhalte

Was ist angesagt?

project on OSPF
project on OSPFproject on OSPF
project on OSPF
Om Prakash
 
Лекц 8
Лекц 8Лекц 8
Лекц 8
Muuluu
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
Kashif Latif
 

Was ist angesagt? (20)

Chapter14ccna
Chapter14ccnaChapter14ccna
Chapter14ccna
 
project on OSPF
project on OSPFproject on OSPF
project on OSPF
 
Routing Protocols
Routing Protocols Routing Protocols
Routing Protocols
 
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric VanderburgCCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
CCNA Routing and Switching Lessons 08-09 - Routing Protocols - Eric Vanderburg
 
CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014CCNA 1 Chapter 6 v5.0 2014
CCNA 1 Chapter 6 v5.0 2014
 
Лекц 8
Лекц 8Лекц 8
Лекц 8
 
acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Routing Protocol EIGRP
Routing Protocol EIGRPRouting Protocol EIGRP
Routing Protocol EIGRP
 
Switching 1
Switching 1Switching 1
Switching 1
 
Chapter10ccna
Chapter10ccnaChapter10ccna
Chapter10ccna
 
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric VanderburgCCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
 
OSPF Basics
OSPF BasicsOSPF Basics
OSPF Basics
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 

Andere mochten auch

Лекц 1
Лекц 1Лекц 1
Лекц 1
Muuluu
 
Лекц 2
Лекц 2Лекц 2
Лекц 2
Muuluu
 
Лекц 3
Лекц 3Лекц 3
Лекц 3
Muuluu
 
1.1 windows server 2003
1.1 windows server 20031.1 windows server 2003
1.1 windows server 2003
Muuluu
 
2.1 users & groups
2.1 users & groups2.1 users & groups
2.1 users & groups
Muuluu
 
Лекц 10
Лекц 10Лекц 10
Лекц 10
Muuluu
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
Muuluu
 
Лекц 11
Лекц 11Лекц 11
Лекц 11
Muuluu
 
Лекц 13
Лекц 13Лекц 13
Лекц 13
Muuluu
 
2.1 user practical
2.1 user practical2.1 user practical
2.1 user practical
Muuluu
 
2.2 determining trust relationships
2.2 determining trust relationships2.2 determining trust relationships
2.2 determining trust relationships
Muuluu
 
1.2 ad installation
1.2 ad installation1.2 ad installation
1.2 ad installation
Muuluu
 
Dns server
Dns serverDns server
Dns server
Muuluu
 
1.2 active directory
1.2 active directory1.2 active directory
1.2 active directory
Muuluu
 
Лекц 14
Лекц 14Лекц 14
Лекц 14
Muuluu
 
User account policy
User account policyUser account policy
User account policy
Muuluu
 
Switch function
Switch functionSwitch function
Switch function
Muuluu
 
Лекц 12
Лекц 12Лекц 12
Лекц 12
Muuluu
 
Лекц 5
Лекц 5Лекц 5
Лекц 5
Muuluu
 
Switch configuration
Switch configurationSwitch configuration
Switch configuration
Muuluu
 

Andere mochten auch (20)

Лекц 1
Лекц 1Лекц 1
Лекц 1
 
Лекц 2
Лекц 2Лекц 2
Лекц 2
 
Лекц 3
Лекц 3Лекц 3
Лекц 3
 
1.1 windows server 2003
1.1 windows server 20031.1 windows server 2003
1.1 windows server 2003
 
2.1 users & groups
2.1 users & groups2.1 users & groups
2.1 users & groups
 
Лекц 10
Лекц 10Лекц 10
Лекц 10
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Лекц 11
Лекц 11Лекц 11
Лекц 11
 
Лекц 13
Лекц 13Лекц 13
Лекц 13
 
2.1 user practical
2.1 user practical2.1 user practical
2.1 user practical
 
2.2 determining trust relationships
2.2 determining trust relationships2.2 determining trust relationships
2.2 determining trust relationships
 
1.2 ad installation
1.2 ad installation1.2 ad installation
1.2 ad installation
 
Dns server
Dns serverDns server
Dns server
 
1.2 active directory
1.2 active directory1.2 active directory
1.2 active directory
 
Лекц 14
Лекц 14Лекц 14
Лекц 14
 
User account policy
User account policyUser account policy
User account policy
 
Switch function
Switch functionSwitch function
Switch function
 
Лекц 12
Лекц 12Лекц 12
Лекц 12
 
Лекц 5
Лекц 5Лекц 5
Лекц 5
 
Switch configuration
Switch configurationSwitch configuration
Switch configuration
 

Ähnlich wie Лекц 7

07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
ssuserf7cd2b
 
Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
githe26200
 

Ähnlich wie Лекц 7 (20)

07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Linux Internals - Interview essentials 2.0
Linux Internals - Interview essentials 2.0Linux Internals - Interview essentials 2.0
Linux Internals - Interview essentials 2.0
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
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
 
Networking essentials lect1
Networking essentials lect1Networking essentials lect1
Networking essentials lect1
 
Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
 
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
 
Hardware9
Hardware9Hardware9
Hardware9
 
Chapter04 -- network protocols
Chapter04  -- network protocolsChapter04  -- network protocols
Chapter04 -- network protocols
 
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
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
Ccna1v3 Mod09
Ccna1v3 Mod09Ccna1v3 Mod09
Ccna1v3 Mod09
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
TCPIP SLIDES.ppt
TCPIP SLIDES.pptTCPIP SLIDES.ppt
TCPIP SLIDES.ppt
 
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
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Computer Networks basics
Computer Networks basicsComputer Networks basics
Computer Networks basics
 
Unit 2 - Internet Protocol Overview - IT
Unit 2 - Internet Protocol Overview - ITUnit 2 - Internet Protocol Overview - IT
Unit 2 - Internet Protocol Overview - IT
 
Tcp
TcpTcp
Tcp
 
TCP /IP
TCP /IPTCP /IP
TCP /IP
 

Mehr von Muuluu

Lecture 3
Lecture 3Lecture 3
Lecture 3
Muuluu
 
Өгөгдлийн бүтэц
Өгөгдлийн бүтэцӨгөгдлийн бүтэц
Өгөгдлийн бүтэц
Muuluu
 
Basic software
Basic software Basic software
Basic software
Muuluu
 
Wide area networks
Wide area networksWide area networks
Wide area networks
Muuluu
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muuluu
 
Firewall
FirewallFirewall
Firewall
Muuluu
 
User practical
User practicalUser practical
User practical
Muuluu
 
Active directory
Active directoryActive directory
Active directory
Muuluu
 
Процессорын архитектур
Процессорын архитектурПроцессорын архитектур
Процессорын архитектур
Muuluu
 
6 network devices
6 network devices6 network devices
6 network devices
Muuluu
 
Бие даалт
Бие даалтБие даалт
Бие даалт
Muuluu
 
Лекц 16
Лекц 16Лекц 16
Лекц 16
Muuluu
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
Muuluu
 
Лекц 14
Лекц 14Лекц 14
Лекц 14
Muuluu
 
Лекц 13
Лекц 13Лекц 13
Лекц 13
Muuluu
 
Лекц 12
Лекц 12Лекц 12
Лекц 12
Muuluu
 

Mehr von Muuluu (20)

Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Өгөгдлийн бүтэц
Өгөгдлийн бүтэцӨгөгдлийн бүтэц
Өгөгдлийн бүтэц
 
Basic software
Basic software Basic software
Basic software
 
Wide area networks
Wide area networksWide area networks
Wide area networks
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Firewall
FirewallFirewall
Firewall
 
User practical
User practicalUser practical
User practical
 
Active directory
Active directoryActive directory
Active directory
 
Hardware
HardwareHardware
Hardware
 
windows server 2003
 windows server 2003 windows server 2003
windows server 2003
 
Процессорын архитектур
Процессорын архитектурПроцессорын архитектур
Процессорын архитектур
 
6 network devices
6 network devices6 network devices
6 network devices
 
Бие даалт
Бие даалтБие даалт
Бие даалт
 
Лекц 16
Лекц 16Лекц 16
Лекц 16
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Лекц 14
Лекц 14Лекц 14
Лекц 14
 
Лекц 13
Лекц 13Лекц 13
Лекц 13
 
Лекц 12
Лекц 12Лекц 12
Лекц 12
 

Лекц 7

  • 1. Lecture 7 © 1999, Cisco Systems, Inc. www.cisco.com
  • 2.
  • 3. Handles high-level protocols, issues of representation, encoding, and dialog control.  The TCP/IP protocol suite combines all application related issues into one layer and ensures this data is properly packaged before passing it on to the next layer.
  • 4.
  • 5. Five basic services:  Segmenting upper-layer application data  Establishing end-to-end operations  Sending segments from one end host to another end host  Ensuring data reliability  Providing flow control
  • 6.
  • 7. The purpose of the Internet layer is to send packets from a network node and have them arrive at the destination node independent of the path taken.
  • 8.
  • 9. The network access layer is concerned with all of the issues that an IP packet requires to actually make a physical link to the network media.  It includes the LAN and WAN technology details, and all the details contained in the OSI physical and data link layers.
  • 10.
  • 11. • An IP address is a 32-bit sequence of 1s and 0s. • To make the IP address easier to use, the address is usually written as four decimal numbers separated by periods. • This way of writing the address is called the dotted decimal format.
  • 12. Class A, B, C, D, and E IP Addresses
  • 14. Reserved IP Addresses • Certain host addresses are reserved and cannot be assigned to devices on a network. • An IP address that has binary 0s in all host bit positions is reserved for the network address. • An IP address that has binary 1s in all host bit positions is reserved for the network address.
  • 15. Public and Private IP Addresses • No two machines that connect to a public network can have the same IP address because public IP addresses are global and standardized. • However, private networks that are not connected to the Internet may use any host addresses, as long as each host within the private network is unique. • RFC 1918 sets aside three blocks of IP addresses for private, internal use. • Connecting a network using private addresses to the Internet requires translation of the private addresses to public addresses using Network Address Translation (NAT).
  • 16. • In TCP/IP communications, a datagram on a local-area network must contain both a destination MAC address and a destination IP address. • There needs to be a way to automatically map IP to MAC addresses. • The TCP/IP suite has a protocol, called Address Resolution Protocol (ARP), which can automatically obtain MAC addresses for local transmission.
  • 17. • Each device on a network maintains its own ARP table. • A device that requires an IP and MAC address pair broadcasts an ARP request. • If one of the local devices matches the IP address of the request, it sends back an ARP reply that contains its IP-MAC pair.
  • 18. The Transmission Control Protocol (TCP) is one of the core protocols of the Internet Protocol Suite. TCP is so central that the entire suite is often referred to as "TCP/IP." Whereas IP handles lower-level transmissions from computer to computer as a message makes its way across the Internet, TCP operates at a higher level, concerned only with the two end systems.
  • 19. A TCP segment consists of two sections:  header ( port no. , sequence no.)  data
  • 20.
  • 21. TCP connections have three phases:  connection establishment  data transfer  connection termination
  • 22. To establish a connection, TCP uses a three-way handshake
  • 23. Client sending a SYN to the server.  In response, the server replies with a SYN- ACK.  Finally the client sends an ACK back to the server.
  • 24. Ordered data transfer - the destination host rearranges according to sequence number  Retransmission of lost packets - any cumulative stream not acknowledged will be retransmitted[1]  Discarding duplicate packets  Error-free data transfer  Flow control  Congestion control - sliding window
  • 25. The port numbers are divided into three ranges:  The Well Known Ports are those in the range 0–1023. On Unix- like operating systems, binding a communications socket to a port in this range requires administrative privileges or possessing CAP_NET_BIND_SERVICE capability.  The Registered Ports are those in the range 1024–49151.  The Dynamic and/or Private Ports are those in the range 49152– 65535. Randomly chosen port numbers out of this range are called ephemeral ports. These ports are not permanently assigned to any publicly defined application
  • 26. The port numbers are divided into three ranges:  The Well Known Ports are those in the range 0–1023. On Unix- like operating systems, binding a communications socket to a port in this range requires administrative privileges or possessing CAP_NET_BIND_SERVICE capability.  The Registered Ports are those in the range 1024–49151.  The Dynamic and/or Private Ports are those in the range 49152– 65535. Randomly chosen port numbers out of this range are called ephemeral ports. These ports are not permanently assigned to any publicly defined application
  • 27. The Netstat (Network Statistics) is command-line tool that displays network connections (incoming and outgoing)  It is used for finding problems in network and to determine the amount of traffic on network as a performance measurement  Netstat provides :Protocol information ,Local address ,Foreign address ,State of TCP Connections  In command prompt use command netstat ? To check out all options available
  • 28. The TCPView is graphical version of Netstat that will show you detailed listings of all TCP and UDP endpoints on your systems  TCPView provides a more informative and conveniently presented subset of the Netstat program