Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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

  2. #2
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    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" ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •