Computer Networking | Personal Notes | Temp

快速吸收这些知识,然后进行思考整合记忆。然后学习更高阶的知识,不断升级。

Basics of Computer Networking

Open system

也就是连接到网络中的系统。可以进行通信。

Closed system

没有连接到网络中的系统。不可以进行通信。

network topology

在中文中,topology意思是拓扑,也就是网络设备之间的排列方式。有星型的排列方式、P2P排列方式(也就是点对点的排列方式)、环状排列方式等等,下图还列举了很多topology,可以将图中的点想象为网络设备(包括计算机)。

Protocol

也就是协议。协议规定了电脑之间该如何进行通信,应该遵守哪些规定等。以人类作为类比,我们与他人之间交流时(也就是通信),应当注意礼貌,在开始对话之前,一般要先跟对方打招呼,对话时不能辱骂对方,这都是一些规定,必须遵守。而协议则规定了电脑之间该如何进行通信。当然,这里的电脑还可以是指其他的连入网络中的设备,比如手机等等。



UNIQUE IDENTIFIERS OF NETWORK

Host name

也就是主机名。每台连入网络的设备都有自己的主机名。

在命令行窗口中输入hostname,可以查看自己电脑的主机名。

IP Address (Internet Protocol address)

IP地址。也称为逻辑地址。是计算机在网络中的地址。

为了标识互联网中的每台设备,IANA(Internet Assigned Numbers Authority)规定每台设备都需要有一个IPv4地址。

IP地址长度为32位,也因此有2^32个IP地址。

在命令行中输入ipconfig可以查看计算机的 IP 地址。

MAC Address (Media Access Control address)

MAC地址,也称为物理地址。在制造网卡时就烧录在网卡中,网卡就是NIC(Network Interface Card)

MAC地址长度为48位。

在命令行中输入ipconfig /all,就可以查看MAC地址。

Port

端口。可以看作是数据传入和传出应用程序的逻辑通道。

一台主机可以有多个进程,每个进程都有一个端口号。

端口号是16-bit的整数。因此有2^16种组合,即65536个,范围为0 - 65535。如表所示:

PORT TYPES RANGE
Well known Ports 0 – 1023
Registered Ports 1024 – 49151
Ephemeral Ports 49152 – 65535

在 cmd 中输入netstat -a来查看手头机器中所有使用中的端口。

?Socket

The unique combination of IP address and Port number together are termed as Socket.

Few more concepts

DNS Server

DNS = Domain Name System。用于查询主机号的IP地址。

cmd中输入nslookup查看负责手头机器域名解析的DNS服务器的IP地址。也可以通过这个命令查询指定主机的IP地址,比如nslookup www.google.com

ARP

Address Resolution Protocol。Data Link Layer的协议。

用于将一台主机的IP地址转为对应的MAC地址。

RARP

Reverse Address Resolution Protocol

能将MAC地址转为IP地址。但在DHCP提出后,被废弃。

原文地址:https://www.cnblogs.com/stycoding/p/12654279.html

时间: 2024-08-30 09:42:09

Computer Networking | Personal Notes | Temp的相关文章

Computer Networking: A Top Down Approach

目录 {:toc} 这本书是计算机网络最好的入门书籍,与传统的计算机网络书籍不同,它采用了自顶而下的方式去讲解.感谢两位十分出色的作者:Jim Kurose和Keith Ross, 他们生动的叙述方式使我觉得计算机网络如此有趣.单单引用文献就有33页,我十分佩服这么严谨又有耐心的人. Keep those cards and letters coming! --谚语 Chapter 1: Computer Networks and the Internet 计算机网络的概览,描绘了这本书蓝图.b

Computer Networking: Network layer

Forwarding and routing 2 important network-layer functions – forwarding and routing. Forwarding: The router-local action of transferring a packet from an input link interface to the appropriate output link interface (within a single router). Terms 'f

[Computer Networking] {CMU14-740} Lecture 9: The Transport Layer; UDP

This is the first lecture in a series exploring the Transport layer. This layer is responsible for logical communication between applications running on (usually) different hosts. As such, it is designed with careful consideration for the requirement

Computer Networks and the Internet

According to wikipedia, a Computer Network is a collection of computers and devices interconnected by communication channels that facilitate communications among users and allows users to share resources. Computer networks can be classified based on

Computer Neworking: A Top-Down Approach

[TOC] 这本书是计算机网络最好的入门书籍,与传统的计算机网络书籍不同,它采用了自顶而下的方式去讲解.感谢两位十分出色的作者:Jim Kurose和Keith Ross, 他们生动的叙述方式使我觉得计算机网络如此有趣.单单引用文献就有33页,我十分佩服这么严谨又有耐心的人. Keep those cards and letters coming! --谚语 Chapter 1: Computer Networks and the Internet 计算机网络的概览,描绘了这本书蓝图.borad

(转)Awesome Courses

Awesome Courses  Introduction There is a lot of hidden treasure lying within university pages scattered across the internet. This list is an attempt to bring to light those awesome courses which make their high-quality material i.e. assignments, lect

Powershell Function Get-TimeZone

代码原文地址: https://gallery.technet.microsoft.com/scriptcenter/Get-TimeZone-PowerShell-4f1a34e6 <# .Synopsis This script retreives the timezone of a local or remote computer via WMI. .DESCRIPTION This script retreives the timezone of a local or remote co

Ultra-wideband (UWB) secure wireless device pairing and associated systems

Methods and systems are disclosed for ultra-wideband (UWB) secure wireless device pairing. Secure pairing between devices for secure UWB communications is conducted over in-band UWB communications to provide secure pairing without requiring a visual

[书评]书评存根(持续更新)

自己读过的书,文章和一些短评,个人意见仅供参考. Interactive computer graphics : a top-down approach with shader-based OpenGL / Edward Angel, David Shreiner Shader-Based,搭配opengl-tutorial一类的教程食用更佳.这本书的优点就是内容比较全,细节很丰富,还有一些代码,缺点是有的地方讲的不太清楚,比较典型的比方说讲到Environmental Mapping(也可能是