diff --git a/roles/bond-config/templates/ubuntu-ifcfg-bond-interface.j2 b/roles/bond-config/templates/ubuntu-ifcfg-bond-interface.j2 index 2a478d73..34f13e19 100644 --- a/roles/bond-config/templates/ubuntu-ifcfg-bond-interface.j2 +++ b/roles/bond-config/templates/ubuntu-ifcfg-bond-interface.j2 @@ -2,3 +2,6 @@ auto {{bond_ifname}} iface {{bond_ifname}} inet manual bond-slaves {{bond_members}} mtu {{bond_mtu}} + bond-miimon {{bond_miimon}} + bond-mode {{bond_mode}} + bond-lacp-rate {{bond_lacp_rate}} diff --git a/roles/bond-config/templates/ubuntu-ifcfg-sub-interface.j2 b/roles/bond-config/templates/ubuntu-ifcfg-sub-interface.j2 index ac8d7d1b..30a9d01f 100644 --- a/roles/bond-config/templates/ubuntu-ifcfg-sub-interface.j2 +++ b/roles/bond-config/templates/ubuntu-ifcfg-sub-interface.j2 @@ -3,3 +3,6 @@ iface {{bond_ifname}}.{{item['vlanid']}} inet static address {{item['ip']}} netmask {{item['mask']}} mtu {{bond_mtu}} + dns-nameservers {{dns_nameservers}} + dns-search {{dns_search}} + gateway {{gateway}}