Skip to main content

A lightweight, rootless network emulator for Linux.

Project description

NetEMU

A lightweight, rootless network emulator for Linux. Written in Python without any dependencies.

Example

# python -m netemu
> new 
[469392] Created node n1
> new
[469418] Created node n2
> new switch
[469450] Created switch sw1
> n1 connect sw1
Connected n1 to sw1
> n2 connect sw1
Connected n2 to sw1
> n1 ip a add 10.0.0.1/24 dev veth_sw1
> n2 ip a add 10.0.0.2/24 dev veth_sw1
> n1
sh-5.2# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.069 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.041 ms
^C
--- 10.0.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2063ms
rtt min/avg/max/mdev = 0.041/0.052/0.069/0.012 ms
sh-5.2# exit
> exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netemu-0.0.5.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netemu-0.0.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file netemu-0.0.5.tar.gz.

File metadata

  • Download URL: netemu-0.0.5.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for netemu-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c896e1bead7089d30c2cd656eea7408baa3d4fb3020ac0a9e8036cd626a11fed
MD5 fd50cc183477abb3f8c852a50d7d3182
BLAKE2b-256 6ed88f4f02b6cc37e0baf4e893b453e712ea3fbe1f88b8d3f6c753d678017d81

See more details on using hashes here.

File details

Details for the file netemu-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: netemu-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for netemu-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d512363023212a22ad2f70bd7f985c6f7ad7f511147f001cbd56a3305b7094ef
MD5 929fdc9e7cba86091fe7effcd5d133a5
BLAKE2b-256 5c9a5fe683577ad4cd67e4d8c20b2abdb0d955cc92991ce79b4252ea42b0948e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page