HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)

2 Configuring mrouted
This chapter describes how to configure mrouted and the various configuration commands in
mrouted. It also provides information on starting and verifying the mrouted installation. A
description of the mrouted routing tables is also provided, along with the various multicast routing
support tools. This chapter discusses the following topics:
“How to Configure mrouted” (page 14)
“Starting mrouted” (page 16)
“Verifying mrouted Operation” (page 16)
“Displaying mrouted Routing Tables” (page 17)
“Multicast Routing Support Tools” (page 18)
How to Configure mrouted
When the mrouted daemon starts, it automatically reads the default configuration file
/etc/mrouted.conf. You can override the default configuration file by specifying an alternate
file while invoking mrouted. See “Starting mrouted” (page 16) for more information. If you change
the /etc/mrouted.conf file while mrouted is running, issue the following command to reread
the configuration file:
kill -HUP
By default, mrouted automatically configures itself to forward on all multicast-capable interfaces,
excluding the loopback interface that has the IFF_MULTICAST flag set. Therefore, you do not
need to explicitly configure mrouted, unless you need to configure tunnel links, change the default
operating parameters, or disable multicast routing over a specific physical interface.
Configuration Commands
You can define the configuration commands in the /etc/mrouted.conf configuration file.
mrouted supports five configuration commands: phyint, tunnel, cache_lifetime, pruning,
and name. One or more options are associated with each command.
The syntax of each command is as follows:
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
phyint
You can use the phyint command to disable multicast routing on the physical interface identified
by the local IP address, local-addr (see Figure 3), or to associate a nondefault metric or
threshold with the specified physical interface. Alternatively, you can replace the local IP address,
local-addr, with 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).
tunnel
You can use the tunnel command to establish a tunnel link between the local IP address,
local-addr, and the remote IP address, remote-addr (see Figure 3). You can also use this
command to associate a nondefault metric or threshold value with the tunnel. You can replace
the local IP address, local-addr, with the interface name, such as lan0. Similarly, you can
14 Configuring mrouted