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
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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 could allow up to for ranges of Private IP's to communicate, such as -
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  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.
Not sure what your first question is exactly could you clarify?

But as for "Also Iwan to know what the other attributes are Subnet mask, Default Gate way, Preferred DNS, Alternate DNS" I'll do my best

Subnet Mask: This basically tells your computer what group of IP address your computer is a part of... means your computers is on a group that ranges from to

Default Gately: Is usually a router that is specified  that your Computer needs to communicate through to get to any other netword or subnet.

Preffered DNS server: Is the address of a server your computer will communicate with to convert a URL (web address) to a number (IP address) so your computer can understand (Computers understand numbers and need web address converted)

Alternate DNS server: Is just another server that you computer will try to contact if the Preffered DNS server can't help you

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
you can use another class of IP Addresses. however it seems the gateway addr 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 & 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 ( if you want
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.