Configuring gated

Configuring RDP

configured on the physical interface. If advertisements are sent to a net or subnet broadcast, only that network’s or subnet’s address is included in the advertisement.

An example of the routerdiscovery server statement is as follows:

routerdiscovery server yes { interface lan1 lan2 maxadvinterval 5 ;

address 193.2.1.17 193.2.1.33 193.2.1.46 broadcast

preference 50 ;

} ;

In the example, the server is enabled on the physical interfaces lan1 and lan2, and the IP addresses 193.2.1.17, 193.2.1.33, and 193.2.1.46 are included in all the router advertisements. Also, the addresses have a preference of 50.

RDP Client

The RDP client runs on hosts, listening for router advertisements over the all-hosts multicast address 224.0.0.1 (if it supports IP multicasting) or on the physical interface’s broadcast address (if the host does not support multicasting). When a host starts up or is reconfigured, it sends certain router solicitations requesting advertisements. When it sends the solicitations, it sends them to the all-routers multicast address

224.0.0.2or to the interface’s broadcast address (if multicasting is not

supported).

When the RDP client receives a router advertisement, the host installs a default route to each of the addresses listed in the advertisement. If the advertisement has a preference of ineligible (that is, the addresses in the advertisement are not eligible to be the default route for any hosts), or if the addresses are not on an attached physical interface, the route is marked as unusable but is still retained. If the preference is usable, then that route is among the routes considered. The route with the highest preference is used. If more than one route with the same preference is received, the one with the lowest IP address is used. The default routes are not exportable to other protocols.

If an RDP client receives a router advertisement with a zero lifetime (that is, the addresses in the advertisement are no longer valid), the host deletes all the routes with next-hop addresses learned from that router.

88

Chapter 3