PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:network:cisco:multicast:l2:igmp:configuration:configuration

WIP: Multicast IGMP Configuration

Lab 1: IGMP a991d586-4ed0-46c6-8592-c6c50a4a19da

  • (S,G) = (10.1.1.100,239.0.1.1)
  • (*,G) = (*,239.0.1.1)
a991d586-4ed0-46c6-8592-c6c50a4a19da
network-infrastructure.multicast.igmp.a991d586
  1. Dependent Custom Images(This lab require following custom images!!)

Common Configuration Snippet

R1

R2

R3

SW1

px-ubuntu-nw-0

px-ubuntu-nw-1

px-ubuntu-nw-2

Configuration

configure terminal
!
interface GigabitEthernet0/2
 ! IGMP version configuration
 ip igmp version 3
 ! IGMPv2: query interval to maintain IGMP up-to-date (default: 60 sec.)
 ip igmp query-interval 10
 ! IGMPv2: If cannnot receive Query from Querier within 30 sec., Make a Querier itself. (default: 60 sec.)
 ip igmp querier-timeout 30
 ! IGMPv2: If no response within 3 sec., assume no member the group. (default: 10 sec.)
 ip igmp query-max-response-time 3
!
end

Make a Receiver on router / switch interface

  1. This configuration respond to ICMP echo-request?
    1. This is useful for multicast reachablity test.
  2. Following configuration add Gi0/2 to multicast routing table OIL.
    1. So, Gi0/2 can forward multicast packet.
    2. And Gig0/2 send IGMP Membership Report, works Receiver.
configure terminal
!
interface GigabitEthernet0/2
 ip igmp join-group 239.0.1.2
!
end

Assume Receiver in specific interface

  1. Ex. IGMP packet can't receive host.
  2. Following configuration assume the interface has the multicast group.
  3. Following configuration add Gig0/2 to OIL. So, the interface can forward the multicast group packet.
  4. Unlike ip igmp join-group command, ip igmp static-group configured interface not receive the multicast group packet and no send IGMP Membership Report.
configure terminal
!
interface GigabitEthernet0/2
 ip igmp static-group 239.0.1.3
!
end

IGMP Membership Report Filtering

  1. IGMP Membership Report will receive everything by default.
  2. Following configuration filter specific IGMP Membership Report.
configure terminal
!
access-list 1 permit 239.0.1.1
!
interface GigabitEthernet0/2
 ip igmp access-group 1
!
end

IGMPv3 Membership Report Filtering

  1. IGMPv3 can filter both Receiver source address not only multicast group.
  2. Following configuration reject Membership Report and do not apply multicast routing table unless Receiver address is 10.3.3.101.
configure terminal
!
access-list 101 permit igmp host 10.3.3.101 host 239.0.1.1
!
interface GigabitEthernet0/2
 ip igmp access-group 101
!
end
/proc/sys/net/ipv4/conf/eth1.22/force_igmp_version
/proc/sys/net/ipv4/conf/eth1.22/force_igmp_version

Catalyst L2 Switch Configuration: IGMP Membership Report Filtering

  1. interface-id only applicable physical interface.
  2. SVI, Routerd Port, Etherchannel are not applicable.
  3. ip igmp filter command direction is inbound.
  4. Following configuration will allow 239.0.1.1 Membership Report, but 239.0.1.2 will rejected.
configure terminal
!
ip igmp profile 1
 permit
 range 239.0.1.1 239.0.1.1
!
interface GigabitEthernet0/2
 ip igmp filter 1
!
end

Verification

Verification Commands

! show IGMP enabled interface detail
show ip igmp interface
! show IGMP Membership Report from Receiver
show ip igmp groups
!
! show IGMP Message
debug ip igmp
! show IGMP packet and IGMP host related events
debug ip igmp group-address

References

tech/network/cisco/multicast/l2/igmp/configuration/configuration.txt · Last modified: 2021/10/13 06:33 by wnoguchi