summaryrefslogtreecommitdiffstats
path: root/pimd/LINUX_KERNEL_MROUTE_MFC
blob: e87e567f9dd6d732496cbb3bdcf73d2adc322989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $QuaggaId: $Format:%an, %ai, %h$ $

#
# The Linux Kernel MFC (Multicast Forwarding Cache)
#

# Check Linux kernel multicast interfaces:
cat /proc/net/dev_mcast

# Check that interface eth0 is forwarding multicast:
cat /proc/sys/net/ipv4/conf/eth0/mc_forwarding

# Check Linux kernel multicast VIFs:
cat /proc/net/ip_mr_vif
Interface      BytesIn  PktsIn  BytesOut PktsOut Flags Local    Remote

# Check Linux kernel MFC:
# Oifs format = vifi:TTL
cat /proc/net/ip_mr_cache
Group    Origin   Iif     Pkts    Bytes    Wrong Oifs

# iproute2 can display the MFC:
ip mroute show
(2.2.2.2, 239.2.2.2)             Iif: eth1       Oifs: eth0

# -- end-of-file --