background image
398 Chapter 11: Remote Access
First, it is important to talk about the basic mechanics of IP unnumbered. For any point-to-point
serial link or point-to-point subinterface, IP unnumbered lets you borrow the address of a LAN
interface to use as a source address for routing updates and packets from that interface. In
Figure 11-7, a ping is sent from Host Nick to Host Erik. On Cisco Router A, every IP network
interface not residing on a common "wire" must belong to a unique subnet. Based on network
information contained in the IP routing table on Router A, the network 1.1.1.0 is not directly
attached to Router A. It can be reached by forwarding a packet to a next-hop address obtained
from the IP routing table--in this case, 1.1.1.1.
Figure 11-7
IP Unnumbered
Figure 11-7 assumes that there is a routing protocol between the two routers. When the final
destination network is on an interface directly attached to the destination Router B, the packet
can simply be delivered to the end host Erik.
Let's take a look at what happens under the hood. Router B receives an update from Router A.
Normally Router B would use the source address of the routing update as the next hop, because
it is directly connected to the router sending the update. In this case, Router A has borrowed
2.2.2.1 as its address for the source update. Instead of simply entering a next-hop address based
on the source address of the update, Router B enters the IP routes learned on the IP unnumbered
interface into the routing table as interface routes:
Router A#
SH IP ROUTE
Network 2.2.2.0 learned via Interface S0
The invalid next-hop address is bypassed in favor of interface S0, from which you received the
update. Because of this, IP unnumbered only makes sense for point-to-point links. The
attraction is saving subnet addresses.
Host Nick
2.2.2.2
Network 2.2.2.0
Router A
2.2.2.1
e/0
S0
Host Erik
1.1.1.2
Network 1.1.1.0
Router B
1.1.1.1
e/0
S0
IP unnumbered E0
87200333.book Page 398 Wednesday, August 22, 2001 2:53 PM