-
Notifications
You must be signed in to change notification settings - Fork 5
Feature request: report all IP addresses associated with an interface, not just one #20
Comments
Yeah, this is a great idea. |
Closed in 22dc776 @siebenmann If you find the time I'd love to hear if this works from your point of view. Currently each address will be printed on a separate line, but I may change this to a comma separated list. You'll have to |
Some notes:
My usage case is that I don't necessarily remember or care what a system's interface(s) are called, but I would like to get a list of all of its IP addresses, possibly with some information about which interfaces they're attached to. So I imagine perhaps output like this:
(-A for 'all addresses', '-4' for 'restricted to IPv4 addresses'. If IPv6 addresses were included, they might be a separate line for each interface or added to the end of the line.) For all-address mode and IPv6 addresses, you might want to default to excluding link-local fe80::/10 addresses, since otherwise all up interfaces will have an IPv6 address even if it's not particularly useful. |
Agreed. Your suggestions for listing all IP addresses are good, and I definitely think worthwhile to have included. I'm not sure yet what this will look like. I'm going to open new issues for each of these and start working on them. Thanks again @siebenmann! |
On machines with multiple IP address aliases associated with a single interface, it would be quite nice if trawl had an option to report all of them. At least on Linux there is no current convenient, compact way to report this information, and trawl is already reporting so much other useful stuff in one place. As far as I can tell trawl already obtains all of the IP addresses for each interface (cf issue #19), it just doesn't report them (or record them).
The text was updated successfully, but these errors were encountered: