2 # The Linux Kernel MFC (Multicast Forwarding Cache)
5 # Check Linux kernel multicast interfaces:
6 cat /proc/net/dev_mcast
8 # Check that interface eth0 is forwarding multicast:
9 cat /proc/sys/net/ipv4/conf/eth0/mc_forwarding
11 # Check Linux kernel multicast VIFs:
12 cat /proc/net/ip_mr_vif
13 Interface BytesIn PktsIn BytesOut PktsOut Flags Local Remote
15 # Check Linux kernel MFC:
16 # Oifs format = vifi:TTL
17 cat /proc/net/ip_mr_cache
18 Group Origin Iif Pkts Bytes Wrong Oifs
20 # iproute2 can display the MFC:
22 (2.2.2.2, 239.2.2.2) Iif: eth1 Oifs: eth0