0

I'm new to networking. I know that some IPs don't have a sub net mask like 127.0.0.1 and the range that starts with 127. I wanted to know if there is any other IPs that don't have sub net mask.

2

IP addresses don't have subnet masks. Networks do. For the loopback address, the entire /8 is reserved, so it's 127.0.0.0/8 or 255.0.0.0.

| improve this answer | |
  • So the IPs that have 127 as their first octet, have netmask too? For example for 127.0.25.1, the netmask is 255.0.0.0? – Pablo Jun 12 at 19:45
  • @Pablo The reserved loopback is 127.0.0.0/8, so you can use any address from 127.0.0.1 to 127.255.255.254. – Zac67 Jun 12 at 19:49
  • 1
    The loopback address is a special reserved case (See RFC 1122). – Ron Trunk Jun 12 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.