以太网网络中的自动 IP 寻址不起作用
Automatic IP addressing in Ethernet network is not working
我是 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"
当我使用模拟午餐时,我没有看到任何 IP 分配。可能是什么问题呢?
换行:
**.networkLayer.configurator.networkConfiguratorModule = ""
进入:
**.networkLayer.configurator.networkConfiguratorModule = "net_configurator"
其他方法是:
- 将
IPv4NetworkConfigurator
对象的名称更改为 configurator
。
删除行:
**.networkLayer.configurator.networkConfiguratorModule = ""
我是 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"
当我使用模拟午餐时,我没有看到任何 IP 分配。可能是什么问题呢?
换行:
**.networkLayer.configurator.networkConfiguratorModule = ""
进入:
**.networkLayer.configurator.networkConfiguratorModule = "net_configurator"
其他方法是:
- 将
IPv4NetworkConfigurator
对象的名称更改为configurator
。 删除行:
**.networkLayer.configurator.networkConfiguratorModule = ""