EdgeRouter - Set up IGMP proxy and statistics

Overview


Readers will learn how to set up an IGMP proxy and run statistics. 

The following settings are the base minimum for configuring an IGMP proxy:

  • Define an upstream and downstream interface.
  • Assign and alt-net for subnets you wish to proxy per interface.
  • Set threshholds for each interface.

Steps


The following example explains how to configure an IGMP proxy.

  • Assign an interface upstream and downstream.
ubnt@rtr1:~$ configure
[edit]
ubnt@rtr1# edit protocols igmp-proxy
[edit protocols igmp-proxy]
ubnt@rtr1# set interface eth0 role upstream
[edit protocols igmp-proxy]
ubnt@rtr1# set interface eth1 role downstream
[edit protocols igmp-proxy]
  • Select subnets to proxy.
ubnt@rtr1# set interface eth0 alt-subnet 172.16.1.0/24
[edit protocols igmp-proxy]
ubnt@rtr1# set interface eth1 alt-subnet 172.16.2.0/24
  • Configure a threshold for each interface.
ubnt@rtr1# set interface eth0 threshold 1
[edit protocols igmp-proxy]
ubnt@rtr1# set interface eth1 threshold 1
[edit protocols igmp-proxy]
  • Save and display the current configuration.
ubnt@rtr1# commit
ubnt@rtr1# top
[edit]
ubnt@rtr1# show protocols igmp-proxy 
 interface eth0 {
     alt-subnet 172.16.1.0/24
     role upstream
     threshold 1
 }
 interface eth1 {
     alt-subnet 172.16.2.0/24
     role downstream
     threshold 1
 }
[edit]
ubnt@rtr1# save
Saving configuration to '/config/config.boot'...
Done
[edit]
ubnt@rtr1#exit

Statistics


To see statistics from the IGMP proxy, use the following commands:

ubnt@rtr1:~$ show ip multicast mfc
Group           Origin           In     Out           Pkts         Bytes  Wrong
224.1.1.1       172.16.1.6       eth0   eth1        120875      154.93MB      0
ubnt@rtr1:~$ show ip multicast interfaces 
Intf        BytesIn        PktsIn      BytesOut       PktsOut            Local
eth0       173.47MB        135343         0.00b             0       172.16.1.1
eth1          0.00b             0      173.47MB        135343       172.16.2.1