aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rumba/ssh_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py
index 80e079e..bb0eb2e 100644
--- a/rumba/ssh_support.py
+++ b/rumba/ssh_support.py
@@ -317,7 +317,7 @@ def setup_vlan(testbed, node, vlan_id, int_name):
cmds = [sudo("ip link add link %(ifname)s name "
"%(ifname)s.%(vlan)s type vlan id %(vlan)s"
% args),
- sudo("ifconfig %(ifname)s.%(vlan)s up"
+ sudo("ip link set dev %(ifname)s.%(vlan)s up"
% args)]
if testbed.flags['no_vlan_offload']:
cmds += [sudo("ethtool -K %(ifname)s rxvlan off"