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.

3.4.3 ARP <strong>and</strong> subnets<br />

The ARP protocol remains unchanged in the presence of subnets. Remember<br />

that each <strong>IP</strong> datagram first goes through the <strong>IP</strong> routing algorithm. This algorithm<br />

selects the hardware device driver that should send out the packet. Only then,<br />

the ARP module associated with that device driver is consulted.<br />

3.4.4 Proxy-ARP or transparent subnetting<br />

Proxy-ARP is described in RFC 1027, which is a subset of the method proposed<br />

in RFC 925. It is another method to construct local subnets, without the need for<br />

a modification to the <strong>IP</strong> routing algorithm, but with modifications to the routers<br />

that interconnect the subnets.<br />

Proxy-ARP concept<br />

Consider one <strong>IP</strong> network that is divided into subnets <strong>and</strong> interconnected by<br />

routers. We use the “old” <strong>IP</strong> routing algorithm, which means that no host knows<br />

about the existence of multiple physical networks. Consider hosts A <strong>and</strong> B, which<br />

are on different physical networks within the same <strong>IP</strong> network, <strong>and</strong> a router R<br />

between the two subnetworks as illustrated in Figure 3-41.<br />

A<br />

R<br />

B<br />

Figure 3-41 ARP: Hosts interconnected by a router<br />

When host A wants to send an <strong>IP</strong> datagram to host B, it first has to determine the<br />

physical network address of host B through the use of the ARP protocol.<br />

Because host A cannot differentiate between the physical networks, its <strong>IP</strong> routing<br />

algorithm thinks that host B is on the local physical network <strong>and</strong> sends out a<br />

broadcast ARP request. Host B does not receive this broadcast, but router R<br />

does. Router R underst<strong>and</strong>s subnets, that is, it runs the subnet version of the <strong>IP</strong><br />

routing algorithm <strong>and</strong> it will be able to see that the destination of the ARP request<br />

(from the target protocol address field) is on another physical network. If router<br />

R's routing tables specify that the next hop to that other network is through a<br />

Chapter 3. Internetworking protocols 123

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

Saved successfully!

Ooh no, something went wrong!