Find IP IPv4 Network/Subnet and its host address ranges

What is an IPv4 IP address its network and host address ranges?

An IPv4 IP address is an address used in order to uniquely identify a device on an IP network. The address is made up of 32 binary bits, which can be divisible into a network portion and host portion with the help of a subnet mask. The 32 binary bits are broken into four octets (1 octet = 8 bits). Each octet is converted to decimal and separated by a period (dot).

How to Subnet IPv4? Its simple answer is that subnetting is the process of taking a network and splitting it into smaller networks, known as subnets. It's used to free up more public IPv4 addresses and segment networks for security and easier management.
Following are the ranges of IPv4 subnet/network address and their host addresses.

IPv4 AddressIPv6 Address
202.158.40.1 0:0:0:0:0:ffff:ca9e:2801
202.158.40.2 0:0:0:0:0:ffff:ca9e:2802
202.158.40.3 0:0:0:0:0:ffff:ca9e:2803
202.158.40.4 0:0:0:0:0:ffff:ca9e:2804
202.158.40.5 0:0:0:0:0:ffff:ca9e:2805
202.158.40.6 0:0:0:0:0:ffff:ca9e:2806
202.158.40.7 0:0:0:0:0:ffff:ca9e:2807
202.158.40.8 0:0:0:0:0:ffff:ca9e:2808
202.158.40.9 0:0:0:0:0:ffff:ca9e:2809
202.158.40.10 0:0:0:0:0:ffff:ca9e:280a
202.158.40.11 0:0:0:0:0:ffff:ca9e:280b
202.158.40.12 0:0:0:0:0:ffff:ca9e:280c
202.158.40.13 0:0:0:0:0:ffff:ca9e:280d
202.158.40.14 0:0:0:0:0:ffff:ca9e:280e
202.158.40.15 0:0:0:0:0:ffff:ca9e:280f
202.158.40.16 0:0:0:0:0:ffff:ca9e:2810
202.158.40.17 0:0:0:0:0:ffff:ca9e:2811
202.158.40.18 0:0:0:0:0:ffff:ca9e:2812
202.158.40.19 0:0:0:0:0:ffff:ca9e:2813
202.158.40.20 0:0:0:0:0:ffff:ca9e:2814
202.158.40.21 0:0:0:0:0:ffff:ca9e:2815
202.158.40.22 0:0:0:0:0:ffff:ca9e:2816
202.158.40.23 0:0:0:0:0:ffff:ca9e:2817
202.158.40.24 0:0:0:0:0:ffff:ca9e:2818
202.158.40.25 0:0:0:0:0:ffff:ca9e:2819
202.158.40.26 0:0:0:0:0:ffff:ca9e:281a
202.158.40.27 0:0:0:0:0:ffff:ca9e:281b
202.158.40.28 0:0:0:0:0:ffff:ca9e:281c
202.158.40.29 0:0:0:0:0:ffff:ca9e:281d
202.158.40.30 0:0:0:0:0:ffff:ca9e:281e
202.158.40.31 0:0:0:0:0:ffff:ca9e:281f
202.158.40.32 0:0:0:0:0:ffff:ca9e:2820
202.158.40.33 0:0:0:0:0:ffff:ca9e:2821
202.158.40.34 0:0:0:0:0:ffff:ca9e:2822
202.158.40.35 0:0:0:0:0:ffff:ca9e:2823
202.158.40.36 0:0:0:0:0:ffff:ca9e:2824
202.158.40.37 0:0:0:0:0:ffff:ca9e:2825
202.158.40.38 0:0:0:0:0:ffff:ca9e:2826
202.158.40.39 0:0:0:0:0:ffff:ca9e:2827
202.158.40.40 0:0:0:0:0:ffff:ca9e:2828
202.158.40.41 0:0:0:0:0:ffff:ca9e:2829
202.158.40.42 0:0:0:0:0:ffff:ca9e:282a
202.158.40.43 0:0:0:0:0:ffff:ca9e:282b
202.158.40.44 0:0:0:0:0:ffff:ca9e:282c
202.158.40.45 0:0:0:0:0:ffff:ca9e:282d
202.158.40.46 0:0:0:0:0:ffff:ca9e:282e
202.158.40.47 0:0:0:0:0:ffff:ca9e:282f
202.158.40.48 0:0:0:0:0:ffff:ca9e:2830
202.158.40.49 0:0:0:0:0:ffff:ca9e:2831
202.158.40.50 0:0:0:0:0:ffff:ca9e:2832
202.158.40.51 0:0:0:0:0:ffff:ca9e:2833
202.158.40.52 0:0:0:0:0:ffff:ca9e:2834
202.158.40.53 0:0:0:0:0:ffff:ca9e:2835
202.158.40.54 0:0:0:0:0:ffff:ca9e:2836
202.158.40.55 0:0:0:0:0:ffff:ca9e:2837
202.158.40.56 0:0:0:0:0:ffff:ca9e:2838
202.158.40.57 0:0:0:0:0:ffff:ca9e:2839
202.158.40.58 0:0:0:0:0:ffff:ca9e:283a
202.158.40.59 0:0:0:0:0:ffff:ca9e:283b
202.158.40.60 0:0:0:0:0:ffff:ca9e:283c


202.158.40.61 0:0:0:0:0:ffff:ca9e:283d
202.158.40.62 0:0:0:0:0:ffff:ca9e:283e
202.158.40.63 0:0:0:0:0:ffff:ca9e:283f
202.158.40.64 0:0:0:0:0:ffff:ca9e:2840
202.158.40.65 0:0:0:0:0:ffff:ca9e:2841
202.158.40.66 0:0:0:0:0:ffff:ca9e:2842
202.158.40.67 0:0:0:0:0:ffff:ca9e:2843
202.158.40.68 0:0:0:0:0:ffff:ca9e:2844
202.158.40.69 0:0:0:0:0:ffff:ca9e:2845
202.158.40.70 0:0:0:0:0:ffff:ca9e:2846
202.158.40.71 0:0:0:0:0:ffff:ca9e:2847
202.158.40.72 0:0:0:0:0:ffff:ca9e:2848
202.158.40.73 0:0:0:0:0:ffff:ca9e:2849
202.158.40.74 0:0:0:0:0:ffff:ca9e:284a
202.158.40.75 0:0:0:0:0:ffff:ca9e:284b
202.158.40.76 0:0:0:0:0:ffff:ca9e:284c
202.158.40.77 0:0:0:0:0:ffff:ca9e:284d
202.158.40.78 0:0:0:0:0:ffff:ca9e:284e
202.158.40.79 0:0:0:0:0:ffff:ca9e:284f
202.158.40.80 0:0:0:0:0:ffff:ca9e:2850
202.158.40.81 0:0:0:0:0:ffff:ca9e:2851
202.158.40.82 0:0:0:0:0:ffff:ca9e:2852
202.158.40.83 0:0:0:0:0:ffff:ca9e:2853
202.158.40.84 0:0:0:0:0:ffff:ca9e:2854
202.158.40.85 0:0:0:0:0:ffff:ca9e:2855
202.158.40.86 0:0:0:0:0:ffff:ca9e:2856
202.158.40.87 0:0:0:0:0:ffff:ca9e:2857
202.158.40.88 0:0:0:0:0:ffff:ca9e:2858
202.158.40.89 0:0:0:0:0:ffff:ca9e:2859
202.158.40.90 0:0:0:0:0:ffff:ca9e:285a
202.158.40.91 0:0:0:0:0:ffff:ca9e:285b
202.158.40.92 0:0:0:0:0:ffff:ca9e:285c
202.158.40.93 0:0:0:0:0:ffff:ca9e:285d
202.158.40.94 0:0:0:0:0:ffff:ca9e:285e
202.158.40.95 0:0:0:0:0:ffff:ca9e:285f
202.158.40.96 0:0:0:0:0:ffff:ca9e:2860
202.158.40.97 0:0:0:0:0:ffff:ca9e:2861
202.158.40.98 0:0:0:0:0:ffff:ca9e:2862
202.158.40.99 0:0:0:0:0:ffff:ca9e:2863
202.158.40.100 0:0:0:0:0:ffff:ca9e:2864
202.158.40.101 0:0:0:0:0:ffff:ca9e:2865
202.158.40.102 0:0:0:0:0:ffff:ca9e:2866
202.158.40.103 0:0:0:0:0:ffff:ca9e:2867
202.158.40.104 0:0:0:0:0:ffff:ca9e:2868
202.158.40.105 0:0:0:0:0:ffff:ca9e:2869
202.158.40.106 0:0:0:0:0:ffff:ca9e:286a
202.158.40.107 0:0:0:0:0:ffff:ca9e:286b
202.158.40.108 0:0:0:0:0:ffff:ca9e:286c
202.158.40.109 0:0:0:0:0:ffff:ca9e:286d
202.158.40.110 0:0:0:0:0:ffff:ca9e:286e
202.158.40.111 0:0:0:0:0:ffff:ca9e:286f
202.158.40.112 0:0:0:0:0:ffff:ca9e:2870
202.158.40.113 0:0:0:0:0:ffff:ca9e:2871
202.158.40.114 0:0:0:0:0:ffff:ca9e:2872
202.158.40.115 0:0:0:0:0:ffff:ca9e:2873
202.158.40.116 0:0:0:0:0:ffff:ca9e:2874
202.158.40.117 0:0:0:0:0:ffff:ca9e:2875
202.158.40.118 0:0:0:0:0:ffff:ca9e:2876
202.158.40.119 0:0:0:0:0:ffff:ca9e:2877
202.158.40.120 0:0:0:0:0:ffff:ca9e:2878


202.158.40.121 0:0:0:0:0:ffff:ca9e:2879
202.158.40.122 0:0:0:0:0:ffff:ca9e:287a
202.158.40.123 0:0:0:0:0:ffff:ca9e:287b
202.158.40.124 0:0:0:0:0:ffff:ca9e:287c
202.158.40.125 0:0:0:0:0:ffff:ca9e:287d
202.158.40.126 0:0:0:0:0:ffff:ca9e:287e
202.158.40.127 0:0:0:0:0:ffff:ca9e:287f
202.158.40.128 0:0:0:0:0:ffff:ca9e:2880
202.158.40.129 0:0:0:0:0:ffff:ca9e:2881
202.158.40.130 0:0:0:0:0:ffff:ca9e:2882
202.158.40.131 0:0:0:0:0:ffff:ca9e:2883
202.158.40.132 0:0:0:0:0:ffff:ca9e:2884
202.158.40.133 0:0:0:0:0:ffff:ca9e:2885
202.158.40.134 0:0:0:0:0:ffff:ca9e:2886
202.158.40.135 0:0:0:0:0:ffff:ca9e:2887
202.158.40.136 0:0:0:0:0:ffff:ca9e:2888
202.158.40.137 0:0:0:0:0:ffff:ca9e:2889
202.158.40.138 0:0:0:0:0:ffff:ca9e:288a
202.158.40.139 0:0:0:0:0:ffff:ca9e:288b
202.158.40.140 0:0:0:0:0:ffff:ca9e:288c
202.158.40.141 0:0:0:0:0:ffff:ca9e:288d
202.158.40.142 0:0:0:0:0:ffff:ca9e:288e
202.158.40.143 0:0:0:0:0:ffff:ca9e:288f
202.158.40.144 0:0:0:0:0:ffff:ca9e:2890
202.158.40.145 0:0:0:0:0:ffff:ca9e:2891
202.158.40.146 0:0:0:0:0:ffff:ca9e:2892
202.158.40.147 0:0:0:0:0:ffff:ca9e:2893
202.158.40.148 0:0:0:0:0:ffff:ca9e:2894
202.158.40.149 0:0:0:0:0:ffff:ca9e:2895
202.158.40.150 0:0:0:0:0:ffff:ca9e:2896
202.158.40.151 0:0:0:0:0:ffff:ca9e:2897
202.158.40.152 0:0:0:0:0:ffff:ca9e:2898
202.158.40.153 0:0:0:0:0:ffff:ca9e:2899
202.158.40.154 0:0:0:0:0:ffff:ca9e:289a
202.158.40.155 0:0:0:0:0:ffff:ca9e:289b
202.158.40.156 0:0:0:0:0:ffff:ca9e:289c
202.158.40.157 0:0:0:0:0:ffff:ca9e:289d
202.158.40.158 0:0:0:0:0:ffff:ca9e:289e
202.158.40.159 0:0:0:0:0:ffff:ca9e:289f
202.158.40.160 0:0:0:0:0:ffff:ca9e:28a0
202.158.40.161 0:0:0:0:0:ffff:ca9e:28a1
202.158.40.162 0:0:0:0:0:ffff:ca9e:28a2
202.158.40.163 0:0:0:0:0:ffff:ca9e:28a3
202.158.40.164 0:0:0:0:0:ffff:ca9e:28a4
202.158.40.165 0:0:0:0:0:ffff:ca9e:28a5
202.158.40.166 0:0:0:0:0:ffff:ca9e:28a6
202.158.40.167 0:0:0:0:0:ffff:ca9e:28a7
202.158.40.168 0:0:0:0:0:ffff:ca9e:28a8
202.158.40.169 0:0:0:0:0:ffff:ca9e:28a9
202.158.40.170 0:0:0:0:0:ffff:ca9e:28aa
202.158.40.171 0:0:0:0:0:ffff:ca9e:28ab
202.158.40.172 0:0:0:0:0:ffff:ca9e:28ac
202.158.40.173 0:0:0:0:0:ffff:ca9e:28ad
202.158.40.174 0:0:0:0:0:ffff:ca9e:28ae
202.158.40.175 0:0:0:0:0:ffff:ca9e:28af
202.158.40.176 0:0:0:0:0:ffff:ca9e:28b0
202.158.40.177 0:0:0:0:0:ffff:ca9e:28b1
202.158.40.178 0:0:0:0:0:ffff:ca9e:28b2
202.158.40.179 0:0:0:0:0:ffff:ca9e:28b3
202.158.40.180 0:0:0:0:0:ffff:ca9e:28b4


202.158.40.181 0:0:0:0:0:ffff:ca9e:28b5
202.158.40.182 0:0:0:0:0:ffff:ca9e:28b6
202.158.40.183 0:0:0:0:0:ffff:ca9e:28b7
202.158.40.184 0:0:0:0:0:ffff:ca9e:28b8
202.158.40.185 0:0:0:0:0:ffff:ca9e:28b9
202.158.40.186 0:0:0:0:0:ffff:ca9e:28ba
202.158.40.187 0:0:0:0:0:ffff:ca9e:28bb
202.158.40.188 0:0:0:0:0:ffff:ca9e:28bc
202.158.40.189 0:0:0:0:0:ffff:ca9e:28bd
202.158.40.190 0:0:0:0:0:ffff:ca9e:28be
202.158.40.191 0:0:0:0:0:ffff:ca9e:28bf
202.158.40.192 0:0:0:0:0:ffff:ca9e:28c0
202.158.40.193 0:0:0:0:0:ffff:ca9e:28c1
202.158.40.194 0:0:0:0:0:ffff:ca9e:28c2
202.158.40.195 0:0:0:0:0:ffff:ca9e:28c3
202.158.40.196 0:0:0:0:0:ffff:ca9e:28c4
202.158.40.197 0:0:0:0:0:ffff:ca9e:28c5
202.158.40.198 0:0:0:0:0:ffff:ca9e:28c6
202.158.40.199 0:0:0:0:0:ffff:ca9e:28c7
202.158.40.200 0:0:0:0:0:ffff:ca9e:28c8
202.158.40.201 0:0:0:0:0:ffff:ca9e:28c9
202.158.40.202 0:0:0:0:0:ffff:ca9e:28ca
202.158.40.203 0:0:0:0:0:ffff:ca9e:28cb
202.158.40.204 0:0:0:0:0:ffff:ca9e:28cc
202.158.40.205 0:0:0:0:0:ffff:ca9e:28cd
202.158.40.206 0:0:0:0:0:ffff:ca9e:28ce
202.158.40.207 0:0:0:0:0:ffff:ca9e:28cf
202.158.40.208 0:0:0:0:0:ffff:ca9e:28d0
202.158.40.209 0:0:0:0:0:ffff:ca9e:28d1
202.158.40.210 0:0:0:0:0:ffff:ca9e:28d2
202.158.40.211 0:0:0:0:0:ffff:ca9e:28d3
202.158.40.212 0:0:0:0:0:ffff:ca9e:28d4
202.158.40.213 0:0:0:0:0:ffff:ca9e:28d5
202.158.40.214 0:0:0:0:0:ffff:ca9e:28d6
202.158.40.215 0:0:0:0:0:ffff:ca9e:28d7
202.158.40.216 0:0:0:0:0:ffff:ca9e:28d8
202.158.40.217 0:0:0:0:0:ffff:ca9e:28d9
202.158.40.218 0:0:0:0:0:ffff:ca9e:28da
202.158.40.219 0:0:0:0:0:ffff:ca9e:28db
202.158.40.220 0:0:0:0:0:ffff:ca9e:28dc
202.158.40.221 0:0:0:0:0:ffff:ca9e:28dd
202.158.40.222 0:0:0:0:0:ffff:ca9e:28de
202.158.40.223 0:0:0:0:0:ffff:ca9e:28df
202.158.40.224 0:0:0:0:0:ffff:ca9e:28e0
202.158.40.225 0:0:0:0:0:ffff:ca9e:28e1
202.158.40.226 0:0:0:0:0:ffff:ca9e:28e2
202.158.40.227 0:0:0:0:0:ffff:ca9e:28e3
202.158.40.228 0:0:0:0:0:ffff:ca9e:28e4
202.158.40.229 0:0:0:0:0:ffff:ca9e:28e5
202.158.40.230 0:0:0:0:0:ffff:ca9e:28e6
202.158.40.231 0:0:0:0:0:ffff:ca9e:28e7
202.158.40.232 0:0:0:0:0:ffff:ca9e:28e8
202.158.40.233 0:0:0:0:0:ffff:ca9e:28e9
202.158.40.234 0:0:0:0:0:ffff:ca9e:28ea
202.158.40.235 0:0:0:0:0:ffff:ca9e:28eb
202.158.40.236 0:0:0:0:0:ffff:ca9e:28ec
202.158.40.237 0:0:0:0:0:ffff:ca9e:28ed
202.158.40.238 0:0:0:0:0:ffff:ca9e:28ee
202.158.40.239 0:0:0:0:0:ffff:ca9e:28ef
202.158.40.240 0:0:0:0:0:ffff:ca9e:28f0
202.158.40.241 0:0:0:0:0:ffff:ca9e:28f1
202.158.40.242 0:0:0:0:0:ffff:ca9e:28f2
202.158.40.243 0:0:0:0:0:ffff:ca9e:28f3
202.158.40.244 0:0:0:0:0:ffff:ca9e:28f4
202.158.40.245 0:0:0:0:0:ffff:ca9e:28f5
202.158.40.246 0:0:0:0:0:ffff:ca9e:28f6
202.158.40.247 0:0:0:0:0:ffff:ca9e:28f7
202.158.40.248 0:0:0:0:0:ffff:ca9e:28f8
202.158.40.249 0:0:0:0:0:ffff:ca9e:28f9
202.158.40.250 0:0:0:0:0:ffff:ca9e:28fa
202.158.40.251 0:0:0:0:0:ffff:ca9e:28fb
202.158.40.252 0:0:0:0:0:ffff:ca9e:28fc
202.158.40.253 0:0:0:0:0:ffff:ca9e:28fd
202.158.40.254 0:0:0:0:0:ffff:ca9e:28fe
202.158.40.255 0:0:0:0:0:ffff:ca9e:28ff


How we got IPv4 subnet masks?

An IPv4 subnet mask consists of 32 bits; it is a sequence of ones (1) followed by a block of zeros (0). The ones indicate bits in the address used for the network prefix and the trailing block of zeros designates that part as being the host identifier.