Dear monks,
I need to create a tool which will get, as an input, IP prefixes from a routing table, like this:
10.1.1.0/24
10.1.0.0/16
10.1.2.0/24
10.1.0.0/20
10.1.1.1/32
10.224.224.0/23
And find prefixes which are related and print the longest one (not the most specific as router do).
I tried many modules but failed to do that.
Regards,
Adi.