Files
CN-Educoder/README.md
2025-12-05 19:47:33 +08:00

118 lines
3.5 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CN-Educoder
## **仅供学习交流使用,侵权请联系删除**
高级算机网络 Educoder 课堂实验 TDUN
## 如何使用
- 实验环境可以访问互联网,只需按照以下步骤操作:
对于网络协议分析实验,把要求的文件拷贝到要求的目录下,然后不断点击测评,下一关即可完成实验。
例如GNS3 组建小型局域网实验测试目录在/data/workspace/myshixun/first下每个实验不一样则创建目录然后把对应的文件全部拷贝到该目录下.
把下面的代码粘贴到环境的命令行中即可,粘贴方式如图。
```shell
git clone https://github.com/CGH0S7/CN-Educoder.git
mkdir -p /data/workspace/myshixun/first
cp CN-Educoder/first/* /data/workspace/myshixun/first/
```
不断点击测评,下一关即可完成实验.
对于其他实验,例如**DHCP 服务器配置**只需要替换命令中的`/data/workspace/myshixun/first``/tmp/fifth` , `CN-Educoder/first``CN-Educoder/fifth` ,不断点击测评,下一关即可完成实验.
- 具体的图文演示步骤,**DHCP 服务器配置**为例
- 1![image-20241029144007935](./assets/image-20241029144007935.png)
- 2![image-20241029144035213](./assets/image-20241029144035213.png)
- 3![image-20241029145509641](./assets/image-20241029145509641.png)
- 4![image-20241029145435727](./assets/image-20241029145435727.png)
- 5![image-20241029145553529](./assets/image-20241029145553529.png)
## 目录格式解释
**实验名** - repo 中答案所在文件夹,注意有的实验对应多个文件夹。
### 配置分析类实验
- **网络协议分析** - myshixun
```shell
git clone https://github.com/CGH0S7/CN-Educoder.git
cp CN-Educoder/myshixun/* /home/headless/Desktop/workspace/myshixun/
```
- **GNS3 组建小型局域网** - first
```shell
git clone https://github.com/CGH0S7/CN-Educoder.git
mkdir -p /data/workspace/myshixun/first
cp CN-Educoder/first/* /data/workspace/myshixun/first/
```
- **静态路由配置** - second
```
git clone https://github.com/CGH0S7/CN-Educoder.git
cp -r CN-Educoder/second /data/workspace/myshixun/
```
- **动态路由 RIP 与 OSPF 配置**
- **动态路由 RIP 与 OSPF 配置 1-3 关** - third1-3
- **动态路由 RIP 与 OSPF 配置 4 关** - third4
- 特别的,动态路由 RIP 与 OSPF 配置实验,需要操作两次:
```bash
git clone https://github.com/CGH0S7/CN-Educoder.git
mkdir -p /tmp/third
cp CN-Educoder/third1-3/* /tmp/third/
```
点击3次测评完成前3关然后执行
```bash
cp CN-Educoder/third4/* /tmp/third/
```
- **VLAN 间单臂路由配置** - fourth
```shell
git clone https://github.com/CGH0S7/CN-Educoder.git
mkdir -p /tmp/fourth
cp CN-Educoder/fourth/* /tmp/fourth
```
- **DHCP 服务器配置** - fifth
```
git clone https://github.com/CGH0S7/CN-Educoder.git
mkdir -p /tmp/fifth
cp CN-Educoder/fifth/* /tmp/fifth
```
- **静态 NAT 配置**
```
git clone https://github.com/CGH0S7/CN-Educoder.git
mkdir -p /tmp/fifth
cp CN-Educoder/fifth/* /tmp/fifth
```
### 代码类实验
对于代码类,只需将代码手动复制到目标位置即可。
- **WEB 服务器编程实现** - WEB 服务器编程实现
- **UDP Ping 程序实现** - UDP Ping 程序实现
- **基于 socket 的网络编程** - 基于 socket 的网络编程
### 文本检测类实验
这类实验测试方式是检查txt文本所有文本答案位置均位于txt-answers下。
---