Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2024 09:46:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 280871] dhclient run from netif without taking fib into account
Message-ID:  <bug-280871-7501-1QEkeibVpE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280871-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280871-7501@https.bugs.freebsd.org/bugzilla/>

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

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tatsuki_makino@hotmail.com

--- Comment #1 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
For the past few days, I've been experimenting with settings in similar are=
as
:)

Since the default gate obtained from DHCP is not set in the fib, I think the
workaround is as follows.

Write the following chunk to /etc/dhclient-enter-hooks

route()
{
        case "${interface}" in
        vlan4087)
                command route ${1:+"$@" -fib 1}
                ;;
        *)
                command route ${1:+"$@"}
        esac
}

--=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-280871-7501-1QEkeibVpE>