Pustaka Taratsa

Baca teks (EPUB): Network Bonding di Ubuntu

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. Network Bonding di Ubuntu
  2. Referensi
  3. Pranala Menarik

Network Bonding di Ubuntu

Sumber: https://onnocenter.or.id/wiki/index.php/Network_Bonding_di_Ubuntu

Ethernet bonding howto in Ubuntu 10.10 January 9, 2011ricoch3nLeave a commentGo to comments Tested in 64bit environment.

1) echo “alias bond0 bonding” > /etc/modprobe.d/bonding.conf 2) apt-get install ifenslave 3) edit /etc/network/interfaces as follows

# The loopback network interface
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet static
# change the next three lines according to actual network settings
address 192.168.1.200
gateway 192.168.1.1
netmask 255.255.255.0
slaves eth0 eth1
bond-mode balance-rr
bond-miimon 100
bond-primary eth0 eth1
up /sbin/ifenslave bond0 eth0 eth1
down /sbin/ifenslave -d bond0 eth0 eth1

4) either do a complete system reboot or the following:

a) /etc/inti.d/networking restart
b) ifconfig eth0 0 (and ignore the error, this [ and the next ] command will delete what ever ip address that eth0 has been originally set to)
c) ifconfig eth1 0
d) adjust the routes if necessary, mostly the default route needs to be replaced (change to via bond0 instead of eth0 or eth1, for example:
route del default dev eth0

or

route del default dev eth1

)

Regardless which method is chosen in step 4, it’s usually safer to change the network setting through a local console instead of a remote ssh session.

Source: https://help.ubuntu.com/community/UbuntuBonding

Referensi

Pranala Menarik