Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 May 2022 18:12:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262821] dhclient keeps contradicting leases
Message-ID:  <bug-262821-227-hJIXXqdwqL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262821-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262821-227@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=3D262821

igor-fbsdbugs@grinchenko.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor-fbsdbugs@grinchenko.or
                   |                            |g

--- Comment #1 from igor-fbsdbugs@grinchenko.org ---
Another side effect of "old leases" functionality is causing issues in runn=
ing
FreeBSD from custom created images in public clouds.
If DHCP server is not fast enough to provide its data
- dhclient first assigns old IP=20
- adds old default route
then when it finally gets DHCP data from DHCP server
- dhclient assigns the right IP to the interface
- doesn't touch the default route

which obviously results in unreachable VMs.

Workaround is to remove dhclient.leases.<interface> before baking a new ima=
ge.

Dhclient's "Old leases" functionality is playing bad tricks, it would be gr=
eat
to have a way to have it disabled with an rc.conf tunable.

--=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-262821-227-hJIXXqdwqL>