plotnetcfg(8) | System Manager's Manual | plotnetcfg(8) |
plotnetcfg - plot diagram of network configuration
plotnetcfg [options]
plotnetcfg is a tool that scans networking configuration on the machine and outputs a diagram of the configuration hierarchy.
By default, the output is in the dot language. The output can be converted by the dot(1) tool from graphviz(7) package to various formats such as PDF, PostScript or SVG.
plotnetcfg is able to scan different network name spaces and figure out relations that span name spaces. It supports all kinds of network interfaces and understands specifics of VLANs, bridges, veth pairs and Open vSwitch.
The tool has to be run under root or with both CAP_SYS_ADMIN and CAP_NET_ADMIN capabilities. See capabilities(7) for details.
plotnetcfg is lightweight with as few library dependencies as possible. Currently, the only dependencies are libc and libjansson. Optionally, it can be statically linked against the latter which allows the plotnetcfg binary to be copied to a target machine and run there (provided it has the same or newer version of glibc as plotnetcfg was compiled against).
See EXAMPLES for typical plotnetcfg usage.
Display network configuration of the local machine:
Save network configuration to a file for later analysis:
Create PDF with network configuration of a remote machine:
plotnetcfg was written and is maintained by Jiri Benc <jbenc@redhat.com>.
9 April 2015 |