Each route prefix supplies the mask used for an exact destination comparison.

highlighted = computed this step

Each prefix supplies a mask

A prefix length becomes a mask, then the destination is ANDed with that mask.

/25/25
Mask each prefixThe destination is masked against every pinned route prefix.Longest prefix match - destination 192.168.1.130, winner 192.168.1.128/25 -> labprefixmaskdest & maskmatchnext hopwinner192.168.0.0/16255.255.0.0192.168.0.0yescoreno192.168.1.0/24255.255.255.0192.168.1.0yesfloor-1no192.168.1.128/25255.255.255.128192.168.1.128yeslabyes0.0.0.0/00.0.0.00.0.0.0yesdefaultno

The lab row keeps more bits

The narrow row has prefix length 25, so its mask keeps more leading address bits.

/25/25
Mask each prefixThe destination is masked against every pinned route prefix.Longest prefix match - destination 192.168.1.130, winner 192.168.1.128/25 -> labprefixmaskdest & maskmatchnext hopwinner192.168.0.0/16255.255.0.0192.168.0.0yescoreno192.168.1.0/24255.255.255.0192.168.1.0yesfloor-1no192.168.1.128/25255.255.255.128192.168.1.128yeslabyes0.0.0.0/00.0.0.00.0.0.0yesdefaultno

Destination AND mask gives a network

For that narrow row, destination AND mask gives 192.168.1.128.

dstmask=192.168.1.128\text{dst}\land\text{mask}=192.168.1.128
Mask each prefixThe destination is masked against every pinned route prefix.Longest prefix match - destination 192.168.1.130, winner 192.168.1.128/25 -> labprefixmaskdest & maskmatchnext hopwinner192.168.0.0/16255.255.0.0192.168.0.0yescoreno192.168.1.0/24255.255.255.0192.168.1.0yesfloor-1no192.168.1.128/25255.255.255.128192.168.1.128yeslabyes0.0.0.0/00.0.0.00.0.0.0yesdefaultno

Summary

A row matches only when the masked destination equals that row's network.

prefix length=25\text{prefix length}=25
Mask each prefixThe destination is masked against every pinned route prefix.Longest prefix match - destination 192.168.1.130, winner 192.168.1.128/25 -> labprefixmaskdest & maskmatchnext hopwinner192.168.0.0/16255.255.0.0192.168.0.0yescoreno192.168.1.0/24255.255.255.0192.168.1.0yesfloor-1no192.168.1.128/25255.255.255.128192.168.1.128yeslabyes0.0.0.0/00.0.0.00.0.0.0yesdefaultno