Code Monkey home page Code Monkey logo

Comments (6)

sgalgano avatar sgalgano commented on July 26, 2024

You will want to route application traffic to the vif which corresponds to the NEM.

Usually you are running a routing protocol on your nodes and configuring that protocol to use emane0 as the over-the-air interface. The tutorial uses OLSR for routing and mgen for (application) traffic generation. If you have a more complex network architecture, you'll want to configure applications running on hosts using radio nodes as next hops.

from emane-tutorial.

mdcovarr avatar mdcovarr commented on July 26, 2024

ideally I would like to ping one cisco router from another cisco router through the NEMs and the OTA emulation. It seems like this should be possible?

from emane-tutorial.

sgalgano avatar sgalgano commented on July 26, 2024

That is definitely possible.

You need to setup your routes (and/or routing protocols) so that the respective routers use their corresponding nodes (NEMs running in emulator instances in either containers, physical nodes or VMs) as next hops. You'll probably want to run a MANET routing protocol on your nodes running emane such that the Virtual Transport vifs are configured as the interface the protocol uses for over-the-air messaging.

from emane-tutorial.

mdcovarr avatar mdcovarr commented on July 26, 2024

Still not there for me yet. If my physical interfaces of my emane computer (host) are enp02s20u4 (connected to cisco router 1) and enp02s20u1 (connected to cisco router 2) how do I get the data from enp02s20u4 into the emane simulation at all? (Sorry for all the questions...)

from emane-tutorial.

sgalgano avatar sgalgano commented on July 26, 2024

You have two options: add a physical interface to each of your containers (assuming you are using LXC w/ emane) and then setup your routing configuration appropriately; or you can use the Raw Transport somewhat similar to demo 7, configure each of your NEMs to use external transports and run emaentransportd on your host. The raw transport instances would be configured to use your physical interfaces and the routers would be connected as if they are on the same subnet.

from emane-tutorial.

mdcovarr avatar mdcovarr commented on July 26, 2024

Hi Steven, thanks for the info; with it I was able to configure EMANE to allow external data to be passed through the OTA. I went ahead and added additional virtual ethernet pairs to the NEM containers. Additionally I configured the OLSR daemons to advertise the respective external networks; this handled configuring the next hops. Finally by bridging external interfaces to the respective veth interface on the host I was able get the behavior I desired. Thanks

from emane-tutorial.

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.