首页 > 其他分享 >Networking

Networking

时间:2023-10-16 10:23:02浏览次数:36  
标签:layers layer Protocol IP each Networking protocols

Computer networks use network protocols to communicate with each other. Network protocols are often abstracted into different layers. For example, Open Systems Interconnection (OSI) describes seven layers of communication protocols — starting from the application layer at the top, followed by the presentation, session, transport, network, data link, and physical layers. The Internet Protocol suite, popularly known as TCP/IP, has only four layers, starting with the application layer, followed by the transport, internet, and link layers. TCP/IP predates OSI and is more commonly used, but either protocol suite is only an abstraction layer used to describe the network communications.


The application layer is, as the name suggests, the protocol layer that describes how applications talk to each other. Examples of protocols on this layer include HyperText Transfer Protocol (HTTP) and File Transfer Protocol (FTP).


The transport layer describes how datagrams are sent and received. The two main protocols in this layer are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). TCP ensures packets of data (called datagrams) are delivered reliably. UDP, on the other hand, doesn’t ensure datagram delivery. TCP is reliable but has a high overhead, while UDP is often much faster.


Internet layer protocols describe how bits and bytes of data are organized into datagrams and how devices on the network find each other. The Internet Protocol (IP) is the most widely used internet layer protocol in the world. Two main versions of IP are in use today: the first is IP version 4, which is identified by a 4 - byte number written in a dotted quad format — for example, 192.168.1.1 — where each of the four numbers is an unsigned byte with value from 0 to 255.

There are about 4 billion possible IPv4 addresses, which means they are running out. IP version 6, on the other hand, has a 16 - byte address that provides 340 undecillion (340 trillion trillion trillion) addresses, which should be more than enough for a while. IPv6 addresses are written in eight blocks of four hexadecimal digits separated by colons — for example, 2001:0db8:85a3:0000:0000:8a2e:0370:7334.

In addition to addresses, each IP address has 65,535 logical ports, which are normally used to identify a service. For example, HTTP normally uses port 80 while FTP uses two ports: port 20 for command and port 21 for data. Port numbers 1 to 1023 are reserved for well - known services such as HTTP or FTP.

标签:layers,layer,Protocol,IP,each,Networking,protocols
From: https://www.cnblogs.com/zhangzhihui/p/17766796.html

相关文章

  • HPE Aruba Networking:网络在协调科技创新和安全风险之间扮演关键角色
    来源:ZAKER科技生成式人工智能(AI)等新兴技术正在引领企业步入创新时代,而企业也需不断地发展网络,以确保安全地推动创新发展印尼巴厘岛-2023年9月26日-根据HPEArubaNetworking(NYSE:HPE)的研究报告显示,64%的IT领导者认为网络安全问题已成为阻碍企业创新技术投资意愿的因素之一。这......
  • HPE Aruba Networking推出两项全新产品 满足中小型企业日益增长的网络及安全需求
    印尼巴厘岛——2023年9月19日——慧与科技(NYSE:HPE)今日宣布推出两项创新产品,旨在帮助中小型企业(SMB)以更快速、更高容量和更安全的网络性能提升客户体验。 图1:ArubaInstantOn1960堆叠式交换机 图2:ArubaInstantOnAP22DWi-Fi6接入点 HPEArubaNetworking推出全新A......
  • iOS YTKNetworking网络框架增加text/plain支持
    网络请求有时候报错"Requestfailed:unacceptablecontent-type:text/plain"解决办法:在基类初始化时新增以下方法即可-(void)converContentTypeConfig{YTKNetworkAgent*agent=[YTKNetworkAgentsharedAgent];NSSet*acceptableContentTypes=[NSSetsetWithOb......
  • Cisco CCNA——Internetworking
    InternetworkingInternetworkingBasics什么是网络?计算机网络:具有独立功能的多台计算机及其外部设备,通过通信线路连接起来网络设备Hub(集线器)优点:便宜、操作简单缺点:共享型、无法满足多人同时访问(目前基本淘汰出市场)接入设备越多冲突几率越大用CSMA/CD(载波侦听多路访问/冲突检测)技术......
  • docker network - container networking
    course:ManagingDockerNetworking|Pluralsight - Single-hostBridgeNetworksDocker中默认的三种网络分别为bridge、host和none。 其中bridge的网络就是默认的bridge驱动网络,也是容器创建时默认的网络管理方式,配置后可以与宿主机通信从而实现互联网通信功能,基于brid......
  • Unlock the Power of High-Performance Networking with the IPQ9554
    UnlockthePowerofHigh-PerformanceNetworkingwiththeIPQ9554Intoday'sworld,reliableandhigh-speedinternetconnectivityisessentialforeverythingfromonlinegamingandstreamingtoremoteworkandlearning.Whetheryou'reaconsumer......
  • CentOS网卡无法启动返回'Failed to start LSB:Bring up/down networking.'
    装了一台虚机,配置docker服务的时候发现忘了开CPU虚拟化,关机开启后再登录,发现网卡down了,重启网卡报错。1.journalctl-ex  #查看日志,发现返回错误'FailedtostartLSB:Bringup/downnetworking.';2.vi/var/long/messages  #再查看系统日志,发现有关于NetworkManager的信......
  • Unlock the Power of High-Performance Networking with the IPQ9554
     Intoday'sworld,reliableandhigh-speedinternetconnectivityisessentialforeverythingfromonlinegamingandstreamingtoremoteworkandlearning.Whetheryou'reaconsumerorabusiness,youneedanetworkingsolutionthatcanhandleh......
  • CS144 计算机网络 Lab0:Networking Warmup
    前言本科期间修读了《计算机网络》课程,但是课上布置的作业比较简单,只是分析了一下Wireshark抓包的结构,没有动手实现过协议。所以最近在哔哩大学在线学习了斯坦福大学的CS144计算机网课程,这门课搭配了几个Lab,要求动手实现一个TCP协议,而不是简单地调用系统为我们提供好的So......
  • Stanford CS 144, Lab 0: networking warmup 实验
    StanfordCS144,Lab0:networkingwarmupFinishStanfordCS144lab0andpassthetest.2023/03/29-01:45目录StanfordCS144,Lab0:networkingwarmup2Ne......