Hi all
I have replaced the plc gates (that were named eth gates) with their
proper naming. Both in the ned and C++ files.
With the attached network, I want to send UDP messaged. Unfortunately
the IPv4NetworkConfigurator seems to not be able to find a route
through the PlcNet.
When I use the debugger, for a very short time the message "No source
file named
[...]/inetmanet-2.0/src/networklayer/autorouting/ipv4/IPv4NetworkConfigurator.cc." (Actually
this line is printed twice).
The file is definitely there.
Anyway: When I run the simulation without debugger, there is no such
error.
Either way the IPv4NetworkConfigurator is not able to assign IP
addresses to the gates and therefore the UDP messages are ot sent.
The messages in the simulation window are attached as simmessages.txt.
e.g. line 277: DEBUG: Selected interface address: 10.0.0.1
so it seems as if it was configured properly.
When I add e.g. an Eth100M channel between the hosts eth gates, the
simulation output becomes the content of the attached
simmessages+ethg.txt.
Lines 348-351 are:
DEBUG: Adding route PowerlineNetwork_0.powerlineHost1.eth0 ->
PowerlineNetwork_0.powerlineHost2.eth0 as dest:10.0.0.2 gw:*
mask:255.255.255.255 metric:0 if:eth0(<unspec>) DIRECT MANUAL DEBUG:
Adding route PowerlineNetwork_0.powerlineHost1.eth0 ->
PowerlineNetwork_0.powerlineHost2.plc0 as dest:10.0.0.9 gw:10.0.0.2
mask:255.255.255.255 metric:0 if:eth0(<unspec>) REMOTE MANUAL DEBUG:
Adding route PowerlineNetwork_0.powerlineHost2.eth0 ->
PowerlineNetwork_0.powerlineHost1.eth0 as dest:10.0.0.1 gw:*
mask:255.255.255.255 metric:0 if:eth0(<unspec>) DIRECT MANUAL DEBUG:
Adding route PowerlineNetwork_0.powerlineHost2.eth0 ->
PowerlineNetwork_0.powerlineHost1.plc0 as dest:10.0.0.5 gw:10.0.0.1
mask:255.255.255.255 metric:0 if:eth0(<unspec>) REMOTE MANUAL
It seems to me if the configurator can't "see through" the PlcNet and
therefore routes through the Ethernet interface.
Do you have any idea how I solve this problem?
Best regards
Ramon
> > De:
omn...@googlegroups.com <javascript:>
> > [mailto:
omn...@googlegroups.com<javascript:>] En nombre de
> > Ramon Hofer
> > Enviado el: miércoles, 15 de enero de 2014 10:14
> > Para:
omn...@googlegroups.com <javascript:>
> > send an email to
omnetpp+u...@googlegroups.com <javascript:>.