Dha*_*pal 1 local-area-network
这是一个非常初学者的问题。如何配置两个系统的局域网?
我只有局域网的理论知识。鉴于两台计算机,我必须配置一个局域网。
我必须遵循哪些步骤?需要什么组件?如何构建局域网?
这是一个简单的问题,所以我会保持简单的答案。
需要的组件,或者:
* 1 x crossover cable; or
* 2 x normal UTP cable and 1 x switch
Run Code Online (Sandbox Code Playgroud)
普通的 UTP 电缆通常是蓝色的 - 它也称为 LAN 或以太网电缆。我将假设您知道什么是交换机 - 一个装满多台计算机插入的 UTP 端口的小盒子。交叉电缆是一种特殊的 UTP 电缆,其接线方式略有不同。
物理配置,或者:
* Connect both computers directly with the crossover cable; or
* Use the normal cables to plug both computers into the switch.
Run Code Online (Sandbox Code Playgroud)
逻辑配置:
同样,我不打算深入探讨子网划分的细节。只需使用这些设置:
* PC1: IP = 192.168.0.10, Netmask: 255.255.255.0
* PC2: IP = 192.168.0.11, Netmask: 255.255.255.0
Run Code Online (Sandbox Code Playgroud)
玩得开心游戏!