2010年9月9日 星期四

IGMP Proxy

把 Linux 當 NAT 或 Router 用, 而且需要用 Multicast 時, 需裝 igmpproxy

/etc/igmpproxy.conf 設定很簡單, 只要三行就可以運作

quickleave (將 Client 送的 leave 封包轉送給 upstream)
phyint eth0 upstream (指定 upstream 的 interface)
phyint eth1 downstream (指定 downstream 的 interface)

若有額外的 Multicast Source Address, 再用 altnet 參數指定, 寫在 upstream 那行的下面.

igmpproxy 執行後, 會將 net.ipv4.conf.all.mc_forwarding 及 net.ipv4.conf.ethx.mc_forwarding 設為 1

How to use simple speedtest in RaspberryPi CLI

  pi@ChunchaiRPI2:/tmp $  wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --2023-06-26 10:4...