Docsity

Network + (basics + OSI model), Summaries of Computer Networks

Toggle sidebar
bg1
Open Systems Interconnection (OSI) Model :
Physical layer (Bits)
1-
Data link layer (Frames)
2-
Network layer (Packets)
3-
Transport layer (Segments (TCP) or Datagrams (UDP) )
4-
Session layer (Data)
5-
Presentation layer (Data)
6-
7-
Please Do Not Throw Sausage Pizza Away
For memorizing OSI model
Do Some People Fear Birthdays ?
For memorizing data transformation
OSI Model Overview
Friday, July 14, 2023
9:05 PM
OSI Model Page 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Network + (basics + OSI model) and more Summaries Computer Networks in PDF only on Docsity!

Open Systems Interconnection (OSI) Model : 1 - Physical layer (Bits) 2 - Data link layer (Frames) 3 - Network layer (Packets) 4 - Transport layer (Segments (TCP) or Datagrams (UDP) ) 5 - Session layer (Data) 6 - Presentation layer (Data) 7 - Application layer (Data) Please Do Not Throw Sausage Pizza Away For memorizing OSI model Do Some People Fear Birthdays? For memorizing data transformation

OSI Model Overview

Friday, July 14, 2023 9:05 PM

Where transmission of bits across the network occurs and includes physical and electrical network characteristics.

Transition Modulation : if it changes during clock cycle , then a 1 is represented , otherwise a 0 is represented.

  • We use two standards inside our network : 1 - TIA/EIA-568A 2 - TIA/EIA-568B
  • We have two ways to how cables is wired in the RJ45 : Crossover cables : flip the transmission and receive bits at the end of the cable, so one end will be A standard and the other will be B standard.

2 - Straight-thru cables : B standard on both sides.

  • Bits can either be transmitted asynchronously or synchronously. Asynchronous communication is that communication happens out of sync or out of time (ex. Voice mail). It uses start and stop bits to indicate when transmissions occur from the sender to the receiver.

Synchronous communication like talking to someone in your mobile phone, Both talking at the same time. It uses a reference clock to coordinate the transmissions by both sender and receiver.

  • There are two ways to utilize the bandwidth of the cable: 1 - Broadband : Divides bandwidth into separate channels. Baseband : Uses all available frequencies on a medium (cable) to transmit data.

Baseband uses a reference clock to allows to send the info for both the sender and receiver at the certain time (Synchronous). Wired home Ethernet network Also is an example for baseband. Now you may be consider how we can get more out of a limited network using baseband? There are several multiplexing mechanisms : 1 - Time-Division Multiplexing (TDM ) : Each session takes a turn, using time

Layer 1 (Physical Layer)

Saturday, July 15, 2023 3:55 PM

  • Packages data from layer 1 into Frames and transmits it to the network. Media Access Control (MAC) : physical addressing system of a device which operates on a logical topology.
  • Uses 48-bit address assigned to a network interface card (NIC). Ex. D2:51:F1:3A:34: MAC always represents as hexadecimal , each digits there represents in 4 bit , and there are 12 digits so those fit in 48-bit.

The First 6 digits identifies the vendor how creates the device , the second half is a unique value to the device.

Logical Link Control (LLC) : Provides connection services and allows acknowledgement of receipt of messages.

  • LLC is the most basic form of flow control. It provides basic error control functions , to inform the sender that the frame wasn't received or if was received corrupted , It does this by using checksum.
  • We have three different schemes to synchronize the communication: Isochronous : Network devices use a common reference clock source and create time slots for transmission.

Synchronous : Network devices agree on clocking method to indicate beginning and end of frames and can use control characters.

Asynchronous : Network devices reference their own internal clocks and use start and stop bits.

  • Layer 2 Devices : 1 - Network interface card (NFC) 2 - Bridge 3 - Switch

Layer 2 (Data Link Layer)

Tuesday, July 18, 2023 12:15 PM

  • Forwards traffic (routing) with logical address. 1 - Logical Addressing:
  • The most common one today is IPv4 and IPv6. 2 - How should data be forwarded or routed?
  • Packet switching : Data is divided into packets and then forwarded.
  • Circuit switching : Dedicated communication link is established between two devices.
  • Message switching : Data is divided into messages which may be stored and then forwarded. 3 - Route Discovery and selection: How we can decide which path will take to send that message? It's manually configured as a static or dynamically through a routing protocol like: RIP, OSPF, EIGRP, …. 4 - Connection services : It will add on layer 2 connection services to improve reliability.
  • Flow control
  • Packet reordering 5 - Internet Control Message Protocol (ICMP) :
  • Sends error messages and operational information to an IP destination.(Ping, traceroute) 6 - Layer 3 devices and protocols :
  • Router
  • Multilayer switch
  • IPv4 & IPv
  • ICMP

Layer 3 (Network Layer)

Tuesday, July 18, 2023 3:38 PM

  • Windowing : Allows the clients to adjust the amount of data in each segment. It sends less data with increased retransmissions. It sends more data with decreased retransmissions.
  • Buffering : Occurs when devices allocate memory to store segments if bandwidth isn't readily available.
  • Layer 4 devices & protocols :
  • TCP & UDP
  • WAN accelerator
  • Load balancer
  • Firewall

The session is like a conversation that has to be kept separate from all of the others to prevent intermingling the data.

  • Session layer keeps conversations separate to prevent intermingling of data. 1 - Set Up Session : Checking of user credentials and assigned numbers to sessions to help identify them. (Set up who starts to talk) 2 - Maintain Session : Transfer data , Reestablish connection , Acknowledge receipt. 3 - Tear Down Session : Ending of a session after the transfer is done or when the other party disconnects.
  • Layer 5 devices & protocols : H.323 : Used to set up, maintain and tear down voice and video connections. It operate over Real-Time Protocol (RTP).

2 - NetBIOS : Used to share files over a network.

Layer 5 (Session Layer)

Wednesday, August 2, 2023 8:41 PM

Provides application-level services where users communicate with the computer. (IMAP , SMTP)

  • Application Services : Unites communicating components from more than one network application.
  • Service Advertisement : Sending out of announcements to other devices on the network to state the services they offer.
  • Layer 7 things : 1 - Email applications (POP3, IMAP, SMTP) 2 - Web browsing (HTTP , HTTPS) 3 - DNS (Domain Name Service) 4 - File Transfer Protocol (FTP, FTPS, SFTP) 5 - Remote access (TELNET, SSH, SNMP: Simple Network Management Protocol)

Layer 7 (Application Layer)

Thursday, August 3, 2023 10:51 PM

Encapsulation : The Process of putting headers (and trailers) around some data.

  • Moving from layer 7 to layer 1 this is Encapsulation
  • Moving from layer 1 to layer 7 this is Decapsulation Protocol Data Unit (PDU) : A single unit of information transmitted in a computer network.

For ex. L 7 PDU means Layer 7 PDU (Data) L 2 PDU means Layer 2 PDU (Frames)

  • TCP header (20 bytes) :

Encapsulation and Decapsulation

Friday, August 4, 2023 12:06 AM

Until now we are in Layer 4 the transportation layer, now let's move to layer 3 the network layer.

As we moved to another layer we going to encapsulate the data and add a header. This time we are going to add the IP header.

  • Continuing moving in the layers, we reach Layer 2 the Data link layer.
  • Now the data is going to encapsulate the data by adding Ethernet header.
    • A frame being sent at layer 2 will also contain a Payload. A minimum 42 bytes payload is used in ethernet if it is using VLANs and 46 bytes if there is no VLANs.
  • Payload is the data that we're trying to send across the network.
  • Payload is the data that we're trying to send across the network. There is a maximum size of payload to send known as MTU (Maximum transition unit).
  • By default ethernet uses an MTU of 1500 bytes. If you tried to send payload larger than 1500 bytes, then we are going to use Jumbo Frames , this allows you to send larger than the specified MTU, by reconfigure the MTU size on the switch.