How To Setup Bonded (bond0) and Bridged (br0) Networking On Ubuntu LTS Server

Posted on in Categories , , last updated May 3, 2017

I want to setup KVM bridge with bonding on Ubuntu Linux 16.04 LTS server. I have total four Intel I350 Gigabit network connection (NICs). I would like bonding/enslaving eth0 through eth2 into one bonded interface called bond0 with 802.3ad dynamic link aggregation mode. How do I configure bridging and bonding with Ubuntu Server 16.04 LTS?

How To SSH Run Multiple Command On Remote Machine And Exit Safely

Posted on in Categories , , , , , , , , , last updated March 8, 2016

I have a backup sync program on local server. I have an ssh password less login set up, and I can run commands on an external server in bash script doing:

ssh [email protected] "sync; sync; /sbin/shutdown -h now"

How do I run multiple commands in bash on a remote Unix or Linux server? What is the best Way to SSH in and Run various unix commands in bash?