Computer Network Review

本文基于南京大学陈天老师的课程,涵盖了交换网络的电路网络、分组网络和混合虚拟电路,网络评估的延迟、带宽和丢包率,网络构成如DSL、以太网和卫星通信,OSI七层模型,数据链路层的帧封装、错误检测与纠正,以及无线网络面临的挑战和解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

This blog is based on the course of Teacher Chen Tian of NJU

1、Switched networks

1) Circuit network:

  • Time division multiplexing
  • Frequency division multiplexing

Pros: Predicted performance,simple or fast switching
Cons:delay 、inefficient and complexity of circuit setup or teardown, Switch fails -> circuit fails

2)Packet network

Pros:efficient use of network resource, simple to implement,robust->“can route trouble”
Cons:unpredictable performance, require buffer management and congestion control

3)Hybrid:Virtual circuit

2、How do we evaluate a network?

  • Delay:Transmission 、Propagation、Queue、Processing
    BDP = Bandwidth x Propagation-Delay
    Little’s Law : L = A x W
  • Loss
  • Throughput

3、What is a network made of?

  • DSL
  • cable
  • Ethernet
  • Fiver to the Home
  • Optical Carrier
  • Satellite
  • Cellular

4、OSI layers

  • Application
  • Presentation
  • Session
  • Transport
  • Network
  • Data Link
  • Physical

在这里插入图片描述
Layers Pros and Cons:
Pros: Reduce Complexity, improve flexibility
Cons:Higher overheads, Cross-layer information often useful

  • Layering is a good way to organize networks
  • Unified Internet layer decouples applications from networks
  • E2E argument encourages us to keep IP simple

5、Data Link layer

  • Framing:Encapsulates network layer data
  • Link access:Medium access control (MAC) protocol defines when to transmit frames
  • Reliable delivery:Primarily for mediums with high error rates (e.g., wireless)
  • Error detection and correction

Point to point Vs. Broadcast

  • PtP:dedicated pairwise communication
  • Broadcast:shared wire or medium

Thress classes of techniques in a shared broadcast channel:

  • Channel partitioning: divide channel into pieces(TDMA、FDMA、CDMA)
  • Taking turns: scheme for deciding who transmits
  • Random access: allow collisions, and then recover(ALOHA、Slotted ALOHA、CSMA、CSMA/CD、CSMA/CA-Wireless)

ALOHA: ACK
Slotted ALOHA: central clock
CSMA:listen before transmit

Three key ideas of random access:

  • carrier sense
  • collision detection
  • randomness:waiting for a random time before try again(Binary exponential back-off)

6、Ethernet

MAC(Medium Access Control)
在这里插入图片描述
Spanning tree protocol——eliminate looping

  • Data link layer transfers data between adjacent nodes or nodes connected to the same switch
  • Ethernet evolved from a broadcast medium to switched
    在这里插入图片描述

ARP:Address resolution Protocol

  • Every host maintains an ARP table
  • Map dest. IP address to dest. MAC address

DHCP:Dynamic Host Configuration Protocol
A host uses DHCP to discover

  • Its own IP address
  • Its netmask
  • IP address(es) for its local DNS name server(s)
  • IP address(es) for its first-hop “default” router(s)
    在这里插入图片描述

7、Wireless

  • Wireless networking introduces more challenges than wired networks
    Interference, attenuation, multipath, hidden terminals, etc.
  • CSMA/CD doesn’t work because collision detection is difficult
    Instead, CSMA/CA is used that avoid collisions by reserving the channel a priori
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值