25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

outers. Without this facility, a separate BOOTP server is required on each<br />

subnet (refer to 3.6, “Bootstrap Protocol (BOOTP)” on page 125).<br />

► Network-directed broadcast address: This is used in an unsubnetted<br />

environment. The network number is a valid network number <strong>and</strong> the host<br />

number is all ones (for example, 128.2.255.255). This address refers to all<br />

hosts on the specified network. Routers should forward these broadcast<br />

messages. This is used in ARP requests (refer to 3.4, “Address Resolution<br />

Protocol (ARP)” on page 119) on unsubnetted networks.<br />

► Subnet-directed broadcast address: If the network number is a valid network<br />

number, the subnet number is a valid subnet number, <strong>and</strong> the host number is<br />

all ones, the address refers to all hosts on the specified subnet. Because the<br />

sender's subnet <strong>and</strong> the target subnet might have a different subnet mask,<br />

the sender must somehow determine the subnet mask in use at the target.<br />

The broadcast is performed by the router that receives the datagram into the<br />

subnet.<br />

► All-subnets-directed broadcast address: If the network number is a valid<br />

network number, the network is subnetted, <strong>and</strong> the local part is all ones (for<br />

example, 128.2.255.255), the address refers to all hosts on all subnets in the<br />

specified network. In principle, routers can propagate broadcasts for all<br />

subnets but are not required to do so. In practice, they do not. There are very<br />

few circumstances where such a broadcast is desirable. If misconfigured, it<br />

can lead to problems. Consider the misconfigured host 9.180.214.114 in a<br />

subnetted Class A network. If the device was configured with the address<br />

9.255.255.255 as a local broadcast address instead of 9.180.214.255, all of<br />

the routers in the network will forward the request to all clients.<br />

If routers do respect all-subnets-directed broadcast address, they use an<br />

algorithm called reverse path forwarding to prevent the broadcast messages<br />

from multiplying out of control. See RFC 922 for more details about this<br />

algorithm.<br />

Multicasting<br />

If an <strong>IP</strong> datagram is broadcast to a subnet, it is received by every host on the<br />

subnet. Each host processes the packet to determine if the target protocol is<br />

active. If it is not active, the <strong>IP</strong> datagram is discarded. Multicasting avoids this by<br />

selecting destination groups.<br />

Each group is represented by a Class D <strong>IP</strong> address. For each multicast address,<br />

a set of zero or more hosts are listening for packets addressed to the address.<br />

This set of hosts is called the host group. Packets sent to a multicast address are<br />

forwarded only to the members of the corresponding host group. Multicast<br />

enables one-to-many connections (refer to Chapter 6, “<strong>IP</strong> multicast” on<br />

page 237).<br />

Chapter 3. Internetworking protocols 85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!