Sample Multicast Router Configurations

# 6.6 Sample Configurations

## 6.6.4 Sample Multicast Router Configurations

As with unicast routing protocols, there are a number of multicast routing protocols, each with its own advantages and disadvantages. In this GateD, there will be support for:

- Multicast Group protocols such IGMP

- Intra-Domain Protocols such as

> PIM - both PIM-DM and PIM-SM

> > DVMRP

> > CBT

- Inter-Domain Protocol Support for

> Route passage to support Reverse Path Multicast calculation

> > Inter-Domain Tree building

This set of multicast configuration demonstrate how GateD configure within a routing domain:

1. IGMP only
2. IGMP and DVMRP
3. IGMP and PIM-SM
4. IGMP and PIM-DM
5. IGMP, CBT

##

## IGMP only

#### 1) default setting for IGMP

        #
        igmp yes;

#### 2) IGMP default setting and tracing code

        #
        igmp yes {
    	traceoptions "/auto/var/mcast.log" replace mtrace;
        } ;

####

#### 3) IGMP set only some of the interfaces

If you are running PIM in the presence of tunneled DVMRP and the gated multicast kernel then PIM will try to run over the tunnel pseudo interfaces. They should be disabled as follows:

        #
        igmp yes {
    	      interface le0 diable;
    	      interface qe0 enable;
    	      interface qe1 enable;
    	      interface qe2 disable;
    	      interface qe3 disable;
    	      };

##

## IGMP and DVMRP

#### 1) Turn IGMP and DVMRP on on all interfaces

#

# IGMP is set on

#

> igmp yes;

> dvmrp yes {

interface all enable;

};

#### 2) Turn IGMP and DVMRP on only two interfaces

> igmp yes {

> > interface le0 enable;

> interface le1 enable;

> > };

> dvmrp yes {

> interface le0 enable;

> interface le1 enable;

> };

#### 3) Turn Add a Network Advertisement to the Above

> igmp yes {

> > interface le0 enable;

> > interface le1 enable;

> > };

> dvmrp yes {

> interface le0 enable;

> interface le1 enable advertise 192.16.5 masklen 27 metric 10;

> };

#### 4) Use a tunnel

> igmp yes {

> > interface le0 enable;

> > interface le1 enable;

> > };

> dvmrp yes {

> interface le0 enable;

> tunnel 192.5.8.6 lcladdr 192.5.8.7 enable;

> };

Please note that the tunnel format may change in the future to more closely integrate the

tunnel functions into the interface clause.

## IGMP and PIM-SM

#### A) Turn IGMP and PIM-SM on all interfaces

> #

> # IGMP is set on

> #

> igmp yes;

> #

> # by default all interfaces listen to PIM packets

> pim yes;

> pim-sm

> yes {

component "sm0" {

interface all enable crp;

};

};

#### B) Turn on IGMP and PIM-SM on some interfaces

> # IGMP is set on

> #

> igmp yes {

> > interface le0 enabled;

> > };

> #

> # by default all interfaces listen to PIM packets

> pim yes;

> pim-sm yes {

> traceoptions "pimsm.trace" replace state detail packets;

component "sm0" {

interface ppp0 disable;

interface le0 bootstrap 1 crp hello interval 30;

};

component "sm1" {

interface le1 enable crp;

};

};

## IGMP and PIM-DM

#

# IGMP is set on

#

> igmp yes;

> pim-dm yes {

component "sm0" {

interface all enable;

};

};

## IGMP and CBT

#

# IGMP is set on

#

> igmp yes;

> cbt yes {

interface all enable;

> traceoptions cbt-trace.log packets ;

> > mfc-timeout 30 ;

> > directroute on

> > group-start-addr 225.6.0.0 group-end-addr 225.6.1.10

> > > core address {

> > > > 192.16.5.1 primary;

> > > > 192.18.2.1 secondary;

> > > > };

> > > > };

> > > > Last updated April 26, 1997 10:36:03