Documente Academic
Documente Profesional
Documente Cultură
Indias No.1
Computer Hardware & Networking Institute
Project name
IP
Address
Prepared by
Avik Ghosh
Module 3rd
Batch No:- CW070107
Roll No:- CW1213-0073
December 2013
Jetking
Indias No.1
Computer Hardware & Networking Institute
Certificate
This is to certify that Mr.Avik
Has successfully completed project
IP Address
Signature
CenterManager
Signature
Project guide
Bonafide Certificate
Signature
Center Manager
Signature
Project guide
Acknowledgement
Youre sincerely
Avik Ghosh
IP address
IP versions
Two versions of the Internet Protocol (IP) are in use: IP Version 4 and IP
Version 6. Each version defines an IP address differently. Because of its
prevalence, the generic term IP address typically still refers to the addresses
defined by IPv4. The gap in version sequence between IPv4 and IPv6
resulted from the assignment of number 5 to the experimental Internet
Stream Protocol in 1979, which however was never referred to as IPv5.
IPv4 addresses
assignments and
fine-grained subnetwork design. The first three bits of
the most significant octet of an IP
address were defined as the class of
the address. Three classes (A, B, and C) were defined for universal unicast
addressing. Depending on the class derived, the network identification was
based on octet boundary segments of the entire address. Each class used
successively
additional octets in the network identifier, thus reducing the
possible number of hosts in the higher order classes (B and C). The following
table gives an overview of this now obsolete system.
Historical classful network architecture
Leading
Class
bits
Size of
network
Size of
rest
Number
Address
es
number bit
field
bit field
of
networ
ks
per
network
A
0
Start
addres
s
24
128 (27)
16,777,21
6 (224)
0.0.0.0
65,536
(216)
B
10
16
16
16,384
(214)
110
24
2,097,15
2 (221)
256 (28)
128.0.0.
0
192.0.0.
0
End
addre
ss
127.25
5.255.
255
191.25
5.255.
255
223.25
5.255.
255
Classful network design served its purpose in the startup stage of the
Internet, but it lacked scalability in the face of the rapid expansion of the
network in the 1990s. The class system of
the address space was
replaced with Classless Inter-Domain Routing (CIDR) in 1993. CIDR is based
on variable-length subnet masking (VLSM) to allow allocation and routing
based on arbitrary-length prefixes.
Today, remnants of classful network concepts function only in a limited
scope as the default configuration parameters of some network software and
hardware components (e.g. netmask), and in the technical jargon used in
network administrators' discussions.
IPv4 private addresses
Early network design, when global end-to-end connectivity was envisioned
for communications with all Internet hosts, intended that IP addresses be
24-bit
block
(/8
prefix,
1 A)
20-bit
block
(/12
prefix,
16
B)
16-bit
block
(/16
prefix,
256
C)
Start
End
No. of
addres
ses
10.0.0.0
10.255.255.
255
167772
16
172.16.0 172.31.255.
.0
255
104857
6
192.168. 192.168.255
0.0
.255
65536
Any user may use any of the reserved blocks. Typically, a network
administrator will divide a block into subnets; for example, many home
routers automatically use a default address range
of 192.168.0.0 through
192.168.0.255 (192.168.0.0/24).
IPv4 address exhaustion
IPv4 address exhaustion is the decreasing supply of unallocated Internet
Protocol Version 4 (IPv4) addresses available at the Internet Assigned
Numbers Authority (IANA) and the regional Internet registries (RIRs) for
assignment to end users and local Internet registries, such as Internet
service providers. IANA's primary address pool was exhausted on 3 February
2011,
when the last 5 blocks were allocated to the 5 RIRs. [5][6] APNIC was
the first RIR to exhaust its regional pool on 15 April 2011, except for a small
amount of address space reserved for the transition to IPv6, intended to be
allocated in a restricted process.[7]
IPv6 addresses
The primary intent of the new design is not to provide just a sufficient
quantity of addresses,
but rather to allow an efficient aggregation of
subnetwork routing prefixes at routing nodes. As
a result, routing table
sizes are smaller, and the smallest possible individual allocation is a
subnet for 264 hosts, which is the square of the size of the entire IPv4
Internet. At these levels, actual address utilization rates will be small on any
IPv6 network segment. The new design also provides the opportunity to
separate the addressing infrastructure of a network segment, that
is the
local administration of the segment's available space, from the addressing
prefix used to route external traffic for a network. IPv6 has facilities that
automatically change the routing prefix of entire networks, should the
global connectivity or the routing policy change, without requiring internal
redesign or manual renumbering.
The large number of IPv6 addresses allows large blocks to be assigned for
specific purposes and, where appropriate, to be aggregated for efficient
routing. With a large address space, there is not the need to have complex
address conservation methods as used in CIDR.
Many modern desktop and enterprise server operating systems include
native support for the IPv6 protocol, but it is not yet widely deployed in
other devices, such as home networking routers, voice over IP (VoIP) and
multimedia equipment, and network peripherals.
IPv6 private addresses
Just as IPv4 reserves addresses for private or internal networks, blocks of
addresses are set
aside in IPv6 for private addresses. In IPv6, these are
referred to as unique local addresses (ULA). RFC 4193 sets aside the routing
prefix fc00::/7 for this block which is divided into two /8 blocks with different
implied policies. The addresses include a 40-bit pseudorandom number that
minimizes the risk of address collisions if sites merge or packets are
misrouted.[8]
Early designs used a different block for this purpose (fec0::), dubbed sitelocal addresses.[9] However, the definition of what constituted sites remained
unclear and the poorly defined addressing policy created ambiguities for
routing. This address range specification was abandoned and must not be
used in new systems.[10]
Addresses starting with fe80:, called link-local addresses, are assigned to
interfaces for communication on the link only. The addresses are
automatically generated by the operating system for each network interface.
This provides instant and automatic network connectivity
for any IPv6
host and means that if several hosts connect to a common hub or switch,
they have a communication path via their link-local IPv6 address. This
feature is used in the lower layers
of IPv6 network administration (e.g.
Neighbor Discovery Protocol).
These addresses are only valid on the link, such as a local network segment
or point-to-point connection, that a host is connected to. These addresses
are not routable and like private addresses cannot be the source or
destination of packets traversing the Internet.
When the link-local IPv4 address block was reserved, no standards existed
for mechanisms of address autoconfiguration. Filling the void, Microsoft
created an implementation that is called Automatic Private IP Addressing
(APIPA). Due to Microsoft's market power, APIPA has been deployed on
millions of machines and has, thus, become a de facto standard in the
industry. Many years later, the IETF defined a formal standard for this
functionality, RFC 3927, entitled Dynamic Configuration of IPv4 Link-Local
Addresses.
Uses of static addressing
Some infrastructure situations have to use static addressing, such as when
finding the Domain Name System (DNS) host that will translate domain
names to IP addresses. Static addresses are also convenient, but not
absolutely necessary, to locate servers inside an enterprise. An address
obtained from a DNS server comes with a time to live, or caching time, after
which it should be looked up to confirm that it has not changed. Even static
IP addresses do change as a result of network administration (RFC 2072).
IP addressing
There are four forms of IP addressing, each with its own unique
properties.
Unicast: The most common concept of an IP address is in unicast
addressing, available in both IPv4 and IPv6. It normally refers to a single
sender or a single receiver, and can be used for both sending and receiving.
Usually, a unicast address is associated with a single device or host, but it
is not a one-to-one correspondence. Some individual PCs have several
distinct unicast addresses, each for its own distinct purpose. Sending the
same data to multiple unicast addresses requires the sender to send all the
data many times over, once for each recipient.
Modifications to IP
addressing
IP blocking and firewalls
Firewalls perform Internet Protocol blocking to protect networks from
unauthorized access. They are common on today [update]'s Internet. They
control access to networks based on the IP address of a client computer.
Whether using a blacklist or a whitelist, the IP address that is blocked is the
perceived IP address of the client, meaning that if the client is using a proxy
server or network address translation, blocking one IP address may block
many individual computers.
IP address translation
Multiple client devices can appear to share IP addresses: either because they
are part of a shared hosting web server environment or because an IPv4
network address translator (NAT) or proxy server acts as an intermediary
agent on behalf of its customers, in which case the real originating IP
addresses might be hidden from the server receiving a request. A common
practice is to have a NAT hide a large number of IP addresses in a private
network. Only the "outside" interface(s) of the NAT need to have Internetroutable addresses.[12]
Most commonly, the NAT device maps TCP or UDP port numbers on the side
of the larger, public network to individual private addresses on the
masqueraded network.
In small home networks, NAT functions are usually implemented in a
residential gateway device, typically one marketed as a "router". In this
scenario, the computers connected to the router would have private IP
addresses and the router would have a public address to communicate on
the Internet. This type of router allows several computers to share one public
IP address.
Diagnostic tools
Computer operating systems provide various diagnostic tools to examine
their network interface and address configuration. Windows provides the
command-line interface tools ipconfig and netsh and users of Unix-like
systems can use ifconfig, netstat, route, lanstat, fstat, or iproute2 utilities to
accomplish the task.