Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page How to Identify IP belongs to which network?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 05-23-2008   #1 (permalink)
shorye
Just Joined!
 
Join Date: Apr 2008
Posts: 19
How to Identify IP belongs to which network?

Hi All,

I have a list of network in following format

10.150.24.0/23
10.156.54.0/25
10.151.106.0/23
10.151.254.0/24
10.151.0.0/16

and I have list of IP addresses belong to these networks, but now I want to know which IP belongs to which network ?

Is there any way so that I can identify that ?

Please help, thanks in advance
shorye is offline   Reply With Quote
Old 05-23-2008   #2 (permalink)
dxqcanada
Linux Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Posts: 132
If you have mastered TCP/IP v4 then you could calculate the address range yourself ... but since you are asking I am assuming not.

There is a Linux utility called ipcalc that can you that for you ... or there are online IP Calculators ... example -> Online IP Subnet Calculator
__________________

Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.

Winston Churchill


... then the Unix-Gods created "man" ...
dxqcanada is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 11:00 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0