Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

magicnat/bridge-distribute

Repository files navigation

bridge-distribute

bridge-distribute is distribution server for ns3-distributed-bridge.

Install

Simply Colne and run make to build the project.

$ git clone https://github.com/Nat-Lab/bridge-distribute
$ make

Usage

Use ./dist-server_tcp to start the server. Configurable options are listed below:

usage: ./dist-server_tcp -h
usage: ./dist-server_tcp [-b bind] [-p port] [-m mode]
where: mode := { switch | hub | stream }
  • -b: Address to listen on. (Default: 0.0.0.0)
  • -p: Port to listen on. (Default: 2672)
  • -m: Mode to use, Available modes are listed below. (Default: Switch)

Modes:

  • Switch: Act like a switch. MAC address learning will be enabled.
  • Hub: Act like a hub. No MAC address learning. Every member of a network will receive traffic send by others in the same network.
  • Stream: In hub and switch mode, the distribution server waits until it gets the full ethernet frame before forwarding the traffic to member ports. Stream mode disables this and traffic received will be imminently forward to other members in the same network. No MAC address learning for this mode for obvious reason.

License

UNLICENSE

About

distribution server for ns3-distributed-bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published