Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thomas@vmhost:~$ cat /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- source /etc/network/interfaces.d/*
- # The loopback network interface
- auto lo
- iface lo inet loopback
- #eno1 is manually configured, and slave to the "bond0" bonded NIC
- auto eno1
- iface eno1 inet manual
- bond-master bond0
- #eno2-4 ditto, thus creating a 4-link bond.
- auto eno2
- iface eno2 inet manual
- bond-master bond0
- auto eno3
- iface eno3 inet manual
- bond-master bond0
- auto eno4
- iface eno4 inet manual
- bond-master bond0
- # bond0 is the bonded NIC and can be used like any other normal NIC.
- # bond0 is configured using static network information.
- auto bond0
- iface bond0 inet manual
- #iface bond0 inet static
- #address 192.168.10.12
- #gateway 192.168.10.1
- #netmask 255.255.255.0
- #dns-nameservers 192.168.10.1
- # bond0 uses standard IEEE 802.3ad LACP bonding protocol
- bond-mode 4
- bond-miimon 100
- bond-lacp-rate 1
- bond-slaves eno1 eno2 eno3 eno4
- auto br0
- iface br0 inet static
- bridge-ifaces bond0
- bridge-ports bond0
- up ifconfig bond0 up
- address 192.168.10.12
- gateway 192.168.10.1
- netmask 255.255.255.0
- dns-nameservers 192.168.10.1
- thomas@vmhost:~$ lxc profile show default
- config: {}
- description: Default LXD profile
- devices:
- eth0:
- name: eth0
- nictype: bridged
- parent: br0
- type: nic
- name: default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement