Difference between revisions of "Private - Public IP Addresses"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
Line 2: Line 2:
  
  
Private IP addresses are usable only within the network they exist in. They are typically class C addresses, such as 192.168.x.x. These addresses are assigned to specific devices on a network, and the router routes traffic to it (if applicable). Most often, these addresses are assigned by the router using [[DHCP]].
+
Private IP addresses are usable only within the network they exist in. They are typically class C addresses, such as 192.168.x.x. These addresses are assigned to specific devices on a network, and the router routes traffic to it (if applicable). Most often, these addresses are assigned by the router using [[DHCP]] and an address can only be used with one device.
  
Public IP addresses are assigned by an ISP (typically) and apply to an entire LAN. This is the address that other devices on the internet see and communicate with. Data is transferred to specific devices from the Internet using NAT and port forwarding.
 
  
Currently, most devices use the IPv4 standard but many are moving towards [[IP6 vs IP4|IPv6]].
+
Public IP addresses are assigned by an ISP (typically) and apply to an entire LAN. This is the address that other devices on the internet see and communicate with. Data is transferred to specific devices from the Internet using [[Network Address Translation|NAT]] and [[Port Forwarding|port forwarding]]. NAT occurs 'automatically' while ports can be denoted with a colon after the IP address (e.g. 255.255.255.255:99999).
 +
 
 +
 
 +
Currently, IPv4 is the standard but [[IP6 vs IP4|IPv6]] is becoming more common.

Revision as of 13:34, 28 February 2017

IP addresses (Internet Protocol Addresses) are assigned to every device that is connected to a computer network. They are numeric 'locations' for devices that is used to send data to specific devices.


Private IP addresses are usable only within the network they exist in. They are typically class C addresses, such as 192.168.x.x. These addresses are assigned to specific devices on a network, and the router routes traffic to it (if applicable). Most often, these addresses are assigned by the router using DHCP and an address can only be used with one device.


Public IP addresses are assigned by an ISP (typically) and apply to an entire LAN. This is the address that other devices on the internet see and communicate with. Data is transferred to specific devices from the Internet using NAT and port forwarding. NAT occurs 'automatically' while ports can be denoted with a colon after the IP address (e.g. 255.255.255.255:99999).


Currently, IPv4 is the standard but IPv6 is becoming more common.