Skip to content

Role fails to reconfigure interface with vlan configured via netplan.

Host configuration before running role:

  • bond0 on eth1 and eth2
  • internal (VLAN) on bond0

Configuration for role:

  • trunk (bond) on eth1 and eth2
  • internal (VLAN) on trunk

Expected result:

  • network configured as specified

Actual result:

  • interface trunk is created
  • interface bond0 is not created and have no underlays
  • interface internal is still configured on bond0

Possible fix:

  • add nmcli --get-values device device | xargs -n 1 sh -c 'nmcli device set $0 manage yes' before disabling interfaces - Did not work
Edited by Piotr Korthals
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information