summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.d/network_ipv612
-rw-r--r--etc/rc.network612
2 files changed, 16 insertions, 8 deletions
diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6
index a244b03..0b0f80f 100644
--- a/etc/rc.d/network_ipv6
+++ b/etc/rc.d/network_ipv6
@@ -190,10 +190,14 @@ network6_pass1() {
sysctl -w net.inet6.ip6.forwarding=0
sysctl -w net.inet6.ip6.accept_rtadv=1
- ifconfig ${ipv6_network_interfaces} up
- rtsol ${ipv6_network_interfaces}
-
-
+ case ${ipv6_network_interfaces} in
+ lo0|gif*|stf*|faith*)
+ ;;
+ *)
+ ifconfig ${ipv6_network_interfaces} up
+ rtsol ${ipv6_network_interfaces}
+ ;;
+ esac
# wait for DAD's completion (for global addrs)
sleep `sysctl -n net.inet6.ip6.dad_count`
diff --git a/etc/rc.network6 b/etc/rc.network6
index a244b03..0b0f80f 100644
--- a/etc/rc.network6
+++ b/etc/rc.network6
@@ -190,10 +190,14 @@ network6_pass1() {
sysctl -w net.inet6.ip6.forwarding=0
sysctl -w net.inet6.ip6.accept_rtadv=1
- ifconfig ${ipv6_network_interfaces} up
- rtsol ${ipv6_network_interfaces}
-
-
+ case ${ipv6_network_interfaces} in
+ lo0|gif*|stf*|faith*)
+ ;;
+ *)
+ ifconfig ${ipv6_network_interfaces} up
+ rtsol ${ipv6_network_interfaces}
+ ;;
+ esac
# wait for DAD's completion (for global addrs)
sleep `sysctl -n net.inet6.ip6.dad_count`
OpenPOWER on IntegriCloud