Hi, I have the same problem if I try to add a WirelessHost in the wiredAndWirelessHostWithAP...in detail, there is always a wirelessHost which not receive any packets, even if they are sent, by other wirelessHost...if the same wirelessHost is connected with a wiredHost, evertyhing is ok....attached there is my omnet..any help??
"[General]
network = WiredAndWirelessHostsWithAP
sim-time-limit = 400s
tkenv-plugin-path = ../../../etc/plugins
**.addDefaultRoutes = false
**.*Host*.numUdpApps = 1
**.wirelessHost1.udpApp[0].typename = "UDPBasicApp"
**.wirelessHost2.udpApp[0].typename = "UDPBasicApp"
**.wirelessHost3.udpApp[0].typename = "UDPBasicApp"
**.wiredHost1.udpApp[0].typename = "UDPBasicApp"
**.wirelessHost1.udpApp[0].localPort = 1000
**.wirelessHost2.udpApp[0].localPort = 1000
**.wirelessHost3.udpApp[0].localPort = 1000
**.wiredHost1.udpApp[0].localPort = 1000
**.wiredHost1.udpApp[0].destAddresses = "wirelessHost3"
**.wirelessHost1.udpApp[0].destAddresses = "wiredHost1"
**.wirelessHost2.udpApp[0].destAddresses = "wirelessHost1"
**.wirelessHost3.udpApp[0].destAddresses = "wirelessHost2"
#**.wirelessHost1.udpApp[1].destAddresses = "wiredHost1"
**.*Host*.udpApp[0..].destPort = 1000
**.*Host*.udpApp[0..].messageLength = 100B
**.*Host*.udpApp[0..].sendInterval = 1s
**.*Host*.udpApp[0..].stopTime = 300s"
NED
"//
// This program is property of its copyright holder. All rights reserved.
//
package inet.examples.wireless.wiredandwirelesshostswithap;
import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
import inet.node.ethernet.Eth100M;
import inet.node.inet.Router;
import inet.node.inet.StandardHost;
import inet.node.inet.WirelessHost;
import inet.node.wireless.AccessPoint;
import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
network WiredAndWirelessHostsWithAP
{
@display("bgb=503,221");
submodules:
wirelessHost1: WirelessHost {
@display("p=26,90");
}
wirelessHost2: WirelessHost {
@display("p=244,148");
}
wirelessHost3: WirelessHost {
@display("p=313,18");
}
wiredHost1: StandardHost {
@display("p=450,134");
}
router: Router {
@display("p=296,69");
}
accessPoint: AccessPoint {
@display("p=205,69");
}
accessPoint2: AccessPoint {
@display("p=391,69");
}
configurator: IPv4NetworkConfigurator {
parameters:
assignDisjunctSubnetAddresses = false;
@display("p=367,165");
}
radioMedium: Ieee80211ScalarRadioMedium {
@display("p=115,165");
}
connections:
accessPoint.ethg++ <--> Eth100M <--> router.ethg++;
accessPoint2.ethg++ <--> Eth100M <--> router.ethg++;
accessPoint2.ethg++ <--> Eth100M <--> wiredHost1.ethg++;