I've done something similar with MSSQL 2000, but the SQL code should be similar. Try this, it'll list all the ipaddress but the duplicates will be at the top of the list.
SELECT ip_address, count(ip_address) FROM table_name GROUP BY ip_address ORDER BY count(ip_address) desc
You should get a listing similar to this:
10.1.1.1 2
10.1.1.2 2
10.1.1.3 1
First column is the ip address, second column is the number of times it appears.
Hope this helps.