In the context of IP routing, a prefix is the portion of an IP address that indicates the network to which it belongs. The ‘longest prefix’ refers to the routing table entry that has the most number of leading bits in common with the destination IP address.