Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computer:proxmox_6_manual_install [2021/05/08 21:04]
tdobes
computer:proxmox_6_manual_install [2021/05/08 22:29] (current)
tdobes
Line 122: Line 122:
 # PCIe interfaces on ens1f0-ens1f3 # PCIe interfaces on ens1f0-ens1f3
 # see https://wiki.debian.org/Bonding # see https://wiki.debian.org/Bonding
- 
-echo 8021q >> /etc/modules 
  
 echo >> /etc/network/interfaces echo >> /etc/network/interfaces
 echo '# Onboard 2' >> /etc/network/interfaces echo '# Onboard 2' >> /etc/network/interfaces
-echo 'allow-hotplug eno2' >> /etc/network/interfaces+echo 'allow-bond0 eno2' >> /etc/network/interfaces
 echo 'iface eno2 inet manual' >> /etc/network/interfaces echo 'iface eno2 inet manual' >> /etc/network/interfaces
 echo >> /etc/network/interfaces echo >> /etc/network/interfaces
 echo '# Onboard 3' >> /etc/network/interfaces echo '# Onboard 3' >> /etc/network/interfaces
-echo 'allow-hotplug eno3' >> /etc/network/interfaces+echo 'allow-bond0 eno3' >> /etc/network/interfaces
 echo 'iface eno3 inet manual' >> /etc/network/interfaces echo 'iface eno3 inet manual' >> /etc/network/interfaces
 echo >> /etc/network/interfaces echo >> /etc/network/interfaces
 echo '# Onboard 4' >> /etc/network/interfaces echo '# Onboard 4' >> /etc/network/interfaces
-echo 'allow-hotplug eno4' >> /etc/network/interfaces+echo 'allow-bond0 eno4' >> /etc/network/interfaces
 echo 'iface eno4 inet manual' >> /etc/network/interfaces echo 'iface eno4 inet manual' >> /etc/network/interfaces
 echo >> /etc/network/interfaces echo >> /etc/network/interfaces
 echo '# Aggregate of onboard interfaces' >> /etc/network/interfaces echo '# Aggregate of onboard interfaces' >> /etc/network/interfaces
-echo 'auto bond0' >> /etc/network/interfaces+echo 'auto bond0' >> /etc/network/interfaces # yes, both this and vmbr0 need to be auto
 echo 'iface bond0 inet manual' >> /etc/network/interfaces echo 'iface bond0 inet manual' >> /etc/network/interfaces
-echo $'\tslaves eno2 eno3 eno4' >> /etc/network/interfaces+echo $'\tbond-slaves eno2 eno3 eno4' >> /etc/network/interfaces
 echo $'\tbond-mode 4' >> /etc/network/interfaces echo $'\tbond-mode 4' >> /etc/network/interfaces
 echo $'\tbond-lacp-rate 1' >> /etc/network/interfaces echo $'\tbond-lacp-rate 1' >> /etc/network/interfaces
 echo $'\tbond-xmit-hash-policy layer2+3' >> /etc/network/interfaces echo $'\tbond-xmit-hash-policy layer2+3' >> /etc/network/interfaces
-echo $'\tpre-up ip link set dev $IFACE mtu 9000' >> /etc/network/interfaces+echo $'\tup ip link set dev $IFACE mtu 9000' >> /etc/network/interfaces # this can't be pre-up or the interface won't exist yet
 echo >> /etc/network/interfaces echo >> /etc/network/interfaces
-echo 'auto vmbr0' >> /etc/network/interfaces+echo 'auto vmbr0' >> /etc/network/interfaces # yes, both this and bond0 need to be auto
 echo 'iface vmbr0 inet static' >> /etc/network/interfaces echo 'iface vmbr0 inet static' >> /etc/network/interfaces
 echo $'\taddress 192.168.68.11' >> /etc/network/interfaces echo $'\taddress 192.168.68.11' >> /etc/network/interfaces
computer/proxmox_6_manual_install.txt · Last modified: 2021/05/08 22:29 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS