Week3 Flashcards
How Check-sum works?
Adds one more bit at the end to check if some bit flipped. Odd is 1 and even is 0.
Media Access Control (MAC)
First 3 groups: vendor
Last are the address.
Layer 2 switch
Every port on the switch is mapped to the MAC address of the computer.
VLAN
A group of computers are configured as if they are in the same LAN.
Also, it can also keep network apps separate despite connected to the same physical network.
Layer 3 - Network Layer
Dedicated to routing information to different networks;
Logical addressing hosts.
Instead MAC, the addressing system is made by IP for example.
Unit of measurement is packets
Layer 3 switches
Layer 3 switches forward packets, whereas layer 2 switches forward frames.
Instead MAC, the addressing system is made by IP for example.
Layer 4 - Transport Layer
This layer transmits messages between hosts through logical addressing.
It shields the upper layers from transport implementations details.
The protocols provide services such as break up messages, and send them through the subnet.
It informs the order of the packets which were broken in small packets.
Connection Oriented Communications
CO Mode require that both devices or computers involved in the communication establish an end-to-end logical connection before data can be sent between the two.
If and individual packet is not delivered in a timely manner, it is resent; this can be done because the sending computer established the connection at the beginning of the session and knows where to to send.
CL - Connectionless Communications
No end-to-end connection is necessary before data is sent.
Every packet that is sent has the destination address located in its header.
Ports
Ports act as logical communications endpoints for computers.
65,536 (2^16). ports.
Internet Assigned Numbers Authority or IANA defines and divide in categories.
0-1023 = well known
1024 - 49151 = registered ports
Inbound ports
Used by server to acccept incoming service requests
Outbound ports
Used by client computers and are assigned dynamically by the OS
Multiplexing / demultiplexing
Multiplexing is the process of combining two or more data streams into a single physical connection
TCP provides multiplexing
Layer 5 - Session Layer
This layer governs the establishment, termination, and synchronization.
Layer 6 - Presentation Layer
This layer translates the data format from sender to receiver that may be used.
Concepts include conversion (ex: ASCII), data compression (JPEG)