Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a list of IP addresses, and I want to know how to filter mobile / smart phone IPs from the list...any suggestions?

share|improve this question

closed as off topic by Michael Hampton, mdpc, Dave M, Khaled, MadHatter Mar 8 '13 at 22:11

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Hard to get what you want... the best guess you may have is through the MAC Address. Just the IP won't give you any clue... –  fboaventura Mar 8 '13 at 3:26
    
If this is in relation to a website, the User-Agent: header would be a better way to detect mobile phones. –  Ladadadada Mar 8 '13 at 7:15

1 Answer 1

You can't. Even if you had a list of IP addresses and corresponding MACs you can't.

Probably the only thing you can do is, if they are public IP addresses, and you have good knowledge of all the carriers networks, is take a best guess based on the known 3G/4G ranges of each ISP.

For example, if I see a 1.0.0.0/8 IP address (which my phone often gets), chances are it's a smartphone on the Optus network.

But without that inside knowledge, you can't even begin to take a guess.

share|improve this answer
1  
In addition to that, I can use tethering to have my computer use my phone's 3G connection or have my phone connect to the wifi, giving it the same IP address as my computer(s). –  Ladadadada Mar 8 '13 at 7:12
    
Nope. If you are anywhere else, you won't see the 10.0.0.0/8 network at all, it is a range for private use. If you know the public addresses the mobile providers use to NAT their phones, you might get something. But e.g. my phone normally connects via WiFi, same as my notebook. And both are NATed by my ISP the same way. I also use my phone via tethering to use it as a "network card". And there are 3G dongles... –  vonbrand Mar 8 '13 at 12:35
1  
@von - if you look closely you will see I wrote 1.0.0.0 - not 10.0.0.0 –  Mark Henderson Mar 8 '13 at 21:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.