From 2e6d13f82a95de48eb41e380b8ce7457e85f1cb4 Mon Sep 17 00:00:00 2001 From: shin Date: Sat, 11 Mar 2000 20:10:39 +0000 Subject: Prevent multicast packets from being sent over stf0 interface, to avoid error messages printed on /var/log/messages. Recently added "stf" interface has IFF_MULTICAST bit set, because IPv6 don't work on non IFF_MULTICAST set interfaces in current implementation. But "stf" interface is multi-dest IPv6 over IPv4 tunnel, so can't treat multicast packet with no special configuration. On the other hand, tools like "rtadvd", "pim6dd", "pim6sd" send messages on IFF_MULTICAST set interfaces by default. So there will be many bogus error message on /var/log/messages, that multicast packets sent to "stf0" failed. So, -strip "stf0" from rtadvd sending interfaces in rc.network6 ("rtadvd" is a daemon used only for local subnet, so it will never need to send its packets over "stf0" interfaces.) -Add default configuration files for "pim6dd" and "pim6sd", and disable "stf0" in those files. Approved by: jkh --- etc/rc.d/network_ipv6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc/rc.d/network_ipv6') diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6 index f6a2115..6b499ea 100644 --- a/etc/rc.d/network_ipv6 +++ b/etc/rc.d/network_ipv6 @@ -151,7 +151,9 @@ network6_pass1() { case ${rtadvd_enable} in [Yy][Ee][Ss]) # default - rtadvd ${ipv6_network_interfaces} + rtadvd_interfaces=`echo ${ipv6_network_interfaces} | \ + sed -e 's/ stf0//'` + rtadvd ${rtadvd_interfaces} # # Enable Router Renumbering, unicast case # (use correct src/dst addr) -- cgit v1.1