ace748
From ba5efdcffa8e481b2442fea800d717b45fed240a Mon Sep 17 00:00:00 2001
ace748
From: Harald Hoyer <harald@redhat.com>
ace748
Date: Fri, 11 Nov 2016 13:45:00 +0100
ace748
Subject: [PATCH] TEST-70-BONDBRIDGETEAMVLAN: fix server ip setup
ace748
ace748
---
ace748
 test/TEST-70-BONDBRIDGETEAMVLAN/server-init.sh | 8 +++-----
ace748
 1 file changed, 3 insertions(+), 5 deletions(-)
ace748
ace748
diff --git a/test/TEST-70-BONDBRIDGETEAMVLAN/server-init.sh b/test/TEST-70-BONDBRIDGETEAMVLAN/server-init.sh
1755ca
index 9585a47c..9f45c420 100755
ace748
--- a/test/TEST-70-BONDBRIDGETEAMVLAN/server-init.sh
ace748
+++ b/test/TEST-70-BONDBRIDGETEAMVLAN/server-init.sh
ace748
@@ -58,7 +58,6 @@ ip addr add 192.168.50.1/24 dev ens3
ace748
 linkup ens3
ace748
 >/dev/watchdog
ace748
 ip link set dev eth1 name ens4
ace748
-linkup ens4
ace748
 ip link add dev ens4.1 link ens4 type vlan id 1
ace748
 ip link add dev ens4.2 link ens4 type vlan id 2
ace748
 ip link add dev ens4.3 link ens4 type vlan id 3
ace748
@@ -67,13 +66,12 @@ ip addr add 192.168.54.1/24 dev ens4.1
ace748
 ip addr add 192.168.55.1/24 dev ens4.2
ace748
 ip addr add 192.168.56.1/24 dev ens4.3
ace748
 ip addr add 192.168.57.1/24 dev ens4.4
ace748
-ip link set dev eth2 name ens5
ace748
-ip link set dev eth3 name ens6
ace748
 linkup ens4
ace748
+ip link set dev eth2 name ens5
ace748
+ip addr add 192.168.51.1/24 dev ens5
ace748
 linkup ens5
ace748
+ip link set dev eth3 name ens6
ace748
 linkup ens6
ace748
-ip addr add 192.168.51.1/24 dev ens5
ace748
-linkup ens4
ace748
 >/dev/watchdog
ace748
 modprobe af_packet
ace748
 > /dev/watchdog