IP Address
IP Address
Solution
We replace each group of 8 bits with its equivalent decimal
number and add dots for separation:
a. 129.11.11.239
b. 249.155.251.15
Example 2
Change the following IP addresses from dotted-decimal notation to
binary notation.
a. 111.56.45.78
b. 75.45.34.78
Solution
We replace each decimal number with its binary equivalent
(see Appendix B):
Static IP address
◦ manually input by network administrator.
◦ manageable for small networks.
◦ requires careful checks to avoid
duplication.
Types of IP address
Dynamic IP address
examples - BOOTP, DHCP
◦ Assigned by server when host boots
◦ Derived automatically from a range of
addresses
◦ Duration of ‘lease’ negotiated, then address
released back to server
Subnetting
Dividing the network into several smaller
groups (subnets) with each group having its
own subnet IP address.
Site looks to rest of internet like single
network and routers outside the organization
route the packet based on the main Network
address.
Local routers route within subnetted
network using subnet address.
Subnetting
Host portion of address partitioned into subnet
number (most significant part) and host number
(least significant part)
In this case, IP address will have 3 levels
(Main network, subnet, host)
Subnet mask is a 32-bit consists of zeros and ones
that indicates which bits of the IP address are
subnet number and which are host number
Subnet mask when AND ed with the IP address
it gives the subnetwork address
Masking.
Masking is a process that extracts the address
of the physical network from an IP address.
Boundary level masking: Here the mask
numbers are either 255 or 0, finding the
subnetwork address is very easy.
Non-boundary level masking.
If mask numbers are not just 255 or 0,
finding the subnetwork address involves
using the bitwise A N D operators
Supernetting:
• Supernetting combines several networks into
one lager one (Because of Address reduction)
IP Network Addressing
INTERNET world’s largest public data
network, doubling in size every nine months
IPv4, defines a 32-bit address - 232
(4,294,967,296) IPv4 addresses available
The first problem is concerned with the
eventual depletion of the IP address space.
Traditional model of classful addressing does not
allow the address space to be used to its
maximum potential.
ClassfulAddressing
When IP was first standardized in Sep 1981,
each system attached to the IP based Internet
had to be assigned a unique 32-bit address
The 32-bit IP addressing scheme involves a
two level addressing hierarchy
3FFE:85B:1F1F::A9:1234
IPSec support is
Inbuilt IPSec support.
only optional.
Fragmentation is done by
Fragmentation is done only
sender and forwarding
by sender.
routers.
Packet flow identification is
available within the IPv6 header
No packet flow identification.
using the Flow Label field.