ramd.conf.4 (2010 09)

r
ramd.conf(4) ramd.conf(4)
prefix prefixlength ;
prefix specifies the destination network address, and prefixlength specifies the valid number
of bits in the destination network address.
host host-address ;
Specifies the host to configure and the destination host address.
all; Specifies to filter all the valid IPv6 address.
Static Configuration Statement
The static configuration statement defines the static routes that are added to the kernel routing table,
when
ramd starts. The configuration statement accepts multiple static routes. Dynamic routes with
better preference can override static routes.
The syntax of the
static configuration statement is:
static (host host-address|default|net
prefix prefixlen prefixlength)
(
gateway address|interface interface-name)
[
metric metricvalue]
[retain]
[preference preference-value]
;
where the following means:
host Specifies that the type of route is a host route.
default Specifies that the static route prefix is 0 and the prefix length is 0.
net Specifies that the type of route is a network route.
prefix Specified the destination network address.
prefixlen Specifies the valid number of bits in the network address. For a net route, the value is
between 1 and 127.
gateway Specifies that the gateway address can be used to reach the host or network. Alterna-
tively, the interface name can be specified using the interface option. A gateway address
or an interface name must be specified.
interface Specifies the name of the interface through which the static route is reachable.
metric Specifies the metric with which the route is added to the kernel. If the next hop is not
directly reachable, the metric value must be greater than 1.
retain Specifies that ramd does not delete this route when ramd exits.
preference Specifies the preference of this route. This overrides the global preference of static
routes. The default preference is the value specified in the preference configuration
statement.
Import Configuration Statement
The import configuration statement control importing of routes from the routing protocols and installing
them in the RAMD routing database and kernel routing table. The import configuration statement
specifies whether to update the kernel routing table or not for a protocol. By default,
ramd installs
static, ripng, and bgp routes in the kernel routing table.
The syntax of the
import configuration statement is:
import (static|ripng|bgp|all)
[route-filter-name (allow|restrict)];
where the following means:
static Installs static routes in the kernel routing table.
ripng Installs RIPng routes in the kernel routing table.
bgp Installs BGP routes in the kernel routing table.
all Install static, RIPng and BGP routes in the kernel routing table.
route-filter-name Specifies the route filter associated with this import policy.
allow Specifies that these routes provided in the route filter must be installed in the routing
table.
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: September 2010