我是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"
答案 0 :(得分:3)
更改行:
**.networkLayer.configurator.networkConfiguratorModule = ""
进入:
**.networkLayer.configurator.networkConfiguratorModule = "net_configurator"
IPv4NetworkConfigurator
对象的名称更改为configurator
。删除行:
**.networkLayer.configurator.networkConfiguratorModule = ""