Configuring mrouted

How to Configure mrouted

You can use the phyint command to disable multicast routing on the physical interface identified by the local IP address, local-addr(see Figure 2-1), 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 2-1). 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 replace the remote IP address, remote-addr, by a host name, but only if the host name has a single IP address associated with it. Before you can use a tunnel, it must be set up in the mrouted configuration files of both the mrouted routers participating in the tunnel. mrouted 3.8 does not support the srcrt option. (It provided backward compatibility with older versions of mrouted that implemented IP multicast datagram encapsulation using IP source routing.)

32

Chapter 2