Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 1 | # $QuaggaId: $Format:%an, %ai, %h$ $ |
| 2 | |
| 3 | # |
| 4 | # The Linux Kernel MFC (Multicast Forwarding Cache) |
| 5 | # |
| 6 | |
| 7 | # Check Linux kernel multicast interfaces: |
| 8 | cat /proc/net/dev_mcast |
| 9 | |
| 10 | # Check that interface eth0 is forwarding multicast: |
| 11 | cat /proc/sys/net/ipv4/conf/eth0/mc_forwarding |
| 12 | |
| 13 | # Check Linux kernel multicast VIFs: |
| 14 | cat /proc/net/ip_mr_vif |
| 15 | Interface BytesIn PktsIn BytesOut PktsOut Flags Local Remote |
| 16 | |
| 17 | # Check Linux kernel MFC: |
| 18 | # Oifs format = vifi:TTL |
| 19 | cat /proc/net/ip_mr_cache |
| 20 | Group Origin Iif Pkts Bytes Wrong Oifs |
| 21 | |
Everton Marques | b471196 | 2009-09-11 11:15:42 -0300 | [diff] [blame] | 22 | # iproute2 can display the MFC: |
| 23 | ip mroute show |
| 24 | (2.2.2.2, 239.2.2.2) Iif: eth1 Oifs: eth0 |
| 25 | |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 26 | # -- end-of-file -- |