ip - 以太网网络中的自动 IP 寻址不起作用
问题描述
我是 OMNET++(5.4 版)模拟器的新手,我一直在尝试做一些教程来学习它。现在我正在做一个如图所示的示例以太网连接。
我的“net.ini”文件中有以下配置
[General]
# Configurator settings
*.net_configurator.dumpAddresses = true
*.net_configurator.dumpTopology = true
*.net_configurator.dumpLinks = true
*.net_configurator.dumpRoutes = true
# Routing settings
**.networkLayer.configurator.networkConfiguratorModule = ""
*.*.networkLayer.arpType = "GlobalARP"
*.*.routingTable.netmaskRoutes = ""
# Visualizer settings
*.visualizer.interfaceTableVisualizer.displayInterfaceTables = true
*.visualizer.interfaceTableVisualizer.nodeFilter = "not (*switch* or *Switch* or *AP*)"
[Config Step1]
network = net
description = "Fully automatic IP address assignment"
解决方案
换行:
**.networkLayer.configurator.networkConfiguratorModule = ""
进入:
**.networkLayer.configurator.networkConfiguratorModule = "net_configurator"
其他方法是这样做:
IPv4NetworkConfigurator
将对象的名称更改为configurator
.删除行:
**.networkLayer.configurator.networkConfiguratorModule = ""
推荐阅读
- node.js - 将二进制文件转换为文件 (Node/Mongo)
- html - 运行“python manage.py runserver”时无法获取本地主机
- sql-server - VBS Excel SaveAs csv FileFormat 62/xlCSVUTF8 不起作用
- javascript - 在 Dialogflow Nodejs 中发送图像
- python - 在 pd.groupby 的列中获取值以进行迭代
- android - 如果点击通知,所需的活动将不会启动 ANDROID 11
- jboss - 是否有可能拥有 JBoss 独立 xml 层次结构?
- excel - 如何在 Windows 中编写 shell 脚本以从模板创建新的 excel 工作表?
- android - 修复 SearchView 行
- python - 为 plotly windrose python 创建自定义标记度