From b76e0baebb70775b192507ec18f523141800ce95 Mon Sep 17 00:00:00 2001 From: Luiz Souza Date: Fri, 11 Aug 2017 22:55:29 -0500 Subject: Disable the DAD on the stf interface. This prevents the dpinger from start. --- src/etc/inc/interfaces.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/etc/inc') diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 472e087..1a498f7 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -3870,9 +3870,6 @@ function interface_6rd_configure($interface = "wan", $wancfg) { /* XXX: need to extend to support variable prefix size for v4 */ - if (!is_module_loaded("if_stf")) { - mwexec("/sbin/kldload if_stf.ko"); - } $stfiface = "{$interface}_stf"; if (does_interface_exist($stfiface)) { pfSense_interface_destroy($stfiface); @@ -3880,7 +3877,7 @@ function interface_6rd_configure($interface = "wan", $wancfg) { $tmpstfiface = pfSense_interface_create("stf"); pfSense_interface_rename($tmpstfiface, $stfiface); pfSense_interface_flags($stfiface, IFF_LINK2); - mwexec("/sbin/ifconfig {$stfiface} inet6 {$rd6prefix}/{$rd6prefixlen}"); + mwexec("/sbin/ifconfig {$stfiface} inet6 no_dad {$rd6prefix}/{$rd6prefixlen}"); mwexec("/sbin/ifconfig {$stfiface} stfv4br " . escapeshellarg($wancfg['gateway-6rd'])); if ($wancfg['prefix-6rd-v4plen'] >= 0 && $wancfg['prefix-6rd-v4plen'] <= 32) { mwexec("/sbin/ifconfig {$stfiface} stfv4net {$ip4address}/" . escapeshellarg($wancfg['prefix-6rd-v4plen'])); -- cgit v1.1