I found a nice little script that prints an ASCII network diagram of your routing table. I had to snap it
The snap uses ip
to get the information it needs, and I think network-observe
sounds like a good one to grant for that. It’s not that user friendly to ask the user to connect these interfaces after install time so I ask if network-observe
could be auto connected for the snap graphpath
?
- https://github.com/ocochard/graphpath
- https://github.com/nsg/snap-graphpath
- https://build.snapcraft.io/user/nsg/snap-graphpath
- Install graphpath on Linux | Snap Store
$ graphpath 10.194.34.141 10.90.0.216
+----------------------------+
| SOURCE |
| IP: 10.194.34.141 |
| ARP: 9c:67:b1:0b:fd:6b |
+----------------------------+
|
+----------------------------+
| IF: lxdbr0 |
| MAC: ea:0e:96:0e:11:74 |
| IP: 10.194.34.1 |
| net: 10.194.34.0/24 |
| |
| THIS ROUTER |
| |
| net: default |
| IP: 192.168.1.167 |
| MAC: 97:12:14:4e:36:41 |
| IF: eno1 |
+----------------------------+
|
+----------------------------+
| ROUTER |
| IP: 192.168.1.1 |
| ARP: 34:c3:7f:53:4d:95 |
+----------------------------+
|
+----------------------------+
| DESTINATION |
| IP: 10.90.0.216 |
+----------------------------+