关于 MC-Networking
MC-Networking 是一款旨在在《Minecraft》中模拟真实 IP 网络、设备和协议的模组。
本模组的创建具有双重目标:提供一个交互式教学工具以学习网络技术,并将 IT 网络的潜力整合到游戏世界的机制中。
工作原理
该模组为基础游戏引入了代表硬件设备的新方块,以及用于物理连接这些设备的新物品(代表网络线缆)。

通过与网络设备交互,玩家可以使用游戏界面内模拟的自定义 CLI(命令行界面)来配置和诊断设备。

当前功能
该项目仍在开发中。截至目前,已实现以下功能:
-
网络设备:
Hub(集线器)Switch(交换机)Router(路由器)Host(主机)(终端设备,目前模拟至 ISO/OSI 模型的第 3 层)
-
网络引擎:
- 模拟服务器同步数据包转发,包含接口出口队列及传输和传播延迟。
- 层间数据负载的封装与解封装。
-
协议:
ARP用于 MAC 地址解析。ICMP
-
主要 CLI 命令:
hostname:设置设备的 hostname(主机名)。interface:管理网络接口(例如eth0、lo)。ip:配置网络接口的地址及主机上的默认网关。show:检查配置、ARP 缓存和路由表。ping和traceroute:用于诊断你的网络。
-
WebUI:
- 通过 WebUI 从浏览器中与游戏内的网络设备进行交互

下载
该模组可在 Modrinth 或 GitHub 仓库 上下载。
什么是 MC-Networking
MC-Networking 是一款为 Minecraft 打造的模组,旨在在游戏内模拟真实的 IP 网络、网络设备以及网络协议。
该模组的诞生具有双重目标:一方面提供一个互动的教学工具来学习 networking(网络知识),另一方面将计算机网络的能力直接整合进游戏世界的机制中。
工作原理
本模组为基础游戏引入了新的方块,代表真实的硬件设备;以及新的物品(item),用作网络线缆以在物理上连接各个机器。

通过与设备进行交互,玩家可以配置并诊断它们,方法是使用内置于游戏界面中的自定义 CLI(命令行界面)进行模拟操作。

当前功能
该项目仍在开发中。目前已实现以下功能:
-
网络设备:
HubSwitchRouterHost(终端设备,目前模拟至 ISO/OSI 模型的第 3 层)
-
网络引擎:
- 与服务器同步的包转发模拟,包含接口出口队列以及传输和传播延迟。
- 各层之间的载荷封装与解封装。
-
协议:
ARP用于 MAC 地址解析。ICMP
-
主要 CLI 命令:
hostname:用于设置设备名称。interface:用于管理网络接口(例如eth0、lo)。ip:用于配置主机接口的地址及默认网关。show:用于检查配置、ARP 缓存和路由表。ping和traceroute:用于网络诊断。
-
WebUI:
- 通过 WebUI 从浏览器与游戏中的网络设备进行交互。

下载
About MC-Networking
MC-Networking is a Minecraft mod created to simulate real IP networks, devices and protocols within the game.
This mod was created with a dual goal: to provide an interactive teaching tool to learn networking and to integrate the
potential of IT networks into the mechanics of the game world.
How does it work
The mod introduces to the base game new blocks that represent the hardware devices, and new items that represent the network cables used to physically link the devices.

By interacting with a networking device, it is possible to configure and diagnose it thanks to a custom CLI, emulated within the game interface.

Current Features
The project is still under development. As of now, the following has been implemented:
-
Networking devices:
HubSwitchRouterHost(The end devices, currently simulated up to ISO/OSI layer 3)
-
Networking engine:
- Simulated server synchronised packet forwarding, with interfaces’ exit queues and transmission and propagation times.
- Encapsulation and decapsulation of the payloads between layers.
-
Protocols:
ARPfor MAC addresses resolution.ICMP
-
Main CLI commands:
hostname: to set a device's hostname.interface: to manage network interfaces (e.g.,eth0,lo).ip: to configure the network interfaces' addresses and the default gateways on the hosts.show: to inspect configurations, ARP caches and routes.pingandtraceroute: to diagnose your networks.
-
WebUI:
- Interact with the in-game network devices from your browser through a WebUI

Download
The mod is available for download on Modrinth or from the GitHub repository.
Cos'è MC-Networking
MC-Networking è una mod per Minecraft creata per simulare reti IP, apparati e protocolli di rete reali all'interno
del gioco.
Questa mod nasce con un duplice obiettivo: fornire uno strumento didattico interattivo per l'apprendimento del
networking e integrare le potenzialità delle reti informatiche direttamente nelle meccaniche del mondo di gioco.
Come funziona
La mod introduce nel gioco base nuovi blocchi, che rappresentano i veri e propri apparati hardware, e nuovi oggetti (item), che fungono da cavi di rete per collegare fisicamente le macchine tra loro.

Interagendo con un apparato è possibile configurarlo e diagnosticarlo tramite una CLI custom, emulata direttamente nell'interfaccia di gioco.

Funzionalità Attuali
Il progetto è ancora in fase di sviluppo. Al momento sono stati implementati:
-
Apparati di rete:
HubSwitchRouterHost(Dispositivi finali, attualmente simulati fino al layer ISO/OSI 3)
-
Motore di Rete:
- Simulazione dell'inoltro dei pacchetti sincronizzata con il server, con code di uscita sulle interfacce e tempi di trasmissione e propagazione.
- Incapsulamento e decapsulamento dei payload tra i vari layer.
-
Protocolli:
ARPper la risoluzione degli indirizzi MAC.ICMP
-
Comandi CLI principali:
hostname: per impostare il nome del dispositivo.interface: per la gestione delle interfacce di rete (es.eth0,lo).ip: per configurare gli indirizzi delle interfacce e i default gateway sugli host.show: per ispezionare le configurazioni, la cache ARP e le rotte.pingetraceroute: per diagnosticare le reti.
-
WebUI:
- Interagisci con gli apparati di rete del gioco dal browser tramite una WebUI

Download
È possibile scaricare la mod su Modrinth o dalla repository GitHub.
下载 MC-Networking
下载 MC-Networking
下载 MC-Networking
下载 MC-Networking
下载 MC-Networking
下载 MC-Networking
下载 MC-Networking
下载 MC-Networking
更新日志 v1.2.0-26.3
- 新增 WebUI:现在可以通过实现 CLI 的 WebUI 与网络设备进行交互
更新日志 v1.1.3-26.3
- 添加了守护进程任务
- 添加了 CLI 命令
job stop、job status、show jobs以与任务进行交互 - 添加了 CLI 命令
arpd flush、arpd status以与 ARP 管理器进行交互 - 为 ARP 缓存条目添加了 TTL(生存时间)
- 添加了电缆下垂效果
- 添加了电缆最大长度限制
- 为连接添加了 MDI 约束
- 修复了未加载区块中电缆的渲染问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
一个基于构建器的 Minecraft 配置库!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
? 使用命令保存和加载玩家或他人的背包/套装。
评论 0
登录后参与评分
还没有评论,来抢沙发吧