Open vivianchiong opened 1 year ago
I have adjusted my TOS values to match what the corresponding DCSP values would be from here. I suspect that my mgen packets aren't being reached to the other EMANE nodes, because when I inspect the emane.logs, I don't see any packets with packet length 1024 or with my DSCP values.
Is it possible that EMANE nodes are not picking up messages from my multicast interface "bmf0"?
#
# olsr.org OLSR daemon config file
#
# Lines starting with a # are discarded
#
# This file was shipped with olsrd 0.X.X
#
# This file is an example of a typical
# configuration using the LQ extention
# Debug level(0-9)
# If set to 0 the daemon runs in the background
DebugLevel 0
# IP version to use (4 or 6)
IpVersion 4
LockFile "${etce_log_path}/olsrd.lock"
# Clear the screen each time the internal state changes
ClearScreen yes
LinkQualityAging 0.2
Interface "emane0" "emane1" "eth2"
{
HelloInterval 1.0
HelloValidityTime 5.0
}
LoadPlugin "olsrd_txtinfo.so.1.1"
{
PlParam "accept" "0.0.0.0"
}
LoadPlugin "olsrd_bmf.so.1.7.0"
{
PlParam "DoLocalBroadcast" "no" # disable the flooding of local broadcast packets (e.g. packets with IP destination 192.168.1.255)
PlParam "CapturePacketsOnOlsrInterfaces" "yes" # packets sent on the OLSR-enabled network interfaces will be flooded over the OLSR network
PlParam "BmfMechanism" "Broadcast"
#PlParam "NonOlsrIf" "eth2"
PlParam "FanOutLimit" "0" # broadcast is always used, even if there is only 1 neighbor to forward to
PlParam "BroadcastRetransmitCount" "1" # number of times BMF will transmit the same packet whenever it decides to use broadcast to forward a packet
}
The other thing I noticed was that I ONLY see lines like this these using cat emane.log | grep "category 1"
and cat emane.log | grep "category 1"
:
22:48:28.783816 DEBUG MACI 001 WMMManager::getUtilizationRatios: category 2, [total_bw 0.000000, ratio 0.000000], usage [total 0.008576, 8.58%]
22:53:45.283944 DEBUG MACI 001 WMMManager::getUtilizationRatios: category 1, [total_bw 0.000000, ratio 0.000000], usage [total 0.006432, 6.43%]
while Category 0 and 3 have other debug lines from WMMManager for example.
I also have this issue with the TDMA radio model.
After inspecting using tcpdump, I believe the olsr control messages defaulted to a TOS value of 192 (which maps to queue 3) is contributing to BroadcastPacketAcceptTable3. However for the mgen generated traffic, even though tcpdump on the bmf0 interface shows the correctly set TOS values I have in my mgen flows, for some reason when that traffic flows to the emane0 interface and I tcpdump on emane0, the TOS value gets set back to 0, which in turn contributes to the BroadcastPacketAcceptTable0.
Does anyone else have this issue or have any suspicions on why this could be happening? Thanks so much!
Hi,
My goal is to simulate sending voice/video traffic using MGEN. My understanding is these are different traffic classes that I want map to different traffic queues using the WMM enabled functionality in the IEEE 802.11abg radio model.
I am using:
My assumption was that if I changed the TOS value in the flow definitions in MGEN scripts, this would change the Class of the flow's traffic (e.g. TOS 96==0x60=>CS3, TOS 64==0x40=>CS2, TOS 32==0x20=>CS1), which should map to all the different queues corresponding to the "four different traffic classes" in the IEEE 802.11abg radio model.
Here is my mgen.script file (node-1):
Here is my ieee80211abgmac.xml:
When I used
tcpdump -i bmf0 -nn -v src 10.100.0.1
, I saw the TOS values being set (0x20, 0x40, 0x60). However, when I useemanesh
to look at the tables and stats, I only see packets accepted/dropped, for example, in queues 0 and 3, and not 1 and 2.Could there be some system queueing or EMANE/radio model configurations that I'm missing to use all the different queues?
Thank you so much for your help, I truly appreciate it!