To configure a UnixWare® 7 router running gated(1Mtcp) to advertise its routing tables and respond to router discovery solicitation messages, you must specify it as a router discovery server in its /etc/inet/gated.conf file. Include a line such as the following in the protocol definition statements:
routerdiscovery server yes;As described in ``Configuring router discovery using routed'', it may be desirable for a router to specify difference preference values on different routes to avoid inefficient routing.
The following example entries from a router's /etc/inet/gated.conf cause gated to advertise a route with a preference of 10 on the subnet connected to the 172.16.2.1 interface, but not to advertise on the subnet connected to the 172.16.3.1 interface:
routerdiscovery server yes {
address 172.16.2.1 preference 10;
address 172.16.3.1 ignore;
};
To configure a UnixWare 7 non-routing host running
gated to send out router discovery solicitation messages,
include a line such as the following in the protocol definition
statements:
routerdiscovery client yes;After changing the gated.conf file, enter the command gdc reconfig to tell gated to re-read it.
See gated.conf(4tcp) for more information about the configuration of router discovery in gated.