Monday, May 27, 2024

Re: ifconfig autoconf stopped working - how to debug?

What did the packet capture look like during the DHCP request/response?


On May 27, 2024 10:56:19 AM MDT, Chris Narkiewicz <hello@ezaquarii.com> wrote:
On Mon, May 27, 2024 at 03:06:04PM +0100, Zé Loff wrote:
On Mon, May 27, 2024 at 01:51:25PM +0100, Chris Narkiewicz wrote:
dhcpleased now handles this. You can run it with -d and with one or
more "-v"s. You can also use dhcpleasectl to request a new lease.

I run dhcpleased -d -vvv and here is the output:

state_transition[vio0] Down -> Rebooting, timo: 1
DHCPREQUEST on vio0
iface_timeout[1]: Rebooting
state_transition[vio0] Rebooting -> Rebooting, timo: 2
DHCPREQUEST on vio0
iface_timeout[1]: Rebooting
deleting AAA.BBB.CCC.DDD from vio0 (lease from 0.0.0.0)
state_transition[vio0] Rebooting -> Init, timo: 1
DHCPDISCOVER on vio0
deconfigure_interface vio0
iface_timeout[1]: Init
state_transition[vio0] Init -> Init, timo: 2
DHCPDISCOVER on vio0
iface_timeout[1]: Init
state_transition[vio0] Init -> Init, timo: 4

and so on, so on, so on, timo: 8, 16, 32, 64...

The weird thing is that AAA.BBB.CCC.DDD is the IP address
I'm expecting to receive, but it's not listed in ifconfig vio0 output.

Best regards,
Chris Narkiewicz

No comments:

Post a Comment