Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area...
-
Upload
solomon-melbourne -
Category
Documents
-
view
266 -
download
3
Transcript of Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area...
![Page 1: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/1.jpg)
Bellevue University
CIS 351
OSI and TCP/IP
![Page 2: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/2.jpg)
Topics
• Comparison of OSI and TCP/IP Models
• Local Area Networking using Ethernet and TCP/IP
• Ethernet
• The TCP/IP Protocol Stack
![Page 3: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/3.jpg)
The OSI Reference Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
![Page 4: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/4.jpg)
TCP/IP
• Development was funded by US Government’s Advanced Research Projects Agency (ARPA) in 1960s and 1970s.
• Widely used protocol suite – Protocol of choice for the Internet and most operating systems
• Implementation parallels the OSI Model
![Page 5: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/5.jpg)
The TCP/IP Model
Application
Transport
Internet
Network Interface
![Page 6: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/6.jpg)
TCP/IP Protocol Suite• Transmission Control Protocol (TCP)• User Datagram Protocol (UDP)• Internet Protocol (IP)• Internet Control Message Protocol (ICMP)• Internet Group Management Protocol (IGMP)• Address Resolution Protocol (ARP)• TCP/IP Utilities
![Page 7: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/7.jpg)
TCP/IP Layers
Application LayerApplication Layer
Transport LayerTransport LayerTransport LayerTransport Layer
Internet LayerInternet LayerInternet LayerInternet Layer
Network Interface LayerNetwork Interface LayerNetwork Interface LayerNetwork Interface Layer
Internet LayerIPIP ICMPICMP IGMPIGMP ARPARP
Network Interface Layer
EthernetEthernetATMATM
Transport LayerUDPUDPTCPTCP
Application Layer
FTPFTPHTTPHTTP
![Page 8: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/8.jpg)
Ethernet
• Covers both Physical and Data link standards in ISO model
• Covers
• Uses CSMA/CD
• Handles communication at the link level
• Sends and receives frames
![Page 9: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/9.jpg)
Ethernet (cont)
IEEE 802.3: Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications– Physical layer specification– Frame Format– CSMA/CD Media Access Control (MAC)
mechanism
![Page 10: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/10.jpg)
Physical Layer
• Star or bus topology
• RG8 or RG58 Coax, UTP, STP, or fiber optic cable
• Coax limited to 10 MBps
• UTP, STP, and fiber optic limited to 1GBps (currently)
![Page 11: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/11.jpg)
100BaseT
• Most popular physical layer for Ethernet LANs
• Category 5 Unshielded Twisted Pair cable
• RJ-45 Connectors
• Star Topology - requires a hub or switch
![Page 12: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/12.jpg)
Cat 5 UTP
![Page 13: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/13.jpg)
Cable Connections
Pin# Color NIC Hub or Switch
1 Striped Orange Tx Rx
2 Solid Orange Tx Return Rx Return
3 Striped Green Rx Tx
4 Solid Blue Not Used Not Used
5 Striped Blue Not Used Not Used
6 Solid Green Rx Return Tx Return
7 Striped Brown Not Used Not Used
8 Solid Brown Not Used Not Used
![Page 14: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/14.jpg)
The 5-4-3 Rule
• You may have five cable segments
• Connected by four repeaters
• No more than three segments can be of mixed types
![Page 15: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/15.jpg)
Packet Terminology
Segment
Message
Datagram
Frame
![Page 16: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/16.jpg)
TCP/IP Traffic From top to bottom
Internet layer dataEthernet header Ethernet footer
frame
Transport layer dataIP header
datagram
Application layer dataTCP header
message
Application layer data
segment
![Page 17: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/17.jpg)
Ethernet Frame
Preamble
Start of Frame Delimiter
Destination Address
Source Address
Ethertype/Length
Data and Pad
Frame Check Sequence
![Page 18: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/18.jpg)
Preamble
7 bytes of alternating ones and zeros used to synchronize clock signals with the incoming frame
![Page 19: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/19.jpg)
Start of Frame Delimiter
A one byte field consisting of 6 ones and zeros followed by two consecutive ones. The ones signal that the bits to follow contain the start of the actual frame
![Page 20: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/20.jpg)
Destination Address
A six byte field containing the hardware address of the destination end of the link
![Page 21: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/21.jpg)
Source Address
A six byte field containing the address of the network interface adapter that generated the packet.
![Page 22: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/22.jpg)
Addressing
• Six byte hardware address
• Unique to each Network Interface Card
• Consists of a three byte Organizationally Unique Identifier and three byte serial number
![Page 23: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/23.jpg)
Organizationally Unique Identifier (OUI)
• First three bytes of the hardware address
• Identifies the company that manufactured the Network Interface
• Complete list can be found at:
http://standards.ieee.org/regauth/oui/oui.txt
![Page 24: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/24.jpg)
Example
00-10-5A (hex) 3COM CORPORATION 00105A (base 16) 3COM CORPORATION 5400 BAYFRONT PLAZA MAILSTOP: 4220 SANTA CLARA CA 95052 UNITED STATES
![Page 25: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/25.jpg)
Ethertype/Length
Contains the protocol type and length of the data field excluding any pad
![Page 26: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/26.jpg)
Common Ethertype Values
0800 Internet Protocol
0805 X.25
0806 ARP
8035 RARP
809B AppleTalk on Ethernet
8137 Netware IPX
![Page 27: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/27.jpg)
Data and Pad
• Contains the data passed down from the network layer protocol on the transmitting system
• Padding is used if the length of the data sent from the network layer is less than 46 bytes.
• The maximum length for the data field is 1500 bytes
![Page 28: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/28.jpg)
Frame Check Sequence
• Four bytes of footer that contain a checksum of the entire packet.
• The transmitting computer calculates the checksum and stores it in the footer.
• The receiving computer recalculates the checksum and compares it to the stored checksum.
• Transmission is successful if both checksum values match
![Page 29: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/29.jpg)
Internet Protocol (IP)
RouterRouterUDPTCP
IPIP ICMP IGMP ARP
![Page 30: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/30.jpg)
Datagram (IP)
Source IP Address
Destination IP Address
Time To Live
Version IHL Total Length
Identification Flags
Protocol Header Checksum
Data
Options
IP Header
Type of Service
Fragment Offset
![Page 31: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/31.jpg)
Some Common Protocol Numbers (RFC 791)
1 ICMP
2 IGMP
6 TCP
17 UDP
![Page 32: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/32.jpg)
IP Addressing
• Uses a 32 bit binary address
• Address is expressed as group of four decimal numbers in the range of 0-255, separated by periods (also known as dots)
![Page 33: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/33.jpg)
Classful IP Addressing
• IP Addresses
• IP Address Classes
![Page 34: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/34.jpg)
IP Address Classes
ww xx yy zz
Class A Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID
Class B Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID
Class C Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID
![Page 35: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/35.jpg)
Limitations of the Original IP Addressing Scheme
Wastes IP Addresses
Network of 2000 ComputersAssigned 65,534 IP Addresses
63,534Wasted
2000Allocated
Class B
ww xx yy zz
Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID
255255 0 0255255
Adds Multiple Entries to Routing Tables
Class C
ww xx yy zz
Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID0255255 255255 255255
192.168.1.0192.168.1.0
192.168.2.0192.168.2.0
192.168.3.0192.168.3.0
192.168.4.0192.168.4.0
192.168.5.0192.168.5.0
192.168.6.0192.168.6.0
192.168.7.0192.168.7.0
192.168.8.0192.168.8.0
Portion of Internet Routing Tables192.168.1.0 255.255.255.0 192.168.1.1192.168.2.0 255.255.255.0 192.168.2.1192.168.3.0 255.255.255.0 192.168.3.1192.168.4.0 255.255.255.0 192.168.4.1192.168.5.0 255.255.255.0 192.168.5.1192.168.6.0 255.255.255.0 192.168.6.1192.168.7.0 255.255.255.0 192.168.7.1192.168.8.0 255.255.255.0 192.168.8.1
Company Network IDsInternet
![Page 36: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/36.jpg)
Solution: Classless Inter-Domain Routing (CIDR)
ww xx yy zz10.217.123.710.217.123.7
00001010 11011001 01111011 0000011100001010 11011001 01111011 00000111
IP Address in Dotted Decimal Notation
Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID
32 Values
4 Values
IP Address in Binary Notation
![Page 37: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/37.jpg)
The Key to CIDR is the Subnet Mask
• Subnet Mask Bits
• CIDR Notation
• Calculating the Network ID
• Determining Local and Remote Hosts
![Page 38: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/38.jpg)
Subnet Masks
• Determine which part of the IP address is the Network part and which is the host part
Example:
255.0.0.0
Network Host
![Page 39: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/39.jpg)
Subnet Mask Bits
Network IDNetwork IDNetwork IDNetwork ID Host IDHost ID
111111 11 111111 11 111111 11 111111 11 111111 11 111111 11 000 0 000 0
ww xx yy zz 10 . 217 . 123 . 7 10 . 217 . 123 . 7
255 . 255 . 255 . 0 255 . 255 . 255 . 0
Binary RepresentationBinary RepresentationBinary RepresentationBinary Representation Decimal RepresentationDecimal RepresentationDecimal RepresentationDecimal Representation
1111111111111111 255255
1111111011111110 254254
1111110011111100 252252
1111100011111000 248248
1111000011110000 240240
1110000011100000 224224
1100000011000000 192192
1000000010000000 128128
0000000000000000 00
![Page 40: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/40.jpg)
Using CIDR Notation to indicate the configuration of the subnet mask
IPAddress
Subnet Mask
Number of Subnet Mask Bits (ones)
IP Address in CIDR Notation
255 . 255 . 240 . 0255 . 255 . 240 . 0 255 . 255 . 240 . 0255 . 255 . 240 . 011111111 11111111 11110000 0000000011111111 11111111 11110000 00000000
10 . 217 . 123 . 710 . 217 . 123 . 7 10 . 217 . 123 . 710 . 217 . 123 . 700001010 11011001 01111011 0000011100001010 11011001 01111011 00000111
8 + 8 + 4 + 0 = 208 + 8 + 4 + 0 = 20
10.217.123.7/2010.217.123.7/2010.217.123.7/2010.217.123.7/20
![Page 41: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/41.jpg)
Calculating the Network ID
IPAddress
Subnet Mask
NetworkID
Network ID in CIDR Notation 10.217.112.0/2010.217.112.0/2010.217.112.0/2010.217.112.0/20
255 . 255 . 240 . 0255 . 255 . 240 . 0 255 . 255 . 240 . 0255 . 255 . 240 . 011111111 11111111 11110000 0000000011111111 11111111 11110000 00000000
10 . 217 . 123 . 710 . 217 . 123 . 7 10 . 217 . 123 . 710 . 217 . 123 . 700001010 11011001 01111011 0000011100001010 11011001 01111011 00000111
00001010 11011001 01110000 0000000000001010 11011001 01110000 00000000
IP Address in CIDR Notation: 10.217.123.7/20
![Page 42: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/42.jpg)
IP Address Classes
• Class A 0x.x.x.x
• Class B 10x.x.x.x
• Class C 110x.x.x.x
• Class D 1110x.x.x.x
![Page 43: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/43.jpg)
Private Addresses(Non-routable over the Internet)
– 10.x.x.x Class A private IPs– 172.(16-31).x.x Class B private IPs– 192.168.x.x Class C private IPs– 169.254.x.x Automatic Private IP
(Microsoft)
![Page 44: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/44.jpg)
Internet Control Message Protocol (ICMP)
UDPTCP
IP ICMPICMP IGMP ARP
RouterRouter
![Page 45: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/45.jpg)
ICMP
• Network layer TCP/IP Protocol
• Described in RFC 792
• Carries informational queries and error messages
• Used by the ping command
![Page 46: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/46.jpg)
Internet Group Management Protocol (IGMP)
UDPTCP
IP ICMP IGMPIGMP ARP
![Page 47: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/47.jpg)
IGMP
• Network layer TCP/IP Protocol
• Described in RFC 2236
• Provides a way for an Internet computer to report its multicast group membership to adjacent routers
![Page 48: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/48.jpg)
Address Resolution Protocol (ARP)
UDPTCP
IP ICMP IGMP ARPARP
BB
CC
AA
ARPCache
2
1
4
6
5
1. ARP cache is checked2. ARP request is sent3. ARP entry is added4. ARP reply is sent5. ARP entry is added6. IP packet is sent
ARPCache
3
![Page 49: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/49.jpg)
Transmission Control Protocol (TCP)
IP ICMP IGMP ARP
UDPTCPTCP
![Page 50: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/50.jpg)
TCP
• Connection oriented
• Transport layer protocol
• Uses port numbers
• Handles segments
![Page 51: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/51.jpg)
Message (TCP)
Source IP Address
Sequence Number
Acknowledgement Number
Data Offset Reserved
Destination IP Address
Unused Protocol Length
Source Port Destination Port
Control Bits Window
Checksum Urgent Pointer
Data
Options
Pseudo- Header
TCP Header
![Page 52: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/52.jpg)
Port numbers
• A unique number that relates to a service or protocol
• Assigned by the Internet Assigned Numbers Authority (IANA) and published in RFC 1700
• Contained in a file called SERVICES
![Page 53: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/53.jpg)
Source Port
• 2 Bytes in length
• Identifies the process on the transmitting system that generated the information in the Data field
![Page 54: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/54.jpg)
Destination Port
• 2 Bytes in length
• Identifies the process on the receiving system for which the information in the Data field is intended
![Page 55: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/55.jpg)
Sequence Number
• 4 bytes
• Unique number that identifies the location of the data in this segment in relation to the entire sequence.
![Page 56: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/56.jpg)
Acknowledgment
• Used for acknowledgment messages
• Specifies the sequence number of the next segment expected by the receiving system
![Page 57: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/57.jpg)
Data Offset
• 4 Bits in length
• Specifies the number of 4 byte words in the TCO header
![Page 58: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/58.jpg)
Reserved
• 6 Bits in length
• This field is not used
![Page 59: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/59.jpg)
Control Bits
• 6 bits in length– URG set if segment contains urgent data– ACK set if acknowledgment message– PSH set to forward immediately– RST set to reset TCP configuration and discard
all segments– SYN set to synchronize sequence numbers– FIN set to terminate a TCP connection
![Page 60: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/60.jpg)
Window
• 2 Bytes in length.
• Specifies how many bytes the computer is capable of accepting from the connected system.
![Page 61: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/61.jpg)
Checksum
• 2 Bytes in length
• Contains the result of a cyclical redundancy check (CRC) performed by the transmitting system
• The CRC is recalculated at the receiving end and compared with the number in the checksum field
![Page 62: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/62.jpg)
Urgent Pointer
• 2 Bytes in length
• When the urgent (URG) control bit is present, this field indicates which part of the data in the segment is urgent
![Page 63: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/63.jpg)
Options
• Variable length field
• Contains information related to optional TCP connection configuration features.
![Page 64: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/64.jpg)
Socket
• Composed of an IP address and TCP port number
Example: 216.115.102.79:80
![Page 65: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/65.jpg)
User Datagram Protocol (UDP)
UDPUDPTCP
IP ICMP IGMP ARP
![Page 66: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/66.jpg)
Identifying Applications
UDPUDPTCPTCP
FTPFTPHTTPHTTP
192.168.2.150192.168.2.150
FTP Server
HTTP Server
TCP Port 20, 21TCP Port 20, 21
TCP Port 80TCP Port 80
IP Address + TCP Port or UDP Port= Socket
![Page 67: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/67.jpg)
TCP/IP Utilities
Server-basedSoftware
Diagnostic Utilities
Connectivity Utilities
FtpFtp
TelnetTelnet
TftpTftp
ArpArp
HostnameHostname
IpconfigIpconfig
NbstatNbstat
NetstatNetstat
PingPing
TracertTracert
TCP/IP Printing Service
TCP/IP Printing Service
Internet InformationServices
Internet InformationServices
![Page 68: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/68.jpg)
Data Flow
UDPUDPTCPTCP
FTPFTPHTTPHTTP
IPIP ICMPICMP IGMPIGMP ARPARP
EthernetEthernetATMATM
UDPUDPTCPTCP
FTPFTPHTTPHTTP
IPIP ICMPICMP IGMPIGMP ARPARP
EthernetEthernetATMATM
Data
ApplicationApplication
DataFTPFTPHTTPHTTP
TransportTransport
Data
UDPUDPTCPTCP
FTPFTPHTTPHTTP
InternetInternet
Data
UDPUDPTCPTCP
IPIP ICMPICMP IGMPIGMP ARPARP
PreamblePreamble
Data
CRCCRC
IPIP ICMPICMP IGMPIGMP ARPARP
EthernetEthernetATMATM
Data
EthernetEthernetATMATM
Data
EthernetEthernetATMATM
Data
IPIP ICMPICMP IGMPIGMP ARPARP
EthernetEthernetATMATM
Data
UDPUDPTCPTCP
IPIP ICMPICMP IGMPIGMP ARPARP
Data
UDPUDPTCPTCP
FTPFTPHTTPHTTP
PreamblePreamble
Internet
Transport
Application
Data
CRCCRC
FTPFTPHTTPHTTP
![Page 69: Bellevue University CIS 351 OSI and TCP/IP. Topics Comparison of OSI and TCP/IP Models Local Area Networking using Ethernet and TCP/IP Ethernet The TCP/IP.](https://reader030.fdocuments.net/reader030/viewer/2022013108/56649cc35503460f9498b9cd/html5/thumbnails/69.jpg)
The TCP/IP Model
Network Access
Internet
Application
Transport
Internet
Network Access
Application
Transport
Internet
Network Access
Sender Receiver
Router
Data link
TCP
IP
MAC
IP
MAC
Data link