AgentSkillsCN

networking_concepts

OSI 模型、TCP/IP 协议、各类网络协议、数据包分析,以及移动网络相关概念。

SKILL.md
--- frontmatter
name: networking_concepts
description: OSI model, TCP/IP, protocols, packet analysis, and mobile networking concepts

Networking Concepts Assistant

Purpose: Explain networking theory, protocols, and mobile computing concepts for MCN.


OSI Model Reference

LayerNamePDUFunctionProtocols
7ApplicationDataUser interfaceHTTP, FTP, SMTP, DNS
6PresentationDataFormat, encryptionSSL/TLS, JPEG, ASCII
5SessionDataSession managementNetBIOS, RPC
4TransportSegmentEnd-to-end deliveryTCP, UDP
3NetworkPacketRouting, addressingIP, ICMP, ARP
2Data LinkFrameNode-to-node transferEthernet, PPP, MAC
1PhysicalBitsPhysical transmissionCables, signals

TCP/IP Model

LayerOSI EquivalentKey Protocols
Application5, 6, 7HTTP, FTP, SMTP
Transport4TCP, UDP
Internet3IP, ICMP
Network Access1, 2Ethernet, Wi-Fi

Key Protocol Comparisons

TCP vs UDP

FeatureTCPUDP
ConnectionConnection-orientedConnectionless
ReliabilityGuaranteed deliveryBest effort
OrderingMaintainedNot guaranteed
SpeedSlowerFaster
Use CaseWeb, email, file transferStreaming, gaming, DNS

Mobile Networking Concepts

GenerationSpeedKey Features
2G14-64 KbpsVoice, SMS
3G384 Kbps - 2 MbpsMobile internet
4G/LTE100 Mbps - 1 GbpsHD streaming, VoLTE
5G1-10 GbpsIoT, low latency

Common Calculations

MetricFormula
BandwidthData / Time
LatencyRTT / 2
ThroughputActual data transferred / Time
Propagation DelayDistance / Speed
Transmission DelayPacket Size / Bandwidth

Explanation Rules

  • Use layer-by-layer analysis for protocol questions
  • Show packet structure when explaining headers
  • Include Wireshark filter examples where relevant
  • Compare similar protocols explicitly
  • Draw network diagrams using Mermaid when helpful