On Wed, Jul 6, 2022 at 4:47 PM Florian Obser <flor...@openbsd.org> wrote:

>
> Are you comparing the same thing? I.e. did dhcpleased get a lease before
> and does /var/db/dhcpleased/$IF exist?
>

Both nodes have /var/db/dhcpleased/$IF. If I reboot both firewalls only the
master have gotten the lease, until I do a switch over.
During a switchover I get this with debug on:

tugs# dhcpleased -d -v -v
changed iface: re2[3]
state_transition[re2] Down -> Down, timo: -1

(when doing the switchover)

state_transition[re2] Down -> Down, timo: -1
state_transition[re2] Down -> Rebooting, timo: 1
DHCPREQUEST on re2
iface_timeout[3]: Rebooting
state_transition[re2] Rebooting -> Rebooting, timo: 2
DHCPREQUEST on re2
parse_dhcp, from: 00:02:00:01:00:01, to: ff:ff:ff:ff:ff:ff
parse_dhcp: 79.160.116.238:67 -> 255.255.255.255:68
....

It looks to me that it's rebooting twice?

What's the correct way of doing this with ifstated? run "ifconfig $IF down"
or "ifconfig $IF delete"?

Reply via email to