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