diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm index 3421532..8dfc9c2 100644 --- a/src/PVE/Network.pm +++ b/src/PVE/Network.pm @@ -291,7 +291,7 @@ sub veth_create { # create veth pair if (! -d "/sys/class/net/$veth") { - my $cmd = "/sbin/ip link add name $veth type veth peer name $vethpeer mtu $bridgemtu"; + my $cmd = "/sbin/ip link add name $veth mtu $bridgemtu type veth peer name $vethpeer mtu $bridgemtu"; $cmd .= " addr $mac" if $mac; system($cmd) == 0 || die "can't create interface $veth\n"; }