Understanding Private IP’s

sadiq Ribadu asked 2 years ago

Hello y'all, am a first timer and i would love to learn and acquire as much as i can in this forum the main reason for joining basically.

Anyway, i want to ask few questions about "IP's" to broaden my understanding, and i would want to get the needed help from in here.

I understand that we have classes of IP's and the class of ip's have private ip used in each class. eg

class A - 10.0.0.0 -10.255.255.255

class B - 172.16.0.0 - 172.31.255.255

class C - 192.168.0.0 -192.168.255.255.

So now, what i really want to understand is how you configure devices on your network to have and make use of the private ip's . obviously static ip's are used mainly with public ip's and have to be configured manually (right?). correct me if am wrong, are private ip's configured through DHCP (right ?)

1 Answers
Shnerdly Staff answered 2 years ago

If you use a broadband Internet connection, you almost certainly use a Router to share the Internet among multiple computers and other devices.

The router accesses the Internet by way of your single external IP address. The router uses whatever subnet you choose to assign Internal IP's to the local computers. Most Routers use the Class C network with DHCP enabled by default but usually use a Subnet Mask of 255.255.255.0 which only allows for a maximum of 256 IP's instead of the 65,536 IP's the class C network allows. DHCP is not required on a private network but it makes things easier for most people.

Static IP's are used in the private IP ranges to allow consistent access to things like printers or file servers on the network. You can also use "sticky" IP's on a local network which are assigned by the DHCP server based on the MAC address of the device.

The reason these ranges are reserved for private use is so you won't have IP conflicts with things on the Internet. For example, when you access a website such as whatismyip.com, your request is sent to a DNS server which translates the URL to an IP address which is then located on the Internet. If you didn't use the reserved private IP address on your LAN, you might find a website that has the same IP as one of your computer causing a network conflict.

Know the answer? Login or sign up for an account to answer this question.
Sign Up