Page 1 of 1

igmp, pim, multicast routing

Posted: Thu Apr 26, 2012 1:15 pm
by simpl3x
Hi,
There are two abstract network. one is the source of IPTV.
is a problem: multicast routing from one network to another.
Drawing1.jpg
At the IPTV server default gateway 192.168.10.1
238.1.1.0/24 - multicast addresses

Router A
[admin@MikroTik] /routing pim> interface print 
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router, 
v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3 
 #      INTERFACE                            PROTOCOLS                           
 0   v2 all                                  pim                                 
                                             igmp                                
 1 D v2 vlan100                              pim                                 
                                             igmp                                
 2 D v2 ether2                               pim                                 
                                             igmp                                
 2 DR   ether2                               pim                                 
 3 DR   register                             pim 
[admin@MikroTik] /routing pim> rp print detail 
Flags: D - dynamic, X - disabled 
 0    address=B.B.B.B type=static group=238.1.1.0/24 priority=192 
      hash-mask-length=30 active-groups=0 
[admin@MikroTik] /routing pim> join print 
Flags: RP - (*,*,RP), WC - (*,G), SG - (S,G), SG_rpt - (S,G,rpt) 
       GROUP           SOURCE          RP             
    WC 224.0.0.0       B.B.B.B   B.B.B.B  
    WC 224.0.0.0       192.168.123.1   192.168.123.1  
    SG 238.1.1.1       0.0.0.0         B.B.B.B  
    SG 239.255.255.250 0.0.0.0  
Router B

[admin@routerB] /routing pim> interface print 
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router, 
v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3 
 #      INTERFACE                            PROTOCOLS                           
 0   v2 all                                  pim                                 
                                             igmp                                
 1 DRv2 v200                                 pim                                 
                                             igmp                                
 2 DRv2 v207                                 pim                                 
                                             igmp                                
 3 DRv2 v209                                 pim                                 
                                             igmp                                
 4 DRv2 v204                                 pim                                 
                                             igmp                                
 5 DRv2 v206                                 pim                                 
                                             igmp                                
 6 DRv2 v205                                
                                            
 7 DRv2 v20                                 
                                            
 8 DRv2 ether3_inet                         
                                            
 9 DRv2 ether2_wlocal                       
                                            
10 DRv2 ether1_local                         pim                                 
                                             igmp                                
11 DRv2 v202                                 pim                                 
                                             igmp                                
12 DRv2 v203                                 pim                                 
                                             igmp                                
13 DRv2 VIDEO_1PKT                           pim                                 
                                             igmp                                
14 DR   register                             pim                                 
[admin@routerB] /routing pim> rp print detail 
Flags: D - dynamic, X - disabled 
 0    address=192.168.10.2 type=static group=238.1.1.0/24 priority=192 hash-mask-length=30 active-groups=0 
[admin@routerB] /routing pim> join print
Flags: RP - (*,*,RP), WC - (*,G), SG - (S,G), SG_rpt - (S,G,rpt) 
       GROUP           SOURCE          RP             
SG_rpt 238.1.1.1       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.2       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.3       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.4       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.5       192.168.10.2    192.168.10.2  
The client does not see IPTV. what's wrong? what else would you show?
With best regards, from Russia =)

Re: igmp, pim, multicast routing

Posted: Thu Apr 26, 2012 4:07 pm
by simpl3x
All remove and recreate by the description: http://wiki.mikrotik.com/wiki/Manual:Mu ... ed_example

Router A

ether1 to User
ether2 to Router B
[admin@MikroTik] /routing pim> interface print 
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router, v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3 
 #      INTERFACE                                                                          PROTOCOLS                                                                         
 0  Rv2 ether1                                                                            pim                                                                               
                                                                                           igmp                                                                              
 1  Rv2 ether2                                                                             pim                                                                               
                                                                                           igmp                                                                              
 2 DR   register                                                                           pim   
[admin@MikroTik] /routing pim> rp print 
Flags: D - dynamic, X - disabled 
 #    ADDRESS         TYPE        PRIORITY
 0    B.B.B.B  static           192
[admin@MikroTik] /routing pim> join print 
Flags: RP - (*,*,RP), WC - (*,G), SG - (S,G), SG_rpt - (S,G,rpt) 
       GROUP           SOURCE          RP             
    WC 224.0.0.0       B.B.B.B   B.B.B.B  
    SG 238.1.1.3       0.0.0.0         B.B.B.B  
    SG 239.255.255.250 0.0.0.0         B.B.B.B  
SG_rpt 239.255.255.250 B.B.B.B   B.B.B.B  
SG_rpt 239.255.255.250 192.168.123.254 B.B.B.B  
[admin@MikroTik] > ip route print where dst-address=224.0.0.0/4
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        GATEWAY            DISTANCE
 0 A S  224.0.0.0/4                        B.B.B.B             1
 1  Do  224.0.0.0/4                        B.B.B.B           110
LOG:
00:57:09 pim,warning JoinDesired(*,G) = true: upstream neighbor for RP B.B.B.B for group 238.1.1.3: not found 
Router B

VIDEO_1PKT to Multicast sender
ether3_inet to Router A
[admin@routerB] > routing pim interface print 
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router, v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3 
 #      INTERFACE                                                                          PROTOCOLS                                                                         
 0   v2 all                                                                                pim                                                                               
                                                                                           igmp                                                                              
 1 D v2 v200                                                                               pim                                                                               
                                                                                           igmp                                                                              
 2 DRv2 v202                                                                               pim                                                                               
                                                                                           igmp                                                                              
 3 DRv2 v207                                                                               pim                                                                               
                                                                                           igmp                                                                              
 4 DRv2 v209                                                                               pim                                                                               
                                                                                           igmp                                                                              
 5 DRv2 v204                                                                               pim                                                                               
                                                                                           igmp                                                                              
 6 DRv2 v205                                                                               pim                                                                               
                                                                                           igmp                                                                              
 7 DRv2 v206                                                                               pim                                                                               
                                                                                           igmp                                                                              
 8 DRv2 v20                                                                                pim                                                                               
                                                                                           igmp                                                                              
 9 DRv2 ether2_wlocal                                                                      pim                                                                               
                                                                                           igmp                                                                              
10 DRv2 ether3_inet                                                                        pim                                                                               
                                                                                           igmp                                                                              
11 DRv2 ether1_local                                                                       pim                                                                               
                                                                                           igmp                                                                              
12 DRv2 v203                                                                               pim                                                                               
                                                                                           igmp                                                                              
13 DRv2 VIDEO_1PKT                                                                         pim                                                                               
                                                                                           igmp                                                                              
13 DR   VIDEO_1PKT                                                                         pim                                                                               
14 DR   register                                                                           pim   
[admin@routerB] > routing pim rp print                            
Flags: D - dynamic, X - disabled 
 #    ADDRESS         TYPE        PRIORITY
 0    B.B.B.B   static           192
[admin@routerB] > routing pim join print where source=192.168.10.2
Flags: RP - (*,*,RP), WC - (*,G), SG - (S,G), SG_rpt - (S,G,rpt) 
       GROUP           SOURCE          RP             
    WC 224.0.0.0       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.1       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.2       192.168.10.2    192.168.10.2   
SG_rpt 238.1.1.3       192.168.10.2    192.168.10.2  
any suggestion?

Re: igmp, pim, multicast routing

Posted: Thu Apr 26, 2012 6:23 pm
by mehanik
help to realize iptv viewing from both providers at the same time

Re: igmp, pim, multicast routing

Posted: Wed May 02, 2012 10:33 am
by simpl3x
please help!

Re: igmp, pim, multicast routing

Posted: Sun Feb 02, 2014 10:03 am
by Cronex
please help!
Join to question

Re: igmp, pim, multicast routing

Posted: Wed Mar 23, 2016 5:34 am
by Cronex
Up for help to realize iptv viewing from both providers at the same time

Re: igmp, pim, multicast routing

Posted: Mon Apr 04, 2016 9:24 pm
by ZeroByte
I'm definitely not an expert with multicast, but offhand, I would say that you need to configure the RP address for ISP1's group to be ISP1's RP, and a different RP for ISP2's group.

If they just want IGMP from your device then you may just need to use IGMP proxy (no PIM), and set the group and upstream interfaces as static entries in the MFC tab.