inet-framework / inet

INET Framework for the OMNeT++ discrete event simulator
https://inet.omnetpp.org
Other
442 stars 488 forks source link

Data rate cannot be set in DumbbellNetwork template network #949

Open adamgeorge309 opened 9 months ago

adamgeorge309 commented 9 months ago

In DumbbellNetwork (inet/networks/ethernet/DumbbellNetwork.ned), the network nodes are connected with EthernetLink connections, and a default Ethernet bitrate is set on the interfaces. However, Ethernet MAC module gets the bitrate from the channel. This leads to the following error:

Invalid ethernet transmission rate 0 bps -- in module (inet::EthernetMac) Congestion.client1.eth[0].mac (id=69), during network initialization