You are on page 1of 13

IP Address

Muhammad Arief
Nugroho,ST.,MT.

Working with IP Addresses

What is an IP Address
32 bit address that used to uniquely
identify host on the network
The Network ID portion of the IP Address
identifies the network where the host
sits
The Host ID portion of the IP Address
uniquely identifies the host on its
network

Working with IP Addresses

Example
IP Address : 10.13.10.204
Subnet mask : 255.255.255.0
Network ID

Host ID

Working with IP Addresses

Example
IP Address : 10.13.10.204
Subnet mask : 255.255.0.0
Network ID

Host ID

Working with IP Addresses

Example
IP Address : 10.13.10.204
Subnet mask : 255.0.0.0
Network ID

Host ID

Simple network

Planning an IP addressing
scheme
How to plan ?
How many IP address do you need
today?
How many IP address will you need in
the future ?
Dealing with a pre-existing IP scheme ?

Rules for IP Addressing

Each of 4 numbers in IP Address is


called an octe (8 bits)
A bit is a 1 or 0
Each octet can only have a number
from 0 to 255
00000000 = 0
11111111 = 255

Rules for IP Addressing

First octet cannot be 127


The 127 range has been reserved for
diagnostics.
127.0.0.1 is known as the loopback
address.

Rules for IP Addressing

The host ID cannot be 0 or 255


All 0s represents the network ID
All 255s is the broadcast address

Example :
10.13.10.0
10.13.10 represent Network ID
10.13.10.255 is the broadcast address for
the 10.13.10.0 network

Rules for IP Addressing

Originally IP Addresses where divided


into different class range :
Class
Class
Class
Class
Class

A : 1 126 255.0.0.0
B : 128 191 255.255.0.0
C : 192 233 255.255.255.0
D : 224 239 Multicast
E : 240 243 Experimental

Private vs Public IP Addressing

Private IP Address which have been


reserved from Public Internet use :
10.0.0.0 10.255.255.255.0
172.16.0.0 172.31.255.255
192.168.0.0 192.168.255.255
169.254.0.0 169.254.254.255

Private vs Public IP Addressing

Host assigned private IP addresses


can get to the Internet through a
technology called Network Address
Translation (NAT)