Installing and Administering Internet Services

Chapter 9 309
Configuring mrouted
Configuring mrouted
Configuring mrouted
When the mrouted daemon is started, it automatically reads the default
ASCII text configuration file /etc/mrouted.conf. You can override the
default configuration file by specifying an alternate file when invoking
mrouted; refer to “Starting mrouted” on page 313. If mrouted.conf is
changed while mrouted is running, you can issue the HP-UX command
kill -HUP to signal mrouted to reread the configuration file.
By default, mrouted automatically configures itself to forward on all
multicast-capable interfaces, excluding the loopback “interface,” that
have the IFF_MULTICAST flag set. Therefore, it is not necessary to
explicitly configure mrouted (that is, the mrouted.conf file need not
exist), unless you need to configure tunnel links, change the default
operating parameters, or disable multicast routing over a specific
physical interface.
Configuration File Commands
This section describes the statements that can be defined in the
/etc/mrouted.conf configuration file. mrouted supports five
configuration commands: phyint, tunnel, cache_lifetime, pruning,
and name. Associated with each command are one or more options.
The syntax of each command is shown below.
phyint local-addr [disable] [metric m] [threshold t] [rate_limit b]
[boundary (boundary-name|scoped-addr/mask-len)]
[altnet network/mask-len]
tunnel local-addr remote-addr [metric m] [threshold t] [rate_limit b]
[boundary (boundary-name|scoped-addr/mask-len)]
cache_lifetime ct
pruning off/on
name boundary-name scoped-addr/mask-len
The phyint command can be used to disable multicast routing on the
physical interface identified by local IP address local-addr (see figure
below), or to associate a non-default metric or threshold with the
specified physical interface. The local IP address local-addr may be
alternatively replaced by the interface name, such as lan0. If phyint is
attached to multiple IP subnets, use the altnet option to describe each
additional subnet (one altnet option for each subnet).