6.6 Sample Configurations

6.6.4 Sample Multicast Router Configurations

Table of Contents

1) IGMP and DVMRPv3
Simple IGMP and DVMRP Configuration with passive interfaces.
2) Sample PIM-SMv2 over RIP
Sample use of PIM-SM over RIP;
3) IGMP only
Sample use of PIM-SM over RIP;
4) PIM-DM over OSPF
Sample use of PIM-DM over OSPF;
5) IGMP and CBT
CBT has not been fully integrated into the GateD library. At the time of this manual release, we did not have CBT configuration. We expect CBT v2 code in interim-snap shots for the Alpha code.




Overview

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

  1. LAN protocols - IGMP
  2. Intra-Domain Protocols such as:
  3. DVMRPv3

CBT support exists but has not been fully integrated.

Note: Inter-Domain Protocols such as BGP-4+ and possibly BGMP will be supported in the next release of the multicast library in February 1998. Please refer to the Multicast library's code web page on the Merit GateD Web pages on www.gated.org or contact us at gated@gated.merit.edu.

Please note that all of these multicast configuration demonstrate how GateD configurations works within a routing domain. No Inter-Domain Multicast routing examples exist at this time.


6.6.4.1 IGMP and DVMRPv3

interfaces {
   interface all passive;
};
igmp yes; 
dvmrp yes;

Turn IGMP and DVMRP on only two interfaces

       igmp yes { 
              interface le0 enable; 
              interface le1 enable; 
              }; 

       dvmrp yes { 
                  interface le0 enable; 
                  interface le1 enable; 
                   }; 




6.6.4.2 Sample PIM-SMv2 over RIP configuration

igmp yes;
pim yes {
   sparse "sm0";
};
rip yes;
import proto rip {
   all multicast unicast;
};
traceoptions "/var/tmp/gated.log" replace all ;

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


icmp { };

pim yes {
    traceoptions "/var/tmp/gated.log" replace packets route;
    # hello-interval 35;

     sparse "sm0" {
         interface le0 disable;
         interface qe0 bsr-priority 1 crp;
         interface qe1 enable;
         interface qe2 enable;
         interface qe3 enable;
     };

     dense "dm0" {
        interface qe2 enable;
        interface qe3 enable;
     };
};

rip yes {
    traceoptions none ;
    interface le0 noripin noripout ;
    interface qe ripout ripin version 2;
};

static {
    default gateway 198.32.4.1 preference 20 retain; # router
    10.2.0.0 mask 255.255.255.0 gateway 10.1.0.3 preference 50 multicast unicast;
    10.2.1.0 mask 255.255.255.0 gateway 10.1.1.3 preference 50 multicast unicast;
    10.2.2.0 mask 255.255.255.0 gateway 10.1.2.3 preference 50 multicast unicast;
    10.2.3.0 mask 255.255.255.0 gateway 10.1.3.3 preference 50 multicast unicast;
};

import proto rip  {
    0.0.0.0 masklen 0 refines multicast unicast;
};




6.6.4.3 IGMP only



interfaces {
   interface all passive;
};
igmp yes; 

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;
              };



6.6.4.3 PIM Dense Mode over OSPF

 traceoptions "/var/log/gated.log" replace size 2m files 2 all; 
 icmp {};
 igmp yes {
   traceoptions "/var/log/gated.igmp.log" replace size 2m files 2 all;
   interface lo0 disable;
   interface ep0 enable;
   interface ep1 enable;
 };
> ospf yes {
   defaults {
     ribs unicast multicast;
   };
   traceoptions "/var/log/gated.ospf.log" replace size 2m files 2 all;
   area 128.223.163.0 {
     interface lo0 {
       enable;
     };
     interface ep {
       enable;
     };
   };
 };
 pim yes {
   traceoptions "/var/log/gated.pim.log" replace size 2m files 2 all;
   dense "dm0" {
     interface lo0 disable;
     interface ep0 enable;
     interface ep1 enable;
   };
 };



6.6.4.5 IGMP and CBT

CBT version 2 is available as a sample protocol. We do not include configurations at this time in the general manual because of this lack of integration.




Last updated December 2, 1997

gated@gated.merit.edu