0% found this document useful (0 votes)
40 views

Public IP Address and Private IP

IP addresses are used to identify computers in a network. Private IP addresses, like 192.168.0.*, are used within a local network and connected to the internet via a router's public IP address. Users can determine their private IP address through commands like ipconfig for Windows or ifconfig for Linux in a terminal.

Uploaded by

Rocky
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Public IP Address and Private IP

IP addresses are used to identify computers in a network. Private IP addresses, like 192.168.0.*, are used within a local network and connected to the internet via a router's public IP address. Users can determine their private IP address through commands like ipconfig for Windows or ifconfig for Linux in a terminal.

Uploaded by

Rocky
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Public IP Address and Private IP

IP address (Internet Protocol) is a numerical identification to detect your computer in a network. It is


used to communicate between nodes in a computer network.
When you connect to the Internet through an ADSL modem, it has two network interfaces:

A private interface, used to network computers connected to the router; their IP address is
typically in the range 192.168.0.* or 192.168.1.*, the router will connect to the gateway with an IP
address in the range of 192.168.0.1 or 192.168.1.1. A command via the computer will allow you
to determine the private IP address that has been assigned to your router.

Otherwise, simply log onto specialized sites to access this particular information.

Determine your private IP Address


Command for Windows 2000 / XP / Vista

Go to Start Menu and select Run. Then, type the following command:

cmd /k ipconfig /all

Your IP address will be displayed in an open window after a few seconds.

Command for Windows 95/98

Go to Start Menu and select Run. Type the following command:

winipcfg

Command for Linux

Type this command in a console as root:

ifconfig

in a console as user

/sbin/ifconfig

You might also like