When configuring IPv6 I was setting autoconf on my wan interface eth2 and when comitting the changes all interfaces besides eth2 lost their ip assignments.
Manually setting the IPs afterwards with sudo ip addr add prevents this issue.
This is the exact commands that I ran.
# set interfaces ethernet eth2 ipv6 address autoconf # commit
Then the interfaces all dropped their IPs except eth2.
This is my interface config
scj643@vyos# show interfaces ethernet ethernet eth0 { address 172.31.0.1/24 hw-id 00:90:xx:xx:xx:xx vif 69 { address 172.25.0.1/24 description "Management VLAN 69" firewall { out { name MNG-OUT } } } vif 96 { address 172.18.0.1/24 description IoT } } ethernet eth1 { hw-id 00:90:xx:xx:xx:xx } ethernet eth2 { address dhcp description WAN firewall { in { name OUTSIDE-IN } local { name OUTSIDE-LOCAL } } hw-id 8c:ec:xx:xx:xx:xx }