Code Monkey home page Code Monkey logo

Comments (2)

vivianchiong avatar vivianchiong commented on June 30, 2024

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.

from emane.

vivianchiong avatar vivianchiong commented on June 30, 2024

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!

from emane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.