mehutch355 wrote: » This is simple subnetting. It looks weird because it is not a class C network which is what most people are used too. The network address will be 10.149.18.0 and the broadcast address will be 10.149.19.255. If you break this up into binary the ip will be: address: 00001010.10010101.00010010.10101011 subnet : 11111111.11111111.11111110.00000000 ^ This is whats called your CIDR line. Now reset the IP address where at the end of the subnet. To do this make all of the bits in the host 0 where the subnet turns to 0 (At your CIDR Line). so your IP address for the host becomes: Address: 00001010.10010101.00010010.00000000 < This is your network address! ^ CIDR Line After you find the network address, do the same thing but make all the 0's after the CIDR line, make all of the bits 1's. Address: 00001010.10010101.00010011.11111111 < This is your broadcast address ^ CIDR Line Now the easy part. Every IP int between your Network Address and your Broadcast address is a usable host IP, unless it is reserved for something else.
Rushlan wrote: » I am new to this, just learned subnetting, please correct me if I made any mistake. So the ip address is 10.149.18.171 and the subnet mask is 255.255.254.0. Set the ip address to 10.149.0.0 ( because the subnet mask is not 255 in the 3rd and 4th octet) Now 256 - 254 = 2 , ( 254 as in the 3rd octet of the subnet mask ) 2 is the increment, so you keep on adding 2 .... 10.149.0.0 10.149.2.0 10.149.4.0 . . . . . . 10.149.18.0 So this is the network address To find the broadcast address , use the formula: (network address) + (255 - subnet mask) On the 3rd octet: 18 + (255 - 254) = 19 On the 4th octet 0 + ( 255 - 0) = 255 So the broadcast address is 10.149.19.255 Host address starts from the network address , in this case 10.149.18.1 and ends at the broadcast address, 10.149.19.254.