以太网中的自动IP寻址不工作

以太网中的自动IP寻址不工作,ip,ethernet,omnet++,Ip,Ethernet,Omnet++,我是OMNET++(5.4版)模拟器的新手,我一直在尝试做一些教程来学习它。现在我正在做一个以太网络连接示例,如图所示 我的'net.ini'文件中有以下配置 [General] # Configurator settings *.net_configurator.dumpAddresses = true *.net_configurator.dumpTopology = true *.net_configurator.dumpLinks = true *.net_configurator.du

我是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 = ""
进入:


另一种方法是:

  • IPv4NetworkConfigurator
    对象的名称更改为
    configurator
  • 删除该行:

    **.networkLayer.configurator.networkConfiguratorModule = ""
    
    **.networkLayer.configurator.networkConfiguratorModule = ""
    
  • 更改行:

    **.networkLayer.configurator.networkConfiguratorModule = ""
    
    **.networkLayer.configurator.networkConfiguratorModule = ""
    
    进入:


    另一种方法是:

  • IPv4NetworkConfigurator
    对象的名称更改为
    configurator
  • 删除该行:

    **.networkLayer.configurator.networkConfiguratorModule = ""
    
    **.networkLayer.configurator.networkConfiguratorModule = ""