IP ADDRESSING BASICS

Download Report

Transcript IP ADDRESSING BASICS

IP ADDRESSING BASICS
FAHEEM ANWAR
MANAGER NETWORKS ACADEMY
PTCL ACADEMY
IPv4 ADDRESS FORMAT
• An IPv4 address is a 32-bit sequence of 1s and 0s
• To make the IP address easier to use, the address is usually written
as four decimal numbers separated by periods.
• This way of writing the address is called the dotted decimal format
11000000.10101000.00000001.00001000
192 . 168 . 1 . 8
11000000.10101000.00000001.00001001
192 . 168 . 1 . 9
IPv4 ADDRESS CLASSES
IPv4 ADDRESS CLASS RANGES
10.0.0.0
129.10.0.0
192.168.10.0
238.20.10.0
CLASS A
CLASS B
CLASS C
CLASS D
HOSTS & NETWORKS
RESERVED IP ADDRESSES
 Certain host addresses are Reserved and cannot be assigned to
devices on a network
 An IP address that has binary 0s in all host bit positions is
reserved for the network address
An IP address that has binary 1s in all host bit positions is
reserved for the Broadcasting
PUBLIC & PRIVATE IP ADDRESSES
No two machines that connect to a public network can have the same IP
address because public IP addresses are global and standardized
However, private networks that are not connected to the Internet may use
any host addresses, as long as each host within the private network is
unique
Connecting a network using private addresses to the Internet requires
translation of the private addresses to public addresses using Network
Address Translation (NAT)
RFC 1918 sets aside three blocks of IP addresses for private, internal use