IP Addressing (IPv4)
NETWORK ADDRESS | HOST ADDRESS |
10000000 | 00000010 | 00000111 | 00001001 |
ALL BITS ZERO (0): This address is used for "Bootstrapping" purposes, i.e. when a host is trying to determine its IP address from a remote server.
ALL BITS ONE (1): This address is used for "Broadcasting" purposes, i.e. when a host wants to contact all the hosts/networks.
The majority of IP addresses refer to a single recipient: these are called unicast addresses.
However, there are two special types of IP address, which are used for addressing multiple recipients: broadcast addresses and multicast addresses. These addresses are used for sending messages to multiple recipients.
Any protocol, which is connectionless, may send broadcast or multicast messages as well as unicast messages.
A protocol that is connection-oriented can only use unicast addresses because the connection exists between a specific pair of hosts.
There are a number of addresses, which are used for IP broadcasting: all use the convention that "all-bits 1" indicates "all." Broadcast addresses are never valid as source addresses, only as destination addresses.
Broadcasting has a major disadvantage: its lack of selectivity. If an IP datagram is broadcast to a subnet, every host on the subnet will receive it, and have to process it to determine whether the target protocol is active. If it is not, the IP datagram is discarded. Multicasting avoids this overhead by using groups of IP addresses.
REFERENCES:
Maintained by Mohan Atreya , Last update April 8, 1999 First created on November 10, 1998 |