ramd.conf.4 (2010 09)
r
ramd.conf(4) ramd.conf(4)
handles the redirect message only when the
redirect configuration statement is specified in the
/etc/ramd.conf
configuration file.
The
redirect configuration statement does not prevent the system from sending redirects, but only
from listening to them.
The syntax of the
redirect configuration statement is:
redirect {
[preference preference-value
;]
[
interface list-of-interfaces [
noredirect];]
[
trustedgateway
gateway-list ;]
};
where the following means:
preference preference-value
;
Specifies the preference value for the redirect routes. By default, preference value is 30.
interface list-of-interfaces
Specifies the list of interfaces through which
ramd receives the redirect message.
noredirect
Specifies ramd to ignore the redirect message received through this interface.
trustedgateway gateway-list ;
Specifies the list of gateways from which RAMD has to accept redirect message. If this configuration
statement is specified, RAMD ignores the redirect message from a gateway which is not specified in
this list of gateways. By default, RAMD accepts redirect message from all the directly connected
gateways on the shared network.
Martians Configuration Statement
Martians configuration statement specifies a list of invalid addresses and all routing information from
these addresses is ignored. A misconfigured system sends out invalid destination addresses. These
invalid addresses are called martians. The
ramd daemon rejects these invalid addresses.
The syntax of the
martians configuration statement is:
martians {
[host host-address [allow];]
[prefix prefixlength [allow];]
[default [allow];]
};
This configuration statement allows additions to the list of martian addresses. See the section Route
Filter Configuration Statement below for more information on specifying ranges. Specify the allow
option to explicitly allow a subset of a range that was disallowed. The configuration file accepts only one
martians configuration statement.
Route Filter Configuration Statement
The route filter configuration statement specifies a method to group list of network and host addresses.
The RAMD configuration file configures route filtering.
A route_filter definition can have multiple hosts and prefixes listed.
This route filter can be specified in
export and import configuration statements and are referred by
names.
The syntax of the
route_filter configuration statement is:
route_filter filter-name {
[prefix prefixlength;]
[host host-address ;]
[all;]
};
where the following means:
filter-name Specifies the unique name of the filter. filter-name must be a string and the length must not
exceed 32 characters.
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5