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