computerNetwork

computer network


Pysical layer

Switching

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

Nyquist’s theorem

R m a x = 2 H   l o g 2 V b i t s / s e c R_{max} = 2H\,log_2V \quad bits/sec Rmax=2Hlog2Vbits/sec

H is Bandwidth, V is the number of signal levels

Shannon’s theorem

R m a x = H   l o g 2 ( 1 + S / N ) b i t s / s e c R_{max} = H\,log_2(1+S/N) \quad bits/sec Rmax=Hlog2(1+S/N)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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值