So I have two IP addresses - one is on my network settings and is 192.168.0.X. Another one - I checked this address online - is 108.X.X.X. What's the difference between these two IP addresses? Does it have something to do with local vs internet IP addresses? Can someone please explain these two concepts?


The 108.x.x.x is the IP address that the rest of the internet sees. The 192.168.0.x is the internal IP assigned to a particular host in your own network, typically from your router.

Lets say you have 5 computers all on one router. When they connect to the internet, they all look like 108.x.x.x.

When the server responds, and returns the message to the router, the router determines which internal IP that the message was intended for. This is called Network address translation

  • so the internal address is the address that goes and then for the next machine hooked up, etc, while the public IP address remains the same for ALL machines connected in a network? – Macosx Iam Sep 26 '12 at 0:51
  • Actually is not a valid IP. Usually, is reserved for the router's internal IP. Anything after that, up to 254, is fair game :) Do not choose any addresses that end with ".0" or ".255" - these addresses are generally reserved for use by network protocols. You may want to read up on subnets for a better understanding of the topic – Tadgh Sep 26 '12 at 0:57
  • @MacosxIam would be the network address itself. The first used IP address would be .1 (often for the router itself). The public IP address would be the same for all machines on that network IF they all use that NAT router to route their traffic to the external network (usually the case). – Bruno Sep 26 '12 at 0:58
  • so the last three digits are assigned randomly, correct? It's not like one machine is .2, the next is .3, then .4? – Macosx Iam Sep 26 '12 at 0:59
  • 1
    Just for the sake of accuracy, is a perfectly valid and usable IP address, as is – Marcks Thomas Nov 10 '12 at 23:15

192.168.** is an IP assigned to the machine from a Router.

108.*** is an external IP.

See http://en.wikipedia.org/wiki/Domain_Name_System

  • That's a bit misleading. Whether an IP address is public or private has nothing to do with the fact it's assigned by a router (or its DHCP server, to be precise). Some DHCP servers (or routers if they're on the same box) can assign public IP addresses to some devices (typically done by ISPs). In addition, this has nothing to do with DNS. – Bruno Sep 26 '12 at 0:52

You are correct, one is your local IP address(assigned to you by your router) and one is your public Internet IP address (Actually the IP Address of your router).

You internet service provider(ISP) assigns your router the 108.x.x.x IP address and that is how all computers connected (either wired or wirelessly) to your router connect to the internet. All of your traffic goes through your router before going to the internet and vice versa. Your router assigns all the devices connected to it an internal IP address( and handles routing all traffic to the computer it needs to go to (which is where it gets its name from).


192.168.x.x is an IP address used on a private network. There are 3 reserved ranges of addresses for private networks, and this is one of them (there are other reserved ranges for other purposes). These IP addresses are meant not to be routed directly outside a local network (e.g. within the home/institution).

108.x.x.x would be a public IP address, routable from anywhere on the public internet.

Most modern routers that are in between the internet and a private network can convert the traffic from an private IP address (and vice versa) using Network Address Translation (NAT). Other methods for being able to access machines outside a private network include using a proxy server with an interface on both networks.

  • Also, as I understand, there are three classes for private networks (A,B and C). But then what did the CDIR do (which got rid of those classes)? – Macosx Iam Sep 26 '12 at 0:56
  • The classes themselves are not really relevant, except if you have a larger networks to administer (or if you need to make multiple private networks co-exist via VPNs for example). You can choose to use what you like for a private network, but few people need 16 million addresses, even on a corporate LAN. It's handy if some of your machines need to be on multiple networks, e.g. for your normal LAN and for multiple VMs on the same machine. – Bruno Sep 26 '12 at 1:02
  • wait, I thought networks usually signify the 10.x.x, and the last eight bits (reading from left to right) are reserved for hosts. – Macosx Iam Sep 26 '12 at 1:12
  • 1
    What's after the slash defines the number of bits that define the network range. For example, using, you keep 24 bits (so the first 3 numbers), so the addresses are from to (although those two addresses at the end are not used for machines: one is the network address, the other is the broadcast address). Although the entire range is reserved for private networks as a whole, as a network admin, you can choose to sub-divide it for your internal routers, e.g. for the accounting department, and for another dept – Bruno Sep 26 '12 at 1:22

Public IP address is an unique address assigned by Internet Service Provider.

Private IP addresses are provided by network devices, such as routers, using network address translation. Private IP addresses can only be guaranteed unique to an internal network.

Public address is like house(assume apartment) number provided by local government. Private address is like flat number which is assigned by apartment in-charge.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy