摘要:
多播路由守护程序;autogen;SMCRoute;pimd;mrouted;mcjoin
Tip:
为了安
1、
- pim6sd 自动将自身配置为在所有支持多播的接口interfaces(IFF_MULTICAST flag)上转发 forward,即设置了 IFF_MULTICAST 标志的接口(不包括excluding the "loopback interface" and interaces that do not have an IPv6 address)。
- 如果多播组地址在SSM范围内(ff20::/12和ff30::/12),则pim6sd将充当SSM路由守护进程,
- pim6sd必须在IPv6路由器上使用。请确保使用sysctl将net.inet6.ip6.forwarding变量设置为1(# sysctl -w net.ipv6.conf.all.forwarding=1)。pim6sd要求运行守护进程的节点具有IPv6全局地址。pim6sd does not work properly when interface is dynamically added or deleted (e.g. ifconfig gif0 create).
git clone https://github.com/troglobit/pim6sd.git
cd pim6sd/
./autogen.sh
./configure && make
sudo make install-strip
# sysctl -w net.ipv6.conf.all.forwarding=1
# pim6sd -f /etc/pim6sd.conf -n -d all
-d Specify debug level, Use -d all to enable all debug levels.
-n Do not become daemon, run in foreground.
debug level 0xffffffffffffffff:......
17:46:42.132 pim6sd version 2.1.0-beta1 starting
17:46:42.133 Getting vifs from /etc/pim6sd.conf
17:46:42.134 Getting vifs from kernel
17:46:42.137 Installing lo (::1 on subnet ::1/128) ,as vif #1 - rate = 0
17:46:42.137 Installing enp4s0f0 (fe80::f3a8:9406:a5a8:f964 on subnet fe80::/64) ,as vif #2 - rate = 0
17:46:42.137 Installing calicf76ff9b329 (fe80::ecee:eeff:feee:eeee on subnet fe80::/64) ,as vif #3 - rate = 0
17:46:42.138 Installing calie1fca5ba8d1 (fe80::ecee:eeff:feee:eeee on subnet fe80::/64) ,as vif #24 - rate = 0
17:46:42.138 There's no global address available