IP Addressing
• Internet Protocol (IP)
• A unique indentifier for a host, or node, on an
IP network
• 32-bit binary number, usually expressed as 4
“dotted decimal” values.
• Each decimal value represents 8 bits, in the range of 0 to 255
Example
140.179.220.200
140
Written in binary form:
.179
.220
.200
10001100.10110011.11011100.11001000
We see the address in the decimal form
Your computer sees it in the binary form
Binary Octet:
• An octet is made up of eight “1”s and “0”s, representing the following values:
128 64
32 16 8
4
2 1
• So the value of 140 (the first octet of our example) looks like this:
1
0
0
0
1
1
0 0
Binary Octet:
1
0
128 + 0 +
0
0
0+ 0+
1
1
0 0
8 + 4 + 0 + 0= 140
Address Classes
• There are 5 different …show more content…
• Your computer performs a bitwise logical AND operation between the address and …show more content…
0.0.0.89
Why Do We Care!?
• You can manipulate your subnet mask in order to create more network addresses. Why?
• If you have a Class C network, how many individual Host addresses can you have?
– 1 to 254
– Remember, you can’t have all “0”s and all “1”s in the host portion of the address.
– So we cannot use 206.25.143.0 (all “0”s) or
206.25.143.255 (all “1”s) as ahost address.
Why Do We Care!?
• So we have 1 Class C Network (206.15.143.0)
• And we have 254 host address (1 to 254)
• But what if our LAN has 5 networks in it and each network has no more than 30 hosts on it?
• Do we apply for 4 more Class C licenses, so we have one for each network?
• We would be wasting 224 addresses on each network, a total of 1120 addresses!
Subnetting
• Subnetting is a way of taking an existing class licence and breaking it down to create more
Network Addresses.
• This will always reduce the number of host addresses for a given network.
• Subnetting makes more efficient use of the address or addresses assigned to you.
How Does Subnetting Work?
• Additional bits can be added (changed from 0 to 1) to the subnet mask to further subnet, or breakdown, a network. • When the logical AND is done by the computer,