Chapter Objectives:: Understand The "Big Picture"
Chapter Objectives:: Understand The "Big Picture"
Chapter Objectives:
Understand primary functions of transport and network layers
Why TCP/IP? What is the expansion of TCP/IP? What are the major functions of TCP/IP?
TCP
Main functions of TCP: Packetizing
At final destination
TCP
Thought Questions (with regard to the big picture): With what layer(s) does TCP interface in the 5layer model? If more than two computers are involved in message transmission, then is TCP involved in all the computers? In how many computers is TCP involved?
TCP (Continued)
Some details on TCP header:
TCP header containing 24 bytes (192-bit header) of overhead information is enclosed along with users data:
Examples of overhead information added:
Source and destination address Packet sequence number
Thought Question (with regard to the big picture): Didnt the data link layer already have the source and destination address specified in the DLH? Is TCP duplicating this function of DL?
Port Identifiers
Source Port IDs refer to software used at application layer of source computer Destination Port IDs refer to software to be used at application layer of final destination computer With TCP/IP, each application layer software has a unique port address/identifier. Every standard application layer software on the Internet has a predefined (default) port number.
Port Identifiers
Thought Questions: Could network managers choose not to use the default port numbers? Why would a network manager not want to use a default port number?
Thought Question:
Is IP involved only at senders or final destination computers? Or is it involved in all interim computers that take part in the message routing as well?
IP (Continued)
Different versions of IP
IPv4 and IPv6
IP creates a IP header
IP header contains (among other overhead information) source and destination address!
Network layer (IP) address
Examples?
IP (Continued)
Thought Question (with regard to the big picture):
In what order are the different headers combined with the user data packet? If DL protocol is Ethernet, and NL protocol is TCP/IP, then what is the maximum packet size for user data? Assume DLH and DLT sizes sum to 26 bytes, TCP header size is 24 bytes, and IP header size is 24 bytes as well. Sample content in each header?
What is the minimum decimal value any byte can be assigned? What is the maximum decimal value any byte can be assigned?
The class of the address - determined by examining the first byte of the address and mapping it to a range of values as follows:
Class A: first byte is in the range 1 127 Class B: first byte is in the range 128 - 191 Class C: first byte is in the range 192 - 223
For a Class A IP address, the first byte is assigned/approved by ICANN Class A: Network.Host.Host.Host For a Class B IP address, the first two bytes are assigned/approved by ICANN Class B: Network.Network.Host.Host
For a Class C IP address, the first three bytes are assigned/approved by ICANN
Class C: Network.Network.Network.Host
Every computer in a TCP/IP network is assigned a subnet mask by the host organization Why?
Subnets (Continued)
Partial Subnetting
Partial Subnetting
Subnet masks can also take values other than 0 or 255
Example 1:
Subnet mask: 255.255.255.224 Senders IP: 120.192.40.16 Receivers IP: 120.192.40.30
Class C Addresses Subnet Mask 255.255.255.224 (3-bit subnetting) 255.255.255.240 (4-bit subnetting) 255.255.255.248 (5-bit subnetting) 255.255.255.255 (CP # 2 - Q4) # of Computers # of Subnets per subnet
Background Info: A firm has been assigned a class B address by ICANN. Based on an estimation of future network growth in the firm, the administration plans to have 30 different subnets, and about 2040 computers in each subnet.
Question: What subnet mask value should the network manager use in order to satisfy the planning needs (of the administration) as specified above?