computerNetwork

computer network


Pysical layer

Switching

  • circuit switching
  • message switching
  • packet switching
    • datagram packet switching
    • circuit switching

Nyquist’s theorem

Rmax=2Hlog2Vbits/sec R_{max} = 2H\,log_2V \quad bits/sec

H is Bandwidth, V is the number of signal levels

Shannon’s theorem

Rmax=Hlog2(1+S/N)bits/sec R_{max} = H\,log_2(1+S/N) \quad bits/sec
S/N is signal to noise ratio

network media Types


Data link layer

responsible for efficient and reliable communication across a physical layer

LLC: Logical Link Control

  1. provided to network layer
  2. link management
  3. error control
    • send checksum together with data
  4. flow control
    • stop and wait. poor link utilization
      Protocols in which the sender sends one frame then waits for an ackonwledgement before processing are called stop-and wait. 
      
    • sliding window
      purpose: to limit the maximum number of frames send by sender without waiting for acknowledgement.
      1. stop and wait
         send window size= 1, receive window size= 1
      2. go back n
         send window size> 1, receive window size= 1 
         the sender will retransmit the damage frame and all the frames that follow it
      3. selective repeat
         send window size> 1, receive window size> 1
         only the frames that are damaged are resent
      
  5. frame synchronization
    • bit stuffing
  6. addressing

MAC: Media Access Control

  1. shared channel competition/access
    allocated the broadcast channel to the one of the competing stations.
    
  2. Multiplexing
    - FDM
    - TDM
    - WDM
    - STDM???
    
  3. CSMA/CD
    calculate
    
  4. CSMA/CA Wireless
  5. Ethernet
    在這裏插入圖片描述

Network Layer

the main function is routing packet from the sourcr machine to the destination machine.

store and forward Packet

Routing

  1. Shortest Path routing
    By changing weight function, the algorithm will compute the shortest path.
    
  2. Flooding
    ppt says little about this.
    
  3. Distant Vector Routing
    Good news travels fast, bad news travels slow.
    
  4. Link state Routing
    Each router need large memory to store the input states of the other routes
    
  5. Hierarchical Routing

Flow control

Congestion control

The purpose of the congestion control is to prevent the network from congestion.

InterNetworking

The IP protocol

  1. The IP dataframe
  2. IP Address
    The address is extreme wasteful!
    1. CIDR
    2. NAT
    3. IPv4 -> IPv6
    
  3. Subnets

Route Protocol

  1. AS
  2. IGP&EGP
  3. RIP
  4. BGP
    在這裏插入圖片描述
    Diffrence between repeater, hub, bridge, switch and getway
發佈了6 篇原創文章 · 獲贊 2 · 訪問量 2979
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章