I am looking at ip.ipRouteTable.ipRouteEntry (on a Cisco router), and I am wondering what I should be looking at to detect subnets with a common base address.
I see X.Y.Z.0/29 and X.Y.Z.8/29 clearly in the ipRouteEntry data, but I do not see how the larger route for X.Y.Z.0/24 is represented?
There is only one possible entry for ip.ipRouteTable.ipRouteEntry.ipRouteNextHop.X.Y.Z.0 in the table structure for example. I see that the ipRouteNextHop there is the router interface IP within X.Y.Z.0/29 so maybe some kind of "loopback" is going on, but I don't see quite how that would work when it came to deciding how to route X.Y.Z.0/29 itself ?