Link to home
Start Free TrialLog in
Avatar of agcps
agcps

asked on

what is difference between Public IP and Private IP

Dear EE,

I'm aware that public IP is used to connect to the internet world and private IP are used within our local LAN so that its protected from external world.
I have 3 systems in LAN, as I want to use for internal purpose I should use private IP, but as i took internet connection he has given me IP and I m using those. (They are class c Private IP's. Can I use class A private IP's.)
Also Iwan to know what the other attributes are Subnet mask, Default Gate way, Preferred DNS, Alternate DNS
desktop-IP-config.bmp
Avatar of MPCP-Brian
MPCP-Brian
Flag of United States of America image

You are correct about the Public IP address linking the internet portion to the local. No, unless you have multiple public address's (rare) you should stick to private IP's locally.
The subnet mask can be changed and there are many settings for many reasons. One is to allow multiple Private IP ranges to communicate. One example is a subnet mask of 255.255.252.0 could allow up to for ranges of Private IP's to communicate, such as 192.168.1.0 - 192.168.4.0
The DNS settings are Domain Name Systems. The address you point to here(must be valid) says that the target address can convert address's like www.google.com to thier relative Public IP address, ex 10.1.2.3  An alternate can be used if you are running through a Server, you can set the Primary as the Server so it will look locally first, then to the alternative.
Hope this helps!  - It is a deep subject, I just touched the surface...
Wikipedia for the different entries can help you learn more of the capabilities of each piece and how they relate...
I would go in to more detail but sites like Wikipedia can show you in far more depth and with examples etc.
ASKER CERTIFIED SOLUTION
Avatar of boat_anker
boat_anker
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you can use another class of IP Addresses. however it seems the gateway addr 192.168.1.1 provided to you is pointing to some device the ISP installed at your premises. would require details of how you are setup i.e. whether its a direct Lan cable/ Phone cable or something else. Try opening http://192.168.1.1 & check whether a page or login screen is displayed. if yes..you are probably using a router ...then you might need to verify with the router vendor supports changing of IP address pool...
You can use Class A private network (10.0.0.1) if you want