]>
Commit | Line | Data |
---|---|---|
12e41d03 DL |
1 | # |
2 | # The Linux Kernel MFC (Multicast Forwarding Cache) | |
3 | # | |
4 | ||
5 | # Check Linux kernel multicast interfaces: | |
6 | cat /proc/net/dev_mcast | |
7 | ||
8 | # Check that interface eth0 is forwarding multicast: | |
9 | cat /proc/sys/net/ipv4/conf/eth0/mc_forwarding | |
10 | ||
11 | # Check Linux kernel multicast VIFs: | |
12 | cat /proc/net/ip_mr_vif | |
13 | Interface BytesIn PktsIn BytesOut PktsOut Flags Local Remote | |
14 | ||
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 | |
19 | ||
20 | # iproute2 can display the MFC: | |
21 | ip mroute show | |
22 | (2.2.2.2, 239.2.2.2) Iif: eth1 Oifs: eth0 | |
23 | ||
24 | # -- end-of-file -- |