Public IP and Private IP

hi,

In this post i would like to give a small intro about public and private ip addresses.  most people use to start with ip address have different classes and blah… blah.. blah…. in this post i would like to give it in a nontechnical term.

Private IP Address:

Private IP address is a address which is used by computers which are connected in a LAN(Local Area Network). using these kind of address you cannot able to communicate with outer world. It means private ip address cannot be accessed for other computers which are not connected in your LAN.  if you want to know your private ip address

Windows xp, 2003, vista users: click start and type cmd in run (or) press win+r (press both wondows key and r). this will open terminal windows or command window Type ipconfig and press enter it will print your ipaddress in command window.

windows 7 users: click start and type cmd in the search bar available in start menu. Type cmd and wait untill search shows cmd in the start menu. then right click on the cmd and select run as administrator.  and type ipconfig and press enter it will print your ipaddress in command window.

Linux, unix and mac users: go to terminal and type ifconfig and it will print your ipaddress for distro in linux normal users are not allowed to run ifconfig in such case type sudo ifconfig

Public IP Address:

Public IP Address are mostly used in routers or modems. IT means if u have internet connected in your office or home you will have your Public IP address in the modem or router which u use to connect to the internet. (technically routers have two interfaces one it to connect to your computer or LAN and another is to connect to internet or WAN). if you want to know yout public ip address open internet explorer or firefox or any internet browser and  visit http://network-tools.com/ it will show your public ip address.

Permanent link to this article: https://blog.openshell.in/2011/01/public-ip-and-private-ip/

Leave a Reply

Your email address will not be published.