andi79
unread,Dec 2, 2009, 9:08:13 AM12/2/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omnetpp
I have build a compond module which contains 2 ppp interfaces,
conntected to each other over their netwIn / netwOut gates. Later I
want to cut this direct connection and add a simple module for doing
some data processing.
But for now there is a problem, I don't understand. Every time I start
the my simulation (the compund module is part of a bigger network) I
get the following error:
"Error in module (PPP) ... addInterface(): specified module is not in
this host/router"
Is there anybody who can give me a helpful hint??
Thanks a lot.
Andreas
Attatchment: the comp. module ned description
package src;
import inet.linklayer.ppp.PPPInterface;
import inet.linklayer.ethernet.EthernetInterface;
import inet.networklayer.common.InterfaceTable;
import inet.base.NotificationBoard;
import inet.networklayer.ipv4.RoutingTable;
import inet.util.NAMTraceWriter;
module Eth2PPP
{
parameters:
@display("i=block/square");
gates:
// inout ethg;
inout pppg;
inout pppg2;
submodules:
pppIface: PPPInterface;
pppIface2: PPPInterface;
ifaceTable: InterfaceTable {
@display("p=194,70");
}
routingTable: RoutingTable {
@display("p=339,70");
}
noteBoad: NotificationBoard {
@display("p=266,70");
}
namTrace: NAMTraceWriter {
@display("p=409,70");
}
connections:
pppIface.phys <--> pppg;
pppIface2.phys <--> pppg2;
pppIface.netwOut --> pppIface2.netwIn;
pppIface2.netwOut --> pppIface.netwIn;
}