Skip to content
No description, website, or topics provided.
C++ C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
.gitignore
Makefile
readme.md

readme.md

distributor

distributor is a simple virtual ethernet switch that supports up to 2^32 networks. It is meant to be used by ns-3 RemoteNetDevice to connect nodes in different ns-3 simulations together.

Installation

Clone this repository and build it with make.

$ git clone https://github.com/nat-lab/distributor/
$ cd distributor
$ make

After compilation, you will find distributor and tap-client, which are the distributor server and the TAP-based Linux client, respectively. Type ./distributor -h and ./tap-client -h to get help on how to use them.

Development

Protocol specifications can be found under the doc/ folder. If you don't care about the protocol but simply want to build your own client, take a look at src/fd-client.h and src/fd-client.cc. FdClient provides you with a file descriptor similar to TUN/TAP, that you can write to or read from to get ethernet traffic on and oof the virtual network.

You can’t perform that action at this time.