Example /etc/network/interfaces
Suggest changes
-
PDF of this doc site
- Install and maintain appliance hardware
- Install and upgrade software
- Perform system administration
-
Monitor and maintain StorageGRID
-
Recover and maintain
- Grid node recovery procedures
-
Recover and maintain
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
The /etc/network/interfaces
file includes three sections, which define the physical interfaces, bond interface, and VLAN interfaces. You can combine the three example sections into a single file, which will aggregate four Linux physical interfaces into a single LACP bond and then establish three VLAN interfaces subtending the bond for use as StorageGRID Grid, Admin, and Client Network interfaces.
Physical interfaces
Note that the switches at the other ends of the links must also treat the four ports as a single LACP trunk or port channel, and must pass at least the three referenced VLANs with tags.
# loopback interface auto lo iface lo inet loopback # ens160 interface auto ens160 iface ens160 inet manual bond-master bond0 bond-primary en160 # ens192 interface auto ens192 iface ens192 inet manual bond-master bond0 # ens224 interface auto ens224 iface ens224 inet manual bond-master bond0 # ens256 interface auto ens256 iface ens256 inet manual bond-master bond0
Bond interface
# bond0 interface auto bond0 iface bond0 inet manual bond-mode 4 bond-miimon 100 bond-slaves ens160 ens192 end224 ens256
VLAN interfaces
# 1001 vlan auto bond0.1001 iface bond0.1001 inet manual vlan-raw-device bond0 # 1002 vlan auto bond0.1002 iface bond0.1002 inet manual vlan-raw-device bond0 # 1003 vlan auto bond0.1003 iface bond0.1003 inet manual vlan-raw-device bond0