Valid Host IP Address?
nonregister
Registered Users Posts: 1 ■□□□□□□□□□
in CCNA & CCENT
Hi there. Rookie here, just wondering how to know if an IP Address is a valid Host Address or not, and why they are valid (or invalid).
I have a list of IP Addresses with different Subnet Masks that I've turned both into binary and found the Network and Broadcast Addresses as well (with the binary conversions next to them)
---
127.1.0.10 /24
Binary: 11100000.00001010.00000001.00001011 (127.1.0.10)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11100000.00001010.00000001.00000000 (127.1.0.0)
Broadc: 11100000.00001010.00000001.11111111 (127.1.0.255)
Valid Host Address?:
172.16.255.0 /16
Binary: 10101100.00010000.11111111.00000000 (172.16.255.0)
Subnet: 11111111.11111111.00000000.00000000 (255.255.0.0)
Netwrk: 10101100.00010000.00000000.00000000 (172.16.0.0)
Broadc: 10101100.00010000.11111111.11111111 (172.16.255.255)
Valid Host Address?:
241.19.10.100 /24
Binary: 11110001.00010011.00001010.01100100 (241.19.10.100)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11110001.00010011.00001010.00000000 (241.19.10.0)
Broadc: 11110001.00010011.00001010.11111111 (241.19.10.255)
Valid Host Address?:
192.168.0.254 /24
Binary: 11000000.10101000.00000000.11111110 (192.168.0.254)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11000000.10101000.00000000.00000000 (192.168.0.0)
Broadc: 11000000.10101000.00000000.11111111 (192.168.0.255)
Valid Host Address?:
192.31.7.255 /24
Binary: 11000000.00011111.00000111.11111111 (192.31.7.255)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11000000.00011111.00000111.00000000 (192.31.7.0)
Broadc: 11000000.00011111.00000111.11111111 (192.31.7.255)
Valid Host Address?: No (It's a Broadcast Address)
64.102.255.255 /14
Binary: 01000000.01100110.11111111.11111111 (64.102.255.255)
Subnet: 11111111.11111100.00000000.00000000 (255.252.0.0)
Netwrk: 01000000.01100100.00000000.00000000 (64.100.0.0)
Broadc: 01000000.01100111.11111111.11111111 (64.103.255.255)
Valid Host Address?:
224.0.0.5 /16
Binary: 11100000.00000000.00000000.00000101 (224.0.0.5)
Subnet: 11111111.11111111.00000000.00000000 (255.255.0.0)
Netwrk: 11100000.00000000.00000000.00000000 (224.0.0.0)
Broadc: 11100000.00000000.11111111.11111111 (224.0.255.255)
Valid Host Address?:
10.0.255.255 /8
Binary: 00001010.00000000.11111111.11111111 (10.0.255.255)
Subnet: 11111111.00000000.00000000.00000000 (255.0.0.0)
Netwrk: 00001010.00000000.00000000.00000000 (10.0.0.0)
Broadc: 00001010.11111111.11111111.11111111 (10.255.255.255)
Valid Host Address?:
198.133.219.8 /24
Binary: 11000110.10000101.11011011.00001000 (198.133.219.
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11000110.10000101.11011011.00000000 (198.133.219.0)
Broadc: 11000110.10000101.11011011.11111111 (198.133.219.255)
Valid Host Address?:
---
If someone could explain things for me, it would be much appreciated!
Thankyou
I have a list of IP Addresses with different Subnet Masks that I've turned both into binary and found the Network and Broadcast Addresses as well (with the binary conversions next to them)
---
127.1.0.10 /24
Binary: 11100000.00001010.00000001.00001011 (127.1.0.10)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11100000.00001010.00000001.00000000 (127.1.0.0)
Broadc: 11100000.00001010.00000001.11111111 (127.1.0.255)
Valid Host Address?:
172.16.255.0 /16
Binary: 10101100.00010000.11111111.00000000 (172.16.255.0)
Subnet: 11111111.11111111.00000000.00000000 (255.255.0.0)
Netwrk: 10101100.00010000.00000000.00000000 (172.16.0.0)
Broadc: 10101100.00010000.11111111.11111111 (172.16.255.255)
Valid Host Address?:
241.19.10.100 /24
Binary: 11110001.00010011.00001010.01100100 (241.19.10.100)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11110001.00010011.00001010.00000000 (241.19.10.0)
Broadc: 11110001.00010011.00001010.11111111 (241.19.10.255)
Valid Host Address?:
192.168.0.254 /24
Binary: 11000000.10101000.00000000.11111110 (192.168.0.254)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11000000.10101000.00000000.00000000 (192.168.0.0)
Broadc: 11000000.10101000.00000000.11111111 (192.168.0.255)
Valid Host Address?:
192.31.7.255 /24
Binary: 11000000.00011111.00000111.11111111 (192.31.7.255)
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11000000.00011111.00000111.00000000 (192.31.7.0)
Broadc: 11000000.00011111.00000111.11111111 (192.31.7.255)
Valid Host Address?: No (It's a Broadcast Address)
64.102.255.255 /14
Binary: 01000000.01100110.11111111.11111111 (64.102.255.255)
Subnet: 11111111.11111100.00000000.00000000 (255.252.0.0)
Netwrk: 01000000.01100100.00000000.00000000 (64.100.0.0)
Broadc: 01000000.01100111.11111111.11111111 (64.103.255.255)
Valid Host Address?:
224.0.0.5 /16
Binary: 11100000.00000000.00000000.00000101 (224.0.0.5)
Subnet: 11111111.11111111.00000000.00000000 (255.255.0.0)
Netwrk: 11100000.00000000.00000000.00000000 (224.0.0.0)
Broadc: 11100000.00000000.11111111.11111111 (224.0.255.255)
Valid Host Address?:
10.0.255.255 /8
Binary: 00001010.00000000.11111111.11111111 (10.0.255.255)
Subnet: 11111111.00000000.00000000.00000000 (255.0.0.0)
Netwrk: 00001010.00000000.00000000.00000000 (10.0.0.0)
Broadc: 00001010.11111111.11111111.11111111 (10.255.255.255)
Valid Host Address?:
198.133.219.8 /24
Binary: 11000110.10000101.11011011.00001000 (198.133.219.
Subnet: 11111111.11111111.11111111.00000000 (255.255.255.0)
Netwrk: 11000110.10000101.11011011.00000000 (198.133.219.0)
Broadc: 11000110.10000101.11011011.11111111 (198.133.219.255)
Valid Host Address?:
---
If someone could explain things for me, it would be much appreciated!
Thankyou
Comments
-
pinkiaiii Member Posts: 216its a lot of 0 and 1 to go trough but seems you did your homework on this,and your basically there answering your question.
cant go trough all the examples you gave but took a glance at last one and can see that that address would be valid since it fits in between network address and BR address.in other words if any given ip once you do all conversions belongs to that subnet and its not network or BR address its considered valid,if given address is on another subnet then its invalid.
thus 198.133.219.8 is in range between 198.133.219.0-255 so any address .1 to .254 is valid host address. -
fearlessfreap24 Member Posts: 10 ■□□□□□□□□□Correct me if I'm wrong, but the 224 address and the 127 address are invalid because they are special purpose addresses.
-
GDaines Member Posts: 273 ■■■□□□□□□□nonregister wrote: »Hi there. Rookie here, just wondering how to know if an IP Address is a valid Host Address or not, and why they are valid (or invalid).
I have a list of IP Addresses with different Subnet Masks that I've turned both into binary and found the Network and Broadcast Addresses as well (with the binary conversions next to them)
If someone could explain things for me, it would be much appreciated!
127.1.0.10 /24 is a loopback address or localhost so not valid.
172.16.255.0 /16 is a valid private class B address.
241.19.10.100 /24 is a reserved class E address so not valid.
192.168.0.254 /24 is a valid private class C address.
192.31.7.255 /24 is the broadcast address so not valid.
64.102.255.255 /14 is a valid public (internet-facing) class A address.
224.0.0.5 /16 is reserved for multicast so not valid.
10.0.255.255 /8 is a valid private class A address.
198.133.219.8 /24 is a valid public (internet-facing) class C address.fearlessfreap24 wrote: »Correct me if I'm wrong, but the 224 address and the 127 address are invalid because they are special purpose addresses.
Correct...