04 Try it yourself Interactive

Watch the best match get overwritten

The same four rows as section 02, in the same scrambled order, and four destinations that make the rule bite at four different depths. 8.8.8.8 matches nothing but the default. 172.16.9.7 reaches the /16. 172.16.5.10 reaches the /24 and stops. 172.16.5.130 matches all four. Every step shows the AND worked in binary for the row under examination, and the best match so far is on screen the whole time, so you can watch it get overwritten and, more usefully, watch a row match and fail to overwrite it. Nothing plays on its own: Next, Back and Reset, or the arrow keys.

destination 8.8.8.8
no rows examined yet
Amber is the row being examined right now. Green is the best match so far. Rose is a row that matched and lost on length. Grey is a row that did not match at all, or has not been looked at yet.
Press Next to begin. Each press examines one row.


      
Rows examined0
Rows that matched0
Best prefix length
Rows still to check4
step 0 / 0