Professional Documents
Culture Documents
Lab 2
NETWORK IP ADDRESSES
Ipv4
INTRODUCTION
The Internet Protocol (IP) is the network layer protocol of the TCP/IP protocol suite.
IP allows the applications running above the transport layer (UDP/TCP) to use a wide
range of heterogeneous datalink layers. IP was designed when most point-to-point
links were telephone lines with modems. Since then, IP has been able to use Local
Area Networks (Ethernet, Token Ring, FDDI, ...), new wide area data link layer
technologies (X.25, ATM, Frame Relay, ...) and more recently wireless networks
(802.11, 802.15, UMTS, GPRS, ...). The flexibility of IP and its ability to use various
types of underlying data link layer technologies is one of its key advantages.
IP version 4 is the data plane protocol of the network layer in the TCP/IP protocol
suite. The design of IP version 4 was based on the following assumptions :
IP should provide an unreliable connectionless service (TCP provides reliability
when required by the application)
IP operates with the datagram transmission mode
IP addresses have a fixed size of 32 bits
IP must be usable above different types of datalink layers
IP hosts exchange variable length packets
The addresses are an important part of any network layer protocol. In the late 1970s,
the developers of IPv4 designed IPv4 for a research network that would interconnect
some research labs and universities. For this utilisation, 32 bits wide addresses were
much larger than the expected number of hosts on the network. Furthermore, 32 bits
was a nice address size for software-based routers. None of the developers of IPv4
were expecting that IPv4 would become as widely used as it is today.
- 1.2.3.4 corresponds to 00000001000000100000001100000100
- 127.0.0.1 corresponds to 01111111000000000000000000000001
- 255.255.255.255 corresponds to 11111111111111111111111111111111
Class
High-order bits
Length of subnet
id
Number of
networks
Addresses per
network
128
16,777,216 (2^24)
10
16
16385
65,536 (2^16)
110
24
2097152
256(2^8)
255.255.240.000
150.215.017.009
150.215.016.000
11111111.11111111.11110000.00000000
10010110.11010111.00010001.00001001
10010110.11010111.00010000.00000000