Skip to content

Create a graph of all network interfaces and their relationships.

Notifications You must be signed in to change notification settings

anotherwon/network-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network-graph

Creates a graph of all network interfaces and their relationships. Supports network namespaces.

Dependencies

  • iproute2
  • python3
  • python3-graphviz
  • graphviz

Usage

sudo ./network-dump.sh > network.json
./network-graph.py network.json > network.gv
dot -Tpng network.gv > network.png

Or all in one:

sudo ./network-dump.sh | network-graph.py | dot -Tx11

TODO

  • captions for edges
  • cgroups support

About

Create a graph of all network interfaces and their relationships.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published