[Bug 262821] dhclient keeps contradicting leases
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 262821] dhclient keeps contradicting leases"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 May 2022 18:12:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262821 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 running FreeBSD from custom created images in public clouds. If DHCP server is not fast enough to provide its data - dhclient first assigns old IP - 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 image. Dhclient's "Old leases" functionality is playing bad tricks, it would be great to have a way to have it disabled with an rc.conf tunable. -- You are receiving this mail because: You are the assignee for the bug.