Configuring Bonding of Two 10Gb NICs Using Netplan

network:
  version: 2
  renderer: networkd
  ethernets:
    ens1f0:
      dhcp4: no
    ens1f1:
      dhcp4: no
  bonds:
    bond0:
      interfaces: [ens1f0, ens1f1]
      addresses: [192.168.1.49/24]
      gateway4: 192.168.1.1
      nameservers:
         addresses: [8.8.8.8,8.8.4.4]
      parameters:
        mode: 802.3ad
        lacp-rate: fast
        primary: ens1f0
        mii-monitor-interval: 100

Use this please