Buka di /etc/network/interface
vi /etc/network/interface
------------------------------------------------------------------------------------------------------------------------------
# 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
# The primary network interface
# Konfigurasi Interface Fisik 1
auto enp129s0f0np0
iface enp129s0f0np0 inet manual
bond-master bond0
post-up ethtool -s enp129s0f0np0 duplex full autoneg off
pre-down ethtool -s enp129s0f0np0 duplex full autoneg off
auto enp131s0f0np0
iface enp131s0f0np0 inet manual
bond-master bond0
post-up ethtool -s enp131s0f0np0 speed duplex full autoneg off
pre-down ethtool -s enp131s0f0np0 speed duplex full autoneg off
# Konfigurasi Interface Bonding 1
auto bond0
iface bond0 inet manual
bond-slaves enp129s0f0np0 enp131s0f0np0
bond-mode 802.3ad
bond-miimon 100
bond-downdelay 200
bond-updelay 200
bond-lacp-rate 1
# Konfigurasi VLAN 222 pada Interface Bonding 1
auto bond0.222
iface bond0.222 inet static
address 10.10.10.111
netmask 255.255.255.0
gateway 10.10.10.111
vlan-raw-device bond0
esc
:wq
atau shif + zz
0 komentar
EmoticonEmoticon