Hey Rudolf,
thank you for reply ;)
There is still a problem or rather an additional error by me: If I chance the configuration up to:
<interface hosts='cli[0]' names='eth0' address='192.168.1.1' netmask='255.255.255.0'/>
<interface hosts='cli[1]' names='eth0' address='192.168.2.1' netmask='255.255.255.0'/>
or
<interface hosts='cli[0]' names='eth0' address='192.168.1.1' />
<interface hosts='cli[1]' names='eth0' address='192.168.2.1' />
The goal is to create a subnet per client/peer, to be able to determine the IP addresses of each peer in advance
To create a subnet per client, the application terminates with an segmentation fault (error 139). The stack trace for this error is:
IPv4Address::IPv4Address (this=0x7fffffffc340, obj=@0x10: <error reading variable>)
IPv4InterfaceData::getIPAddress (this=0x0)
RoutingTable::configureRouterId (this=0x185576d0)
RoutingTable::initialize (this=0x185576d0, stage=3)
cModule::initializeModules (this=0x185576d0, stage=3)
cModule::initializeModules (this=0x18534ef0, stage=3)
cModule::initializeModules (this=0x18534950, stage=3)
cModule::callInitialize (this=0x18534950)
cSimulation::startRun (this=0x815570)
EnvirBase::startRun (this=0x815990)
Tkenv::newRun (this=0x815990, configname=0x18536280 \"AAA\", runnumber=0)
newRun_cmd (interp=0x16717360, argc=3, argv=0x7fffffffc830)
TclInvokeStringCommand ()
TclEvalObjvInternal ()
?? ()
TclCompEvalObj ()
TclObjInterpProc ()
TclEvalObjvInternal ()
?? ()
TclCompEvalObj ()
TclObjInterpProc ()
TclEvalObjvInternal ()
Tcl_EvalEx ()
Tcl_Eval ()
Tkenv::run (this=0x815990)
EnvirBase::run (this=0x815990, argc=7, argv=0x7fffffffe528, configobject=0x813710)
setupUserInterface (argc=7, argv=0x7fffffffe528)
evMain (argc=7, argv=0x7fffffffe528)
main (argc=7, argv=0x7fffffffe528)
and the eventlog is interrupted at:
MB sm 5 tm 33 m ""
ME
MB sm 5 tm 9 m ""
ME
MB sm 5 tm 33 m ""
ME
MB sm 5 tm 21 m ""
ME
- Time spent in IPv4NetworkConfigurator::extractTopology(topology): 0s
- Time spent in IPv4NetworkConfigurator::readInterfaceConfiguration(topology): 0s
- Time spent in IPv4NetworkConfigurator::assignAddresses(topology): 0s
- Time spent in IPv4NetworkConfigurator::readMulticastGroupConfiguration(topology): 0s
- Time s
Is there still an error in my config or is it a bug?
best
uwe