Step 1: Move vm scripts to the right place
[integration/test.git] / csit / suites / lacp / Lacp_Feature_OF13 / h2-bond0.sh
1 sudo modprobe bonding
2 sudo ip link add bond0 type bond
3 sudo ip link set bond0 address 02:01:02:03:04:09
4
5 sudo ip link set h2-eth0 down
6 sudo ip link set h2-eth0 address 00:00:00:00:00:22
7 sudo ip link set h2-eth0 master bond0
8 sudo ip link set h2-eth1 down
9 sudo ip link set h2-eth1 address 00:00:00:00:00:23
10 sudo ip link set h2-eth1 master bond0
11
12 sudo ip addr add 10.1.1.2/8 dev bond0
13 sudo ip addr del 10.0.0.2/8 dev h2-eth0
14 sudo ip link set bond0 up
15
16 sudo ifconfig
17
18 sudo cat /proc/net/bonding/bond0