Professional Documents
Culture Documents
By
Ahsan Wajahat
INTERNET PROTOCOL
IP Address is a unique identification given to Host, network device or server
for data communication or data transfer. IP Address stand for Internet
Protocol address, it is an addressing scheme used to identify a system on a
network. It is a unique address that certain electronic devices currently use to
communicate with each other on a network using internet protocol.
INTERNET PROTOCOL
The devices which use TCP/IP protocol stack and use internet protocol on
Network/Internet layer will use IP address for their unique identification in the
network.
IP address is used to connect one machine with another machine for various
purposes i.e to transfer files or email, availing various services (web, ftp,
DHCP and many more) within the LAN or over the internet.
INTERNET PROTOCOL
IPv4 addresses 32 bit addresses (divided into 4 octets) OR IPv6 are used
by the Internet Protocol (OSI Layer 3) for delivering packet to a device
located in same or remote network.
MAC address (Hardware address) is a globally unique address which
represents the network card and cannot be changed.
IP Address Structure
IP address refers to a logical address, which is a configurable address used
to identify which network this host belongs to and also a network specific
host number.
In other words, an IPv4 address consists of two parts, a network part and a
host part, which is distinguishable from the subnet mask.
IP Address Structure
IP addresses are stored internally as binary numbers but they are
represented in decimal numbers because of simplicity.
An example of IP address is 192.168.10.100,
which is actually 11000000.10101000.00001010.01100100.
IP Address Structure
For each network, one address is used to represent the network and one
address is used for broadcast.
Network address is an IP address with all host bits zeros
"0". Broadcast address is an IP address with all host bits ones "1".
INTERNET PROTOCOL
The first IP address of the network is the network
address and the last IP address is the broadcast address.
You cannot configure these addresses for your devices.
Allthe usable IP addresses in any IP network are
between network address and broadcast address.
INTERNET PROTOCOL
We can use the following equation for finding the
number of usable IP addresses in a network (we have
to use two IP addresses in each network to represent
the network id and the broadcast id).
Each class consists a contiguous subset of the overall IPv4 address range.
IP Class
Class
Range
Address Range Supports
Supports 16 million hosts on each of 127
Class A 1.0.0.0 to 126.255.255.255
networks.
224.0.0.0 to
Class D Reserved for multicast groups.
239.255.255.255
240.0.0.0 to Reserved for future use, or Research and
Class E
254.255.255.254 Development Purposes.
IP Class Range
Class Leading Size of network Size of Number of Address
bits number bit field host bit host per
field network
A 0 8 24 128 16,777,216
(27) (224)
B 10 16 16 16384 65536
(214) (216)
C 110 24 8 20,97,152 256
(221) (28)
IP Address Class D and Multicast
A 10.0.0.0 10.255.255.255
B 172.16.0.0 172.31.255.255
C 192.168.0.0 192.168.255.255
Private address range
Default Getaway
In computer networking, a default gateway is the device that passes traffic
from the local subnet to devices on other subnets.
The default gateway often connects a local network to the Internet,
although internal gateways for local networks also exist.
Subnet Mask
IP address is a combination of IP address and Subnet mask and the purpose of
subnet mask is to identify which part of an IP address is the network part and
which part is the host part.
Subnet mask is also a 32 bit number where all the bits of the network part are
represented as "1" and all the bits of the host part are represented as "0".
IP Assignment Methods
• We can assign IP address on a computer by using two ways:
– Static
– Dynamic
• Static IP addresses are manually assigned by an administrator.
• Dynamic IP addresses are assigned automatically by another computer interface
or network device (DHCP) or by the host software itself (APIPA).
What Is an IP Address Conflict?