summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-20 12:38:44 +0200
committersmos <seth.mos@dds.nl>2012-05-20 12:38:44 +0200
commitd23ef852b368b3a1ee8615eac0c15c63e42b2b8d (patch)
tree144b6eea6264dca686e69d8d9e6fb978491b2c24 /etc/inc
parentb2ff5d17bae26f97edc56a30a5762b060dffd7ac (diff)
downloadpfsense-d23ef852b368b3a1ee8615eac0c15c63e42b2b8d.zip
pfsense-d23ef852b368b3a1ee8615eac0c15c63e42b2b8d.tar.gz
Set the retry value to 60 seconds, this is not attempts, this is seconds before it needs a reply. So if the DHCP server was any sort of slow it would fail to aquire a lease. This was true for my wireless network at home. Plus, on various other lossy links, even cable modems this could be true.
Redmine ticket #2440 retry time; The retry statement determines the time that must pass after the client has determined that there is no DHCP server present before it tries again to contact a DHCP server. By default, this is five minutes.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 1bdca30..c2a155c 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2108,7 +2108,7 @@ function interface_carpdev_configure(&$vip) {
$dhclientconf .= <<<EOD
interface "{$vipif}" {
timeout 60;
-retry 1;
+retry 60;
select-timeout 0;
initial-interval 1;
script "/sbin/dhclient-script";
@@ -3487,7 +3487,7 @@ function interface_dhcp_configure($interface = "wan") {
$dhclientconf .= <<<EOD
interface "{$wanif}" {
timeout 60;
-retry 1;
+retry 60;
select-timeout 0;
initial-interval 1;
{$dhclientconf_hostname}
OpenPOWER on IntegriCloud