Upgrading works fine, router comes up good on the first boot. Any reboots after that and the networking config is messed up.
Snippet from config.boot pre-upgrade:
interfaces {
bridge br0 {
address 193.111.111.1/28
address 2001:111:111:3::1/64
aging 300
hello-time 2
ipv6 {
dup-addr-detect-transmits 1
router-advert {
cur-hop-limit 64
link-mtu 0
managed-flag false
max-interval 600
other-config-flag false
prefix 2001:111:111:3::/64 {
autonomous-flag true
on-link-flag true
valid-lifetime 2592000
}
reachable-time 0
retrans-timer 0
send-advert true
}
}
max-age 20
policy {
route dmz
}
priority 32768
stp false
}
ethernet eth1 {
address dhcp
duplex auto
hw-id 00:e0:67:16:d8:ac
smp-affinity auto
speed auto
}
ethernet eth2 {
bridge-group {
bridge br0
}
duplex auto
hw-id 00:e0:67:16:d8:ad
smp-affinity auto
speed auto
}
ethernet eth3 {
bridge-group {
bridge br0
}
duplex auto
hw-id 00:e0:67:16:d8:ae
smp-affinity auto
speed auto
}
ethernet eth4 {
bridge-group {
bridge br0
}
duplex auto
hw-id 00:e0:67:16:d8:af
smp-affinity auto
speed auto
}
loopback lo {
}
wireguard wg1 {
address 193.111.111.242/30
address 2001:111:111:a4::2/64
description c1
peer c1 {
allowed-ips 0.0.0.0/0
allowed-ips ::/0
endpoint 193.111.111.227:12346
pubkey 111
}
}
}First boot into 1.3. Networking is OK:
danhusan@portabel:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
br0 193.111.111.1/28 u/u
2001:111:111:3::1/64
eth1 10.88.89.45/24 u/u
eth2 - u/D
eth3 - u/u
eth4 - u/D
lo 127.0.0.1/8 u/u
::1/128
wg1 193.111.111.242/30 u/u c1
2001:111:111:a4::2/64Snippet from config.boot, clearly some syntax has changed:
interfaces {
bridge br0 {
member {
interface eth4 { }
interface eth3 { }
interface eth2 { }
}
address "193.111.111.1/28"
address "2001:111:111:3::1/64"
aging "300"
hello-time "2"
ipv6 {
dup-addr-detect-transmits "1"
}
max-age "20"
policy {
route "dmz"
}
priority "32768"
}
ethernet eth1 {
address "dhcp"
duplex "auto"
hw-id "00:e0:67:16:d8:ac"
smp-affinity "auto"
speed "auto"
}
ethernet eth2 {
duplex "auto"
hw-id "00:e0:67:16:d8:ad"
smp-affinity "auto"
speed "auto"
}
ethernet eth3 {
duplex "auto"
hw-id "00:e0:67:16:d8:ae"
smp-affinity "auto"
speed "auto"
}
ethernet eth4 {
duplex "auto"
hw-id "00:e0:67:16:d8:af"
smp-affinity "auto"
speed "auto"
}
loopback lo { }
wireguard wg1 {
address "193.111.111.242/30"
address "2001:111:111:a4::2/64"
description "c1"
peer c1 {
port "12346"
address "193.111.111.227"
allowed-ips "0.0.0.0/0"
allowed-ips "::/0"
pubkey "111"
}
}
}Rebooting again, not making any changes, committing or saving ends up with broken networking:
[ 104.736589] vyos-router[764]: Starting VyOS router: migrate rl-system firewall configure failed!
[ 104.991641] vyos-config[816]: Configuration error
danhusan@portabel:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
--------- ---------- --- -----------
eth0 - u/u
eth1 - u/D
eth2 - u/u
eth3 - u/D
lo 127.0.0.1/8 u/u
::1/128
wg1 193.111.111.242/30 u/u c1
2001:111:111:a4::2/64And config.boot has been messed up. Notice the double hw-id's and added eth0.
interfaces {
bridge br0 {
member {
interface eth4
interface eth3
interface eth2
}
address "193.111.111.1/28"
address "2001:111:111:3::1/64"
aging "300"
hello-time "2"
ipv6 {
dup-addr-detect-transmits "1"
}
max-age "20"
policy {
route "dmz"
}
priority "32768"
}
ethernet eth1 {
address "dhcp"
duplex "auto"
hw-id "00:e0:67:16:d8:ac"
smp-affinity "auto"
speed "auto"
hw-id 00:e0:67:16:d8:ad
}
ethernet eth2 {
duplex "auto"
hw-id "00:e0:67:16:d8:ad"
smp-affinity "auto"
speed "auto"
hw-id 00:e0:67:16:d8:ae
}
ethernet eth3 {
duplex "auto"
hw-id "00:e0:67:16:d8:ae"
smp-affinity "auto"
speed "auto"
hw-id 00:e0:67:16:d8:af
}
ethernet eth4 {
duplex "auto"
hw-id "00:e0:67:16:d8:af"
smp-affinity "auto"
speed "auto"
}
loopback lo
wireguard wg1 {
address "193.111.111.242/30"
address "2001:111:111:a4::2/64"
description "c1"
peer c1 {
port "12346"
address "193.111.111.227"
allowed-ips "0.0.0.0/0"
allowed-ips "::/0"
pubkey "111"
}
}
ethernet eth0 {
hw-id 00:e0:67:16:d8:ac
}
}