Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "IP"

From NetSec
Jump to: navigation, search
(References)
 
(will have to cleanup later)
Line 1: Line 1:
=IP address=
+
An '''IP address''' is 32 bits, or four bytes.  Because the highest value a [[byte|Byte]] can be is 255 and the lowest is 0, this is the range of any "octet".  Because an IP address contains four bytes, there are four octets in an ip address.  The '0' value is reserved for the network, and the '255' value is reserved for what is called a broadcast.  That means that IP addresses will typically not end in 0 or 255, because those numbers are reserved for other things.   
 
+
==Size==
+
An IP address is 32 bits, or four bytes.  Because the highest value a [[byte|Byte]] can be is 255 and the lowest is 0, this is the range of any "octet".  Because an IP address contains four bytes, there are four octets in an ip address.  The '0' value is reserved for the network, and the '255' value is reserved for what is called a broadcast.  That means that IP addresses will typically not end in 0 or 255, because those numbers are reserved for other things.   
+
  
 
==Reserved Address Space & RFC 3330==
 
==Reserved Address Space & RFC 3330==

Revision as of 04:51, 8 May 2012

An IP address is 32 bits, or four bytes. Because the highest value a Byte can be is 255 and the lowest is 0, this is the range of any "octet". Because an IP address contains four bytes, there are four octets in an ip address. The '0' value is reserved for the network, and the '255' value is reserved for what is called a broadcast. That means that IP addresses will typically not end in 0 or 255, because those numbers are reserved for other things.

Reserved Address Space & RFC 3330

127.0.0.0/8 - This is reserved in RFC 1700 and RFC 3330 for the local host. If you ever do anything to an IP address starting in 127, you will be performing these actions to your local machine.

192.168.0.0/16 - This is reserved in RFC 1918 for the local network. If you come across this type of IP address, it is not a machine out there on the internet, but one likely in your own house or another computer at the coffee shop you're hanging out in.

172.16.0.0/12 - This is reserved in RFC 1918 for the same as above

10.0.0.0/8 - Same as above

169.254.0.0/16 - This is a zeroconfig link-local address. Computers will automatically use an address in this block when they are set to use DHCP, yet there is no DHCP server on the network. This is defined in RFC 3927.

Obtaining Your IP Address

On Linux & Mac systems you can type :

 ifconfig|grep inet

On windows, you can type :

 ipconfig /all

Alternatively, you can visit what is my ip?

Related Terms

 CIDR
 IPv6