Traditionally, IP address lookup has been conducted by longest prefix search or by using expensive hardware. In this article, we apply a set searching process to perform IP address lookup and propose the combined use of hardware and software. Our method enables the search of the network ID of an incoming IP address within a short time at low hardware cost.