Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2021 14:27:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260317] Dual dhclient misbehaves
Message-ID:  <bug-260317-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260317

            Bug ID: 260317
           Summary: Dual dhclient misbehaves
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://forums.freebsd.org/threads/please-help-to-solv
                    e-the-random-network-problem.83233/
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ottkostner@gmail.com

When installed the net/dual-dhclient/ randomly looses IPv4 connection.

This ports installs a small script. The port description states that
"This port provides a script which spawns both /sbin/dhclient and
/usr/local/sbin/dhclient -6; this simplifies the configuration needed to
run DHCP on both protocols of a dual-stack network."

By description it should runt the base dhclient for IPv4 and ISC dhclient
(net/isc-dhcp44-client) for IPv6.

In fact the script runs ISC clinet for both IP versions (v4 and v6). The sc=
ript
is this:

#!/bin/sh

# Public domain

/usr/local/sbin/dhclient "$@"
/usr/local/sbin/dhclient -6 -nw -D LL "$@"


Seems that there is a bug in net/isc-dhcp44-client/ so that after some rand=
om
time (probably lease expiration) the IPv4 connection is lost. The IPv6
connection keeps running.

Manually changing the script to run base dhclient for IPv4 fixes the proble=
m.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260317-7788>